diff options
author | Romain Guy <romainguy@google.com> | 2012-03-01 17:33:42 -0800 |
---|---|---|
committer | Romain Guy <romainguy@google.com> | 2012-03-01 17:33:42 -0800 |
commit | ad1daaa87b793af30f3dd67a0f3cd5c0fd6ac0c1 (patch) | |
tree | 7320a0d45bc021b447302c1d3feabd425daeaf0a /libs/hwui | |
parent | d8f45c16a896d76d06550a91d78e8c5a3a57275a (diff) | |
download | frameworks_base-ad1daaa87b793af30f3dd67a0f3cd5c0fd6ac0c1.zip frameworks_base-ad1daaa87b793af30f3dd67a0f3cd5c0fd6ac0c1.tar.gz frameworks_base-ad1daaa87b793af30f3dd67a0f3cd5c0fd6ac0c1.tar.bz2 |
Remove stray log
Change-Id: I0c1979aab395098651c8a63d0bae0198ebc3746b
Diffstat (limited to 'libs/hwui')
-rw-r--r-- | libs/hwui/DisplayListRenderer.cpp | 1 | ||||
-rw-r--r-- | libs/hwui/DisplayListRenderer.h | 8 |
2 files changed, 5 insertions, 4 deletions
diff --git a/libs/hwui/DisplayListRenderer.cpp b/libs/hwui/DisplayListRenderer.cpp index 8153823..babfd04 100644 --- a/libs/hwui/DisplayListRenderer.cpp +++ b/libs/hwui/DisplayListRenderer.cpp @@ -599,7 +599,6 @@ bool DisplayList::replay(OpenGLRenderer& renderer, Rect& dirty, int32_t flags, u continue; } else { op &= ~OP_MAY_BE_SKIPPED_MASK; - ALOGD("%s", OP_NAMES[op]); } } logBuffer.writeCommand(level, op); diff --git a/libs/hwui/DisplayListRenderer.h b/libs/hwui/DisplayListRenderer.h index 5d1b460..96b87cc 100644 --- a/libs/hwui/DisplayListRenderer.h +++ b/libs/hwui/DisplayListRenderer.h @@ -391,8 +391,9 @@ private: mHasDrawOps = mHasDrawOps || drawOp >= DisplayList::DrawDisplayList; if (reject) { mWriter.writeInt(OP_MAY_BE_SKIPPED_MASK | drawOp); - mWriter.writeInt(0); - uint32_t* location = reject ? mWriter.peek32(mWriter.size() - 4) : NULL; + mWriter.writeInt(0xdeaddead); + uint32_t* location = reject ? + mWriter.peek32(mWriter.size() - sizeof(int32_t)) : NULL; return location; } mWriter.writeInt(drawOp); @@ -401,7 +402,8 @@ private: inline void addSkip(uint32_t* location) { if (location) { - *location = (int32_t) (mWriter.peek32(mWriter.size() - 4) - location); + *location = (int32_t) (mWriter.peek32( + mWriter.size() - sizeof(int32_t)) - location); } } |