|
libmpv
20200718-git-96cdf53
development library for the MPV media player
|
Looking for a C++ dev? I'm looking for work. Hire me!
|
|
Go to the documentation of this file.
16 #ifndef MPV_CLIENT_API_RENDER_GL_H_
17 #define MPV_CLIENT_API_RENDER_GL_H_
118 void *(*get_proc_address)(
void *ctx,
const char *name);
210 #define mpv_opengl_drm_osd_size mpv_opengl_drm_draw_surface_size
For MPV_RENDER_PARAM_DRM_DRAW_SURFACE_SIZE.
For MPV_RENDER_PARAM_OPENGL_FBO.
struct mpv_opengl_init_params mpv_opengl_init_params
For initializing the mpv OpenGL state via MPV_RENDER_PARAM_OPENGL_INIT_PARAMS.
struct mpv_opengl_fbo mpv_opengl_fbo
For MPV_RENDER_PARAM_OPENGL_FBO.
int fbo
Framebuffer object name.
struct mpv_opengl_drm_params_v2 mpv_opengl_drm_params_v2
For MPV_RENDER_PARAM_DRM_DISPLAY_V2.
struct mpv_opengl_drm_params mpv_opengl_drm_params
Deprecated.
struct _drmModeAtomicReq ** atomic_request_ptr
const char * extra_exts
This should not be used.
int connector_id
Currently used connector id.
int crtc_id
Currently used crtc id.
struct _drmModeAtomicReq ** atomic_request_ptr
Pointer to a drmModeAtomicReq pointer that is being used for the renderloop.
For MPV_RENDER_PARAM_DRM_DISPLAY_V2.
void * get_proc_address_ctx
Value passed as ctx parameter to get_proc_address().
int internal_format
Underlying texture internal format (e.g.
int width
size of the draw plane surface in pixels.
int render_fd
DRM render node.
struct mpv_opengl_drm_draw_surface_size mpv_opengl_drm_draw_surface_size
For MPV_RENDER_PARAM_DRM_DRAW_SURFACE_SIZE.
For initializing the mpv OpenGL state via MPV_RENDER_PARAM_OPENGL_INIT_PARAMS.