From ac046387be01e586ab29519adb6d865381efa37f Mon Sep 17 00:00:00 2001 From: John Reck Date: Mon, 27 Jun 2016 15:13:54 -0700 Subject: 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 --- libs/hwui/LayerUpdateQueue.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'libs/hwui/LayerUpdateQueue.cpp') 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) { -- cgit v1.2.3-59-g8ed1b