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/RenderNode.h | |
parent | c0877bb0ff769f09e9e60f600bdd294f1aac8331 (diff) |
Serializing display lists
This is a WIP prototype
Change-Id: Id4bfcf2b7bf905221c3734b7b6887c9b2efd37e6
Diffstat (limited to 'libs/hwui/RenderNode.h')
-rw-r--r-- | libs/hwui/RenderNode.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/libs/hwui/RenderNode.h b/libs/hwui/RenderNode.h index 3bff2b393f74..88fc60856feb 100644 --- a/libs/hwui/RenderNode.h +++ b/libs/hwui/RenderNode.h @@ -57,6 +57,10 @@ class RestoreToCountOp; class DrawRenderNodeOp; class TreeInfo; +namespace proto { +class RenderNode; +} + /** * Primary class for storing recorded canvas commands, as well as per-View/ViewGroup display properties. * @@ -96,7 +100,6 @@ public: kReplayFlag_ClipChildren = 0x1 }; - static void outputLogBuffer(int fd); void debugDumpLayers(const char* prefix); ANDROID_API void setStagingDisplayList(DisplayListData* newData); @@ -108,6 +111,7 @@ public: ANDROID_API void output(uint32_t level = 1); ANDROID_API int getDebugSize(); + void copyTo(proto::RenderNode* node); bool isRenderable() const { return mDisplayListData && !mDisplayListData->isEmpty(); |