From 826b56448691221e4cfe2f19a09c3d8790f78d2c Mon Sep 17 00:00:00 2001 From: Bo Liu Date: Tue, 13 May 2014 16:47:27 -0700 Subject: [PATCH] Enable asynchronous RenderThread for WebView BUG: 12179257 Change-Id: Ib7358dc84a0a58020d178d10b324b9631848c06d --- libs/hwui/renderthread/DrawFrameTask.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/hwui/renderthread/DrawFrameTask.cpp b/libs/hwui/renderthread/DrawFrameTask.cpp index 797566f29ae37..48abbf211b959 100644 --- a/libs/hwui/renderthread/DrawFrameTask.cpp +++ b/libs/hwui/renderthread/DrawFrameTask.cpp @@ -138,7 +138,7 @@ bool DrawFrameTask::syncFrameState(TreeInfo& info) { } } // If prepareTextures is false, we ran out of texture cache space - return !info.out.hasFunctors && info.prepareTextures; + return info.prepareTextures; } void DrawFrameTask::unblockUiThread() {