From b5a12bd1b966e06975aca8e19c4619db28a54d87 Mon Sep 17 00:00:00 2001 From: Derek Sollenberger Date: Wed, 14 Jun 2017 15:23:19 -0400 Subject: 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 --- libs/hwui/renderthread/EglManager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libs/hwui/renderthread/EglManager.cpp') 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; -- cgit v1.2.3