diff options
author | Romain Guy <romainguy@google.com> | 2011-10-19 17:06:19 -0700 |
---|---|---|
committer | Romain Guy <romainguy@google.com> | 2011-10-19 17:06:19 -0700 |
commit | a62f172215727a1e00af0cb934904e00926a86c9 (patch) | |
tree | 50607048135ed1ad0c2eed331a61b2e18c002743 /libs | |
parent | 2c183fa5bf666c5f6b2221fd04db8ee3c738d1fd (diff) | |
download | frameworks_base-a62f172215727a1e00af0cb934904e00926a86c9.zip frameworks_base-a62f172215727a1e00af0cb934904e00926a86c9.tar.gz frameworks_base-a62f172215727a1e00af0cb934904e00926a86c9.tar.bz2 |
Correctly dump DrawPatch operations in display lists
Change-Id: I8cd1c764ddc184ce45727913fa2a23a3d81b337e
Diffstat (limited to 'libs')
-rw-r--r-- | libs/hwui/DisplayListRenderer.cpp | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/libs/hwui/DisplayListRenderer.cpp b/libs/hwui/DisplayListRenderer.cpp index cedf456..3372d1c 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: { |