Details
-
Suggestion
-
Resolution: Unresolved
-
P2: Important
-
None
-
6.8.3, 6.10
-
None
Description
It should be possible to specify a surface damage region when swapping buffers. This allows the compositor or even graphics hardware to optimize the rendering. Right now, the entire buffer is marked damaged.
For GLES there’s EGL_KHR_swap_buffers_with_damage and to some extend EGL_KHR_partial_update. Vulkan has VkPresentRegionsKHR. I assume Metal and Direct X have similar capabilities.
This is also a pre-requisite for ever enabling Qt Quick to report proper surface damage.