summaryrefslogtreecommitdiffstats
path: root/video/out/gl_video.h
diff options
context:
space:
mode:
Diffstat (limited to 'video/out/gl_video.h')
-rw-r--r--video/out/gl_video.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/video/out/gl_video.h b/video/out/gl_video.h
index 985db9b9cc..ca0cb5468a 100644
--- a/video/out/gl_video.h
+++ b/video/out/gl_video.h
@@ -35,12 +35,17 @@ struct gl_video_opts {
int srgb;
int scale_sep;
int fancy_downscaling;
+ int scaler_resizes_only;
int npot;
int pbo;
int dither_depth;
+ int dither_algo;
+ int dither_size;
+ int temporal_dither;
int fbo_format;
int stereo_mode;
int enable_alpha;
+ int chroma_location;
};
extern const struct m_sub_options gl_video_conf;
@@ -50,7 +55,7 @@ struct gl_video;
struct gl_video *gl_video_init(GL *gl);
void gl_video_uninit(struct gl_video *p);
void gl_video_set_options(struct gl_video *p, struct gl_video_opts *opts);
-void gl_video_config(struct gl_video *p, int format, int w, int h, int dw, int dh);
+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_set_lut3d(struct gl_video *p, struct lut3d *lut3d);
void gl_video_draw_osd(struct gl_video *p, struct osd_state *osd);
@@ -66,6 +71,7 @@ bool gl_video_set_equalizer(struct gl_video *p, const char *name, int val);
bool gl_video_get_equalizer(struct gl_video *p, const char *name, int *val);
void gl_video_set_debug(struct gl_video *p, bool enable);
+void gl_video_resize_redraw(struct gl_video *p, int w, int h);
bool gl_video_check_format(int mp_format);