diff options
author | John Reck <jreck@google.com> | 2014-03-24 15:43:49 -0700 |
---|---|---|
committer | John Reck <jreck@google.com> | 2014-03-24 15:43:49 -0700 |
commit | 78ce1c5247de60a4247d81d168fd9fa97c7591d0 (patch) | |
tree | 524894434a0cc520b137b7d1877f5d8c2479a1c7 /libs/hwui | |
parent | 41c2d2cec3f46b28f535e9cd7f5b9da02280ccfe (diff) | |
download | frameworks_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.cpp | 8 |
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()); } } |