#ifndef MPV_CLIENT_API_RENDER_GL_H_
#define MPV_CLIENT_API_RENDER_GL_H_
#include "render.h"
#ifdef __cplusplus
extern "C" {
#endif
typedef struct mpv_opengl_init_params {
void *(*get_proc_address)(void *ctx, const char *name);
void *get_proc_address_ctx;
} mpv_opengl_init_params;
typedef struct mpv_opengl_fbo {
int fbo;
int w, h;
int internal_format;
} mpv_opengl_fbo;
typedef struct mpv_opengl_drm_params {
int fd;
int crtc_id;
int connector_id;
struct _drmModeAtomicReq **atomic_request_ptr;
int render_fd;
} mpv_opengl_drm_params;
typedef struct mpv_opengl_drm_draw_surface_size {
int width, height;
} mpv_opengl_drm_draw_surface_size;
typedef struct mpv_opengl_drm_params_v2 {
int fd;
int crtc_id;
int connector_id;
struct _drmModeAtomicReq **atomic_request_ptr;
int render_fd;
} mpv_opengl_drm_params_v2;
#define mpv_opengl_drm_osd_size mpv_opengl_drm_draw_surface_size
#ifdef __cplusplus
}
#endif
#endif