Skip to content

contrast: Improve performance

David Edmundson requested to merge work/d_ed/cache_constrast_scratch into master

glCopyTexSubImage2D is super slow on Intel GPUs on wayland.

We have an existing method to read from the framebuffer that is used in the blur and other effects.

Rather than creating a scratch framebuffer every frame we keep a cache per window for the lifespan of the effect.

BUG: 469151

Merge request reports