Skip to content

Commit 6ca2b06

Browse files
Romain GuyAndroid (Google) Code Review
authored andcommitted
Merge "Correctly dump DrawPatch operations in display lists"
2 parents 93eb09b + a62f172 commit 6ca2b06

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

libs/hwui/DisplayListRenderer.cpp

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -382,12 +382,13 @@ void DisplayList::output(OpenGLRenderer& renderer, uint32_t level) {
382382
xDivs = getInts(xDivsCount);
383383
yDivs = getInts(yDivsCount);
384384
colors = getUInts(numColors);
385-
DISPLAY_LIST_LOGD("%s%s", (char*) indent, OP_NAMES[op]);
386-
getFloat();
387-
getFloat();
388-
getFloat();
389-
getFloat();
390-
getPaint();
385+
float left = getFloat();
386+
float top = getFloat();
387+
float right = getFloat();
388+
float bottom = getFloat();
389+
SkPaint* paint = getPaint();
390+
LOGD("%s%s %.2f, %.2f, %.2f, %.2f", (char*) indent, OP_NAMES[op],
391+
left, top, right, bottom);
391392
}
392393
break;
393394
case DrawColor: {

0 commit comments

Comments
 (0)