Skip to content

render/vulkan: constrain blend to output subpass to redrawn region

M. Stoeckl requested to merge mstoeckl/wlroots:vk-blend-region into master

This keeps track of all updated rectangles drawn in the first Vulkan renderer subpass, and, if the output buffer is 10 bit deep and a second blend-to-srgb subpass is used, computes srgb values for just the pixels covered by the rectangles. (Before this commit, srgb values for every pixel would be computed each frame, which was inefficient.)

Merge request reports

Loading