summaryrefslogtreecommitdiffstats
path: root/video/out/gl_lcms.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-01-08 01:00:42 +0100
committerwm4 <wm4@nowhere>2015-01-08 01:03:09 +0100
commitd6aac7f9308b868d7a6d073814d6eec3cda0ed6c (patch)
treeb2b6bfeae3cf977b4f1ee755b83ea4dda2e93646 /video/out/gl_lcms.h
parentae8a91d6b64f7ebdcce937a332830be19b5fc7e2 (diff)
downloadmpv-d6aac7f9308b868d7a6d073814d6eec3cda0ed6c.tar.bz2
mpv-d6aac7f9308b868d7a6d073814d6eec3cda0ed6c.tar.xz
vo_opengl: gl_lcms: implement change detection for memory profiles
This affects OSX, where memory profiles are updated e.g. on fullscreen switches. The profile most likely doesn't change, but the LUT will be generated and reloaded anyway. Somewhat of a regression from commit f811348. Fixes #1439.
Diffstat (limited to 'video/out/gl_lcms.h')
-rw-r--r--video/out/gl_lcms.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/video/out/gl_lcms.h b/video/out/gl_lcms.h
index 2b34d62cca..883b485f66 100644
--- a/video/out/gl_lcms.h
+++ b/video/out/gl_lcms.h
@@ -25,5 +25,6 @@ struct gl_lcms *gl_lcms_init(void *talloc_ctx, struct mp_log *log,
void gl_lcms_set_options(struct gl_lcms *p, struct mp_icc_opts *opts);
void gl_lcms_set_memory_profile(struct gl_lcms *p, bstr *profile);
bool gl_lcms_get_lut3d(struct gl_lcms *p, struct lut3d **);
+bool gl_lcms_has_changed(struct gl_lcms *p);
#endif