diff options
| author | 2017-06-14 15:23:19 -0400 | |
|---|---|---|
| committer | 2017-06-14 15:23:19 -0400 | |
| commit | b5a12bd1b966e06975aca8e19c4619db28a54d87 (patch) | |
| tree | d4ef3adb52d053ddafc5680d7f47465d6285a970 /libs/hwui/renderthread | |
| parent | 99881dd9b659384888968aa358e8ac77cf62996e (diff) | |
Revert buffer age workaround for Adreno GPUs.
We now have a fix in the driver so we don't need this workaround
any more.
Test: hwuimacro savelayer2 --onscreen
Bug: 31957043
Change-Id: I8d8a4abcfa809d0cdab3bf63d7f8255febf2aa06
Diffstat (limited to 'libs/hwui/renderthread')
| -rw-r--r-- | libs/hwui/renderthread/EglManager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/hwui/renderthread/EglManager.cpp b/libs/hwui/renderthread/EglManager.cpp index ecf686c5b40c..afbb7f8184c9 100644 --- a/libs/hwui/renderthread/EglManager.cpp +++ b/libs/hwui/renderthread/EglManager.cpp @@ -113,7 +113,7 @@ void EglManager::initialize() { // An Adreno driver bug is causing rendering problems for SkiaGL with // buffer age swap behavior (b/31957043). To temporarily workaround, // we will use preserved swap behavior. - if (Properties::useBufferAge && EglExtensions.bufferAge && !Properties::isSkiaEnabled()) { + if (Properties::useBufferAge && EglExtensions.bufferAge) { mSwapBehavior = SwapBehavior::BufferAge; } else { mSwapBehavior = SwapBehavior::Preserved; |