diff options
author | 2014-04-09 23:01:02 +0000 | |
---|---|---|
committer | 2014-04-09 23:01:02 +0000 | |
commit | 8e1f918738abf70a4dc86dbb12b386a9deea37f8 (patch) | |
tree | 2f8b775662768ed77b50ec5740e5d7af608e56c8 /libs/hwui/RenderNode.h | |
parent | 3c86a27d3e9044d04d0f176e59a1ebbcd774a54c (diff) | |
parent | 8de65a8e05285df52a1e6f0c1d5616dd233298a7 (diff) |
Merge "Switch DisplayListData to a staging model"
Diffstat (limited to 'libs/hwui/RenderNode.h')
-rw-r--r-- | libs/hwui/RenderNode.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/libs/hwui/RenderNode.h b/libs/hwui/RenderNode.h index fa0fb8afa037..e5b9d7c395b6 100644 --- a/libs/hwui/RenderNode.h +++ b/libs/hwui/RenderNode.h @@ -89,7 +89,7 @@ public: ANDROID_API static void outputLogBuffer(int fd); - ANDROID_API void setData(DisplayListData* newData); + ANDROID_API void setStagingDisplayList(DisplayListData* newData); void computeOrdering(); @@ -141,7 +141,7 @@ public: return properties().getHeight(); } - ANDROID_API void updateProperties(); + ANDROID_API void pushStagingChanges(); // Returns true if this RenderNode or any of its children have functors bool hasFunctors(); @@ -203,6 +203,8 @@ private: const char* mText; }; + static void pushSubTreeStagingChanges(DisplayListData* subtree); + String8 mName; bool mDestroyed; // used for debugging crash, TODO: remove once invalid state crash fixed @@ -210,7 +212,9 @@ private: RenderProperties mProperties; RenderProperties mStagingProperties; + bool mNeedsDisplayListDataSync; DisplayListData* mDisplayListData; + DisplayListData* mStagingDisplayListData; /** * Draw time state - these properties are only set and used during rendering |