From d965bc5823d878a3fd056b8a95fb4eb578ed3fe4 Mon Sep 17 00:00:00 2001 From: Chris Craik Date: Mon, 16 Sep 2013 14:47:13 -0700 Subject: Disallow negative scale matrices in merged Bitmap drawing bug:10622962 Change-Id: I55ac18ad56b53dc9e6e6ea14cd3ec4bdafa98ac3 --- libs/hwui/DeferredDisplayList.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'libs/hwui/DeferredDisplayList.cpp') diff --git a/libs/hwui/DeferredDisplayList.cpp b/libs/hwui/DeferredDisplayList.cpp index fd9257a..0131be3 100644 --- a/libs/hwui/DeferredDisplayList.cpp +++ b/libs/hwui/DeferredDisplayList.cpp @@ -275,6 +275,11 @@ public: DisplayListLogBuffer& buffer = DisplayListLogBuffer::getInstance(); buffer.writeCommand(0, "multiDraw"); buffer.writeCommand(1, op->name()); + +#if DEBUG_DISPLAY_LIST_OPS_AS_EVENTS + renderer.eventMark("multiDraw"); + renderer.eventMark(op->name()); +#endif status_t status = op->multiDraw(renderer, dirty, mOps, mBounds); #if DEBUG_MERGE_BEHAVIOR -- cgit v1.1