Framework changes needed for HDR
Initial changes required for adding HDR related patches. Part of !124
Rewritten Dec 4, 2020.
Depends on: !520 (merged) and !529 (merged)
This series prepares the GL-renderer for future color management and HDR work:
- switch to übershader approach with the fragment shaders, improving readability
- on-demand, requirements based fragment shader compiling and caching, because with CM&HDR work the number of possible shader variants is expected to explode
- a temporary API for enabling experimental color features, and a capability bit for color operations
- shader debug aides
- intermediate shadow framebuffer support in GL-renderer, using half-float pixel format, allowing two-pass composition particularly for blending in linear pixel values in the future
-
weston.ini
option to turn the shadow FB on per output (temporary until color management is implemented)
Edited by Pekka Paalanen