client API: minor bump + change entry for DRM related opengl-cb changes

Commit cfcee4cfe7 forgot those.
This commit is contained in:
wm4 2017-10-23 21:11:31 +02:00
parent 1992bb5151
commit 2c00687641
3 changed files with 7 additions and 1 deletions

View File

@ -32,6 +32,9 @@ API changes
::
1.26 - remove glMPGetNativeDisplay("drm") support
- add mpv_opengl_cb_window_pos and mpv_opengl_cb_drm_params and
support via glMPGetNativeDisplay() for using it
--- mpv 0.27.0 ---
1.25 - remove setting "no-" options via mpv_set_option*(). (See corresponding
deprecation in 0.23.0.)

View File

@ -205,7 +205,7 @@ extern "C" {
* relational operators (<, >, <=, >=).
*/
#define MPV_MAKE_VERSION(major, minor) (((major) << 16) | (minor) | 0UL)
#define MPV_CLIENT_API_VERSION MPV_MAKE_VERSION(1, 25)
#define MPV_CLIENT_API_VERSION MPV_MAKE_VERSION(1, 26)
/**
* The API user is allowed to "#define MPV_ENABLE_DEPRECATED 0" before

View File

@ -160,6 +160,9 @@ extern "C" {
* mpv_opengl_cb_window_pos struct pointer defined below.
* Note : The intended use is for hardware overlays that might require
* upscaling features (typically upscaling GL windows with drm to screen size).
*
* This is never used for GL rendering - only to map hardware overlays to
* GL rendering (for backends which support it).
*/
struct mpv_opengl_cb_window_pos {
int x; // left coordinates of window (usually 0)