summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Romain Guy <romainguy@google.com> 2011-10-19 17:07:25 -0700
committer Android (Google) Code Review <android-gerrit@google.com> 2011-10-19 17:07:25 -0700
commit6ca2b062c5fae4f166480407f645072416ea18ac (patch)
treea536167c54f2d17dfec2db1eb64ed1c874fb532b
parent93eb09b87723a04960ef2bedcd1d890008bf238c (diff)
parenta62f172215727a1e00af0cb934904e00926a86c9 (diff)
Merge "Correctly dump DrawPatch operations in display lists"
-rw-r--r--libs/hwui/DisplayListRenderer.cpp13
1 files changed, 7 insertions, 6 deletions
diff --git a/libs/hwui/DisplayListRenderer.cpp b/libs/hwui/DisplayListRenderer.cpp
index cedf456e22c3..3372d1c249bf 100644
--- a/libs/hwui/DisplayListRenderer.cpp
+++ b/libs/hwui/DisplayListRenderer.cpp
@@ -382,12 +382,13 @@ void DisplayList::output(OpenGLRenderer& renderer, uint32_t level) {
xDivs = getInts(xDivsCount);
yDivs = getInts(yDivsCount);
colors = getUInts(numColors);
- DISPLAY_LIST_LOGD("%s%s", (char*) indent, OP_NAMES[op]);
- getFloat();
- getFloat();
- getFloat();
- getFloat();
- getPaint();
+ float left = getFloat();
+ float top = getFloat();
+ float right = getFloat();
+ float bottom = getFloat();
+ SkPaint* paint = getPaint();
+ LOGD("%s%s %.2f, %.2f, %.2f, %.2f", (char*) indent, OP_NAMES[op],
+ left, top, right, bottom);
}
break;
case DrawColor: {