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

Commit 9a878a64 authored by Christian Poetzsch's avatar Christian Poetzsch Committed by John Reck
Browse files

hwui: set buffer destroyed swap mode explicitly



Not using EGL_SWAP_BEHAVIOR_PRESERVED_BIT as config attribute for
eglChooseConfig doesn't automatically mean the swap behavior is buffer
destroyed. This is driver implementation specific and on some hw this
can still be buffer preserved. Make sure it is buffer destroyed by
explicitly setting it for every new surface when requested.

Change-Id: Ie2c7c89b0d20e35832b488c6263bb4d9dd844a75
Signed-off-by: default avatarChristian Poetzsch <christian.potzsch@imgtec.com>
parent 0b69467d
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