summaryrefslogtreecommitdiff
path: root/libs/hwui/renderthread/DrawFrameTask.h
diff options
context:
space:
mode:
authorJohn Reck <jreck@google.com>2014-04-09 17:00:04 -0700
committerJohn Reck <jreck@google.com>2014-04-09 17:00:04 -0700
commitf4198b713e43c0c0f9adac74203cf24c2a49b802 (patch)
treeed1e56915cfd87dbc949d72a49ccaf3ee122881b /libs/hwui/renderthread/DrawFrameTask.h
parent8e1f918738abf70a4dc86dbb12b386a9deea37f8 (diff)
Merge hasFunctors & pushStaging into prepareTree
Bug: 13902607 Fixes synchronous mode for WebView in HardwareLayers Change-Id: I90de1e26dcfd9b75cc2f03bac72705fc23237b68
Diffstat (limited to 'libs/hwui/renderthread/DrawFrameTask.h')
-rw-r--r--libs/hwui/renderthread/DrawFrameTask.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/libs/hwui/renderthread/DrawFrameTask.h b/libs/hwui/renderthread/DrawFrameTask.h
index ddf756b71877..a5124088d790 100644
--- a/libs/hwui/renderthread/DrawFrameTask.h
+++ b/libs/hwui/renderthread/DrawFrameTask.h
@@ -68,14 +68,10 @@ private:
};
void postAndWait(RenderThread* renderThread, TaskMode mode);
- void syncFrameState();
+ bool syncFrameState();
void unblockUiThread();
static void drawRenderNode(CanvasContext* context, RenderNode* renderNode, Rect* dirty);
- // This checks to see if there are any drawGlFunctors which would require
- // a synchronous drawRenderNode()
- static bool requiresSynchronousDraw(RenderNode* renderNode);
-
Mutex mLock;
Condition mSignal;