summaryrefslogtreecommitdiff
path: root/opengl/libagl/array.cpp
diff options
context:
space:
mode:
author Lucas Dupin <dupin@google.com> 2020-04-02 15:29:35 -0700
committer Lucas Dupin <dupin@google.com> 2020-04-02 15:40:54 -0700
commit28b9fa26f16b8d788d749c47d30ed3e450bff92b (patch)
treebba0631815fce7ec33c7f32665f7bffe22ee0e0d /opengl/libagl/array.cpp
parente8a88834b77ca9d861af1851b3708889bf3be60f (diff)
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
Diffstat (limited to 'opengl/libagl/array.cpp')
0 files changed, 0 insertions, 0 deletions