summaryrefslogtreecommitdiffstats
path: root/libs/hwui
diff options
context:
space:
mode:
authorJohn Reck <jreck@google.com>2014-03-24 15:43:49 -0700
committerJohn Reck <jreck@google.com>2014-03-24 15:43:49 -0700
commit78ce1c5247de60a4247d81d168fd9fa97c7591d0 (patch)
tree524894434a0cc520b137b7d1877f5d8c2479a1c7 /libs/hwui
parent41c2d2cec3f46b28f535e9cd7f5b9da02280ccfe (diff)
downloadframeworks_base-78ce1c5247de60a4247d81d168fd9fa97c7591d0.zip
frameworks_base-78ce1c5247de60a4247d81d168fd9fa97c7591d0.tar.gz
frameworks_base-78ce1c5247de60a4247d81d168fd9fa97c7591d0.tar.bz2
Add back clobbered cleanup
Change-Id: I418b612710850bbc3033c4bd0143fb0f0befd2cb
Diffstat (limited to 'libs/hwui')
-rw-r--r--libs/hwui/RenderProperties.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/libs/hwui/RenderProperties.cpp b/libs/hwui/RenderProperties.cpp
index 8b69b08..ca291a6 100644
--- a/libs/hwui/RenderProperties.cpp
+++ b/libs/hwui/RenderProperties.cpp
@@ -118,14 +118,14 @@ void RenderProperties::debugOutputProperties(const int level) const {
flags |= SkCanvas::kClipToLayer_SaveFlag;
clipToBoundsNeeded = false; // clipping done by save layer
}
- ALOGD("%*sSaveLayerAlpha %.2f, %.2f, %.2f, %.2f, %d, 0x%x", level * 2, "",
- (float) 0, (float) 0, (float) mPrimitiveFields.mRight - mPrimitiveFields.mLeft, (float) mPrimitiveFields.mBottom - mPrimitiveFields.mTop,
+ ALOGD("%*sSaveLayerAlpha %d, %d, %d, %d, %d, 0x%x", level * 2, "",
+ 0, 0, getWidth(), getHeight(),
(int)(mPrimitiveFields.mAlpha * 255), flags);
}
}
if (clipToBoundsNeeded) {
- ALOGD("%*sClipRect %.2f, %.2f, %.2f, %.2f", level * 2, "", 0.0f, 0.0f,
- (float) mPrimitiveFields.mRight - mPrimitiveFields.mLeft, (float) mPrimitiveFields.mBottom - mPrimitiveFields.mTop);
+ ALOGD("%*sClipRect %d, %d, %d, %d", level * 2, "",
+ 0, 0, getWidth(), getHeight());
}
}