diff options
author | John Reck <jreck@google.com> | 2016-06-27 15:13:54 -0700 |
---|---|---|
committer | John Reck <jreck@google.com> | 2016-06-27 15:18:26 -0700 |
commit | ac046387be01e586ab29519adb6d865381efa37f (patch) | |
tree | d8b9996de60c44cde0b67ce7e3b41006d1d31554 /libs/hwui/LayerUpdateQueue.cpp | |
parent | 95fbc2de1b378f3d77385839c5535a5b6b3b5d06 (diff) |
Add missing roundOut for layer damage
fixes: 29771171
This is a regression from HWUI_NEW_OPS, a roundOut
was missing in the new path that was in the old one
Change-Id: Ibf223d550bb5525781864dd9b7f7cd6d73adb98b
Diffstat (limited to 'libs/hwui/LayerUpdateQueue.cpp')
-rw-r--r-- | libs/hwui/LayerUpdateQueue.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libs/hwui/LayerUpdateQueue.cpp b/libs/hwui/LayerUpdateQueue.cpp index db5f676d09dc..95f5cfb33474 100644 --- a/libs/hwui/LayerUpdateQueue.cpp +++ b/libs/hwui/LayerUpdateQueue.cpp @@ -26,6 +26,7 @@ void LayerUpdateQueue::clear() { } void LayerUpdateQueue::enqueueLayerWithDamage(RenderNode* renderNode, Rect damage) { + damage.roundOut(); damage.doIntersect(0, 0, renderNode->getWidth(), renderNode->getHeight()); if (!damage.isEmpty()) { for (Entry& entry : mEntries) { |