diff options
author | Ryan Neph <ryanneph@google.com> | 2020-12-16 01:18:09 +0000 |
---|---|---|
committer | Marge Bot <eric+marge@anholt.net> | 2020-12-29 08:58:09 +0000 |
commit | accc2222174a90fd24ee56ce751feb6022ecc0c7 (patch) | |
tree | 172fc16827060eb503fcb41e8b9ef2eb36b548d3 /src/mesa/state_tracker/st_cb_texture.c | |
parent | 46d2f4b75e3f10a9fc0d5e2b33027dc70fc5af69 (diff) |
virgl: fix BGRA emulation artifacts during window resize
On some devices, window resizing results in flashes of blue- and
orange-tinted versions of the current frame until resizing is
finished.
This fix ensures that the emubgra tweak used for GLES virgl hosts
has its enabled state flag set properly during resize events.
v2: removed unrelated whitespace change
Fixes: 6f68cacf619 ("virgl: Always enable emulated BGRA and swizzling unless specifically told not to")
Signed-off-by: Ryan Neph <ryanneph@google.com>
Reviewed-by: Gert Wollny <gert.wollny@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8119>
Diffstat (limited to 'src/mesa/state_tracker/st_cb_texture.c')
0 files changed, 0 insertions, 0 deletions