diff options
author | John Reck <jreck@google.com> | 2015-08-05 13:53:53 -0700 |
---|---|---|
committer | John Reck <jreck@google.com> | 2015-08-26 16:29:15 -0700 |
commit | e248bd1b2c3fcf8088429507e73b31f45ee2544b (patch) | |
tree | 11b5ca9ab43877438cc05101ca0c8c2c95bfb6bd /libs/hwui/renderthread/RenderProxy.cpp | |
parent | c0877bb0ff769f09e9e60f600bdd294f1aac8331 (diff) |
Serializing display lists
This is a WIP prototype
Change-Id: Id4bfcf2b7bf905221c3734b7b6887c9b2efd37e6
Diffstat (limited to 'libs/hwui/renderthread/RenderProxy.cpp')
-rw-r--r-- | libs/hwui/renderthread/RenderProxy.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/libs/hwui/renderthread/RenderProxy.cpp b/libs/hwui/renderthread/RenderProxy.cpp index a3a0163f2e08..b8388116ff80 100644 --- a/libs/hwui/renderthread/RenderProxy.cpp +++ b/libs/hwui/renderthread/RenderProxy.cpp @@ -490,6 +490,17 @@ void RenderProxy::setProcessStatsBuffer(int fd) { post(task); } +CREATE_BRIDGE1(serializeDisplayListTree, CanvasContext* context) { + args->context->serializeDisplayListTree(); + return nullptr; +} + +void RenderProxy::serializeDisplayListTree() { + SETUP_TASK(serializeDisplayListTree); + args->context = mContext; + post(task); +} + void RenderProxy::post(RenderTask* task) { mRenderThread.queue(task); } |