diff options
author | John Reck <jreck@google.com> | 2014-10-22 11:32:27 -0700 |
---|---|---|
committer | John Reck <jreck@google.com> | 2014-10-22 11:32:27 -0700 |
commit | 5c9d717d3e7064db76d2a01223af51379dadf2c3 (patch) | |
tree | cc8069129707905f8754d2250bbcf2d929467009 | |
parent | 9b67a1a232dc0e1cda346271c3a9d118228001ee (diff) | |
download | frameworks_base-5c9d717d3e7064db76d2a01223af51379dadf2c3.zip frameworks_base-5c9d717d3e7064db76d2a01223af51379dadf2c3.tar.gz frameworks_base-5c9d717d3e7064db76d2a01223af51379dadf2c3.tar.bz2 |
Fix damage bug
Bug: 18087374
Change-Id: Ie183392122c73f93010fb3f4be071c924b352966
-rw-r--r-- | libs/hwui/RenderNode.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libs/hwui/RenderNode.cpp b/libs/hwui/RenderNode.cpp index 70ff6e5..40cd13e 100644 --- a/libs/hwui/RenderNode.cpp +++ b/libs/hwui/RenderNode.cpp @@ -296,6 +296,9 @@ void RenderNode::pushStagingDisplayListChanges(TreeInfo& info) { mStagingDisplayListData->children()[i]->mRenderNode->incParentRefCount(); } } + // Damage with the old display list first then the new one to catch any + // changes in isRenderable or, in the future, bounds + damageSelf(info); deleteDisplayListData(); mDisplayListData = mStagingDisplayListData; mStagingDisplayListData = NULL; |