vout: display: window: add ICC profile glue
The window backend triggers a callback of the vout, and the vout forwards this to the display using another callback. There are several unfortunate layers of glue and indirections in the callchain. In particular, we need to persist these ICC profile objects in some layer, because of init order between windowing system and the window / vout display module itself. I've chosen to add them to `vout_display_cfg_t` because it fits well with the other "dynamic window state" properties in there. This approach also allows capable vouts to read directly from the allocated ICC profile memory, minimizing the number of memcpys.
Showing
- include/vlc_vout_display.h 10 additions, 0 deletionsinclude/vlc_vout_display.h
- include/vlc_window.h 29 additions, 0 deletionsinclude/vlc_window.h
- src/video_output/display.c 9 additions, 0 deletionssrc/video_output/display.c
- src/video_output/video_output.c 20 additions, 0 deletionssrc/video_output/video_output.c
- src/video_output/video_window.c 15 additions, 0 deletionssrc/video_output/video_window.c
- src/video_output/vout_internal.h 1 addition, 0 deletionssrc/video_output/vout_internal.h
- src/video_output/vout_wrapper.h 1 addition, 0 deletionssrc/video_output/vout_wrapper.h
Loading