diff options
Diffstat (limited to 'video/out/gpu/video.h')
-rw-r--r-- | video/out/gpu/video.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/video/out/gpu/video.h b/video/out/gpu/video.h index dad6d447f6..cd17308810 100644 --- a/video/out/gpu/video.h +++ b/video/out/gpu/video.h @@ -147,6 +147,12 @@ extern const struct m_sub_options gl_video_conf; struct gl_video; struct vo_frame; +enum { + RENDER_FRAME_SUBS = 1 << 0, + RENDER_FRAME_OSD = 2 << 0, + RENDER_FRAME_DEF = RENDER_FRAME_SUBS | RENDER_FRAME_OSD, +}; + struct gl_video *gl_video_init(struct ra *ra, struct mp_log *log, struct mpv_global *g); void gl_video_uninit(struct gl_video *p); @@ -155,7 +161,7 @@ bool gl_video_check_format(struct gl_video *p, int mp_format); void gl_video_config(struct gl_video *p, struct mp_image_params *params); void gl_video_set_output_depth(struct gl_video *p, int r, int g, int b); void gl_video_render_frame(struct gl_video *p, struct vo_frame *frame, - struct ra_fbo fbo); + struct ra_fbo fbo, int flags); void gl_video_resize(struct gl_video *p, struct mp_rect *src, struct mp_rect *dst, struct mp_osd_res *osd); |