1
0
mirror of https://github.com/mpv-player/mpv synced 2025-01-20 14:20:55 +00:00
mpv/video/out
wm4 df3e6b549c vo_opengl, x11: implement icc-profile-auto
This queries the _ICC_PROFILE property on the root window. It also tries
to reload the ICC when it changes, or if the mpv window changes the
monitor. (If multiple monitors are covered, mpv will randomly select one
of them.)

The official spec is a dead link on freedesktop.org, so don't blame me
for any bugs.

Note that this assumes that Xinerama screen numbers match the way mpv
enumerates the xrandr monitors. Although there is some chance that this
matches, it most likely doesn't, and we actually have to do complicated
things to map the screen numbers. If it turns out that this is required,
I will fix it as soon as someone with a suitable setup for testing the
fix reports it.
2015-01-26 02:18:47 +01:00
..
cocoa cocoa: fix build on 10.9 2015-01-02 20:54:09 +01:00
wayland wayland/buffer: use buffer macros consistently 2014-09-16 15:48:07 +02:00
aspect.c vo: add some general support code for VOs that allow rotation 2014-04-21 02:57:16 +02:00
aspect.h vo: add some general support code for VOs that allow rotation 2014-04-21 02:57:16 +02:00
bitmap_packer.c bitmap_packer: use printf() for fatal message 2013-12-21 20:50:11 +01:00
bitmap_packer.h
cocoa_common.h cocoa: move the gl function loader to gl_cocoa.c 2014-12-28 19:10:44 +01:00
cocoa_common.m cocoa: fix fullscreen handling 2015-01-17 02:45:17 +01:00
d3d_shader_yuv.h
d3d_shader_yuv.hlsl vo_direct3d: remove 2ch hack for 10 bit playback 2013-01-13 20:04:14 +01:00
dither.c malloc+memset(0) to calloc 2014-09-05 01:59:11 +02:00
dither.h gl_video: improve dithering 2013-05-26 16:44:20 +02:00
filter_kernels.c vo_opengl: simplify radius initialization 2015-01-26 01:56:19 +01:00
filter_kernels.h filter_kernels: improve a comment 2015-01-22 20:08:47 +01:00
gl_cocoa.c cocoa: fix fallback for OpenGL 2.1 hardware [2] 2015-01-24 16:54:24 +01:00
gl_common.c vo_opengl: clean up ewa_lanczos code 2015-01-22 19:29:23 +01:00
gl_common.h vo_opengl: clean up ewa_lanczos code 2015-01-22 19:29:23 +01:00
gl_header_fixes.h cocoa: remove support for systems without gl3.h header 2015-01-22 08:27:03 +01:00
gl_hwdec_vaglx.c video: have a generic context struct for hwdec backends 2015-01-22 15:32:23 +01:00
gl_hwdec_vda.c video: handle hwdec screenshots differently 2015-01-22 18:18:23 +01:00
gl_hwdec_vdpau.c video: have a generic context struct for hwdec backends 2015-01-22 15:32:23 +01:00
gl_hwdec.c video: have a generic context struct for hwdec backends 2015-01-22 15:32:23 +01:00
gl_hwdec.h vo_opengl: update a comment 2015-01-26 02:06:18 +01:00
gl_lcms.c vo_opengl: minor changes to ICC update code 2015-01-26 02:11:14 +01:00
gl_lcms.h vo_opengl: gl_lcms: implement change detection for memory profiles 2015-01-08 01:03:09 +01:00
gl_osd.c vo_opengl: cleanups after vo_opengl_old removal 2015-01-21 20:32:42 +01:00
gl_osd.h vo_opengl: cleanups after vo_opengl_old removal 2015-01-21 20:32:42 +01:00
gl_video_shaders.glsl vo_opengl: add smoothmotion frame blending 2015-01-23 09:14:41 +01:00
gl_video.c vo_opengl: make "mitchell" the hq default filter for downscaling 2015-01-26 02:03:44 +01:00
gl_video.h vo: simplify VOs by adding generic screenshot support 2015-01-24 23:16:27 +01:00
gl_w32.c vo_opengl: remove remnants of dropped stereo buffer support 2015-01-24 23:29:54 +01:00
gl_wayland.c vo_opengl: remove pointless glFinish calls 2014-12-19 23:50:12 +01:00
gl_x11.c vo_opengl: remove remnants of dropped stereo buffer support 2015-01-24 23:29:54 +01:00
gl_x11egl.c vo_opengl: add GLES 2 support 2014-12-19 01:21:19 +01:00
vo_caca.c video: remove vfcap.h 2015-01-21 22:08:24 +01:00
vo_direct3d.c vo: simplify VOs by adding generic screenshot support 2015-01-24 23:16:27 +01:00
vo_image.c video: remove vfcap.h 2015-01-21 22:08:24 +01:00
vo_lavc.c video: remove vfcap.h 2015-01-21 22:08:24 +01:00
vo_null.c video: remove vfcap.h 2015-01-21 22:08:24 +01:00
vo_opengl_cb.c vo: simplify VOs by adding generic screenshot support 2015-01-24 23:16:27 +01:00
vo_opengl.c vo_opengl: minor changes to ICC update code 2015-01-26 02:11:14 +01:00
vo_sdl.c vo: simplify VOs by adding generic screenshot support 2015-01-24 23:16:27 +01:00
vo_vaapi.c vo: simplify VOs by adding generic screenshot support 2015-01-24 23:16:27 +01:00
vo_vdpau.c vo: simplify VOs by adding generic screenshot support 2015-01-24 23:16:27 +01:00
vo_wayland.c vo: simplify VOs by adding generic screenshot support 2015-01-24 23:16:27 +01:00
vo_x11.c vo: simplify VOs by adding generic screenshot support 2015-01-24 23:16:27 +01:00
vo_xv.c vo: simplify VOs by adding generic screenshot support 2015-01-24 23:16:27 +01:00
vo.c vo: fix redraw logic 2015-01-25 00:52:44 +01:00
vo.h vo_opengl: remove remnants of dropped stereo buffer support 2015-01-24 23:29:54 +01:00
w32_common.c command: unify handling of fullscreen and other VO flags 2015-01-16 23:07:13 +01:00
w32_common.h win32: create OpenGL context on the GUI thread 2014-08-05 20:02:23 +02:00
wayland_common.c command: unify handling of fullscreen and other VO flags 2015-01-16 23:07:13 +01:00
wayland_common.h wayland_common: fix changing videos when fullscreen 2014-09-10 19:21:52 +02:00
win_state.c player: add --autofit-smaller option 2015-01-16 22:30:41 +01:00
win_state.h video/out: separate out code to compute window size 2014-05-06 20:22:32 +02:00
x11_common.c vo_opengl, x11: implement icc-profile-auto 2015-01-26 02:18:47 +01:00
x11_common.h vo_opengl, x11: implement icc-profile-auto 2015-01-26 02:18:47 +01:00
x11_icon.bin x11: add window icon 2013-09-01 23:27:33 +02:00