Merge "Correctly dump DrawPatch operations in display lists"

This commit is contained in:
Romain Guy
2011-10-19 17:07:25 -07:00
committed by Android (Google) Code Review

View File

@@ -382,12 +382,13 @@ void DisplayList::output(OpenGLRenderer& renderer, uint32_t level) {
xDivs = getInts(xDivsCount); xDivs = getInts(xDivsCount);
yDivs = getInts(yDivsCount); yDivs = getInts(yDivsCount);
colors = getUInts(numColors); colors = getUInts(numColors);
DISPLAY_LIST_LOGD("%s%s", (char*) indent, OP_NAMES[op]); float left = getFloat();
getFloat(); float top = getFloat();
getFloat(); float right = getFloat();
getFloat(); float bottom = getFloat();
getFloat(); SkPaint* paint = getPaint();
getPaint(); LOGD("%s%s %.2f, %.2f, %.2f, %.2f", (char*) indent, OP_NAMES[op],
left, top, right, bottom);
} }
break; break;
case DrawColor: { case DrawColor: {