Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 28b9fa26 authored by Lucas Dupin's avatar Lucas Dupin
Browse files

Reallocate blur textures if they don't fit

RenderEngine#drawLayers might be called with multiple display sizes.
Sometimes, the display might be quite small, not reflecting a physical
device. This happens becuse we support color sampling, and in those
cases we can render only a small portion of the output.

This could lead to FBO allocation that doesn't represent the surface
that we'll render to. To fix the issue, the textures need to be
resized when necessary.

Test: manual
Fixes: 152282559
Change-Id: I80d0c741b7f701a64fb862273433b167a97fe0bb
parent e8a88834
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment