diff options
author | Chris Craik <ccraik@google.com> | 2013-05-21 20:30:19 +0000 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2013-05-21 20:30:19 +0000 |
commit | 7f43674db314ab76e77cfd2a9488058eae144aa8 (patch) | |
tree | ebfcd163c533a347687a30ed809675e7d5472a8a /libs | |
parent | a66c789f61d44c1e70a982afbd941d9939d20bf1 (diff) | |
parent | 6045d2b7cd0fe62d4385a053bbd1a74d64614d8e (diff) | |
download | frameworks_base-7f43674db314ab76e77cfd2a9488058eae144aa8.zip frameworks_base-7f43674db314ab76e77cfd2a9488058eae144aa8.tar.gz frameworks_base-7f43674db314ab76e77cfd2a9488058eae144aa8.tar.bz2 |
Merge "Fix DISPLAY_LIST_DEBUG"
Diffstat (limited to 'libs')
-rw-r--r-- | libs/hwui/DisplayList.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libs/hwui/DisplayList.cpp b/libs/hwui/DisplayList.cpp index c11741c..d4512a7 100644 --- a/libs/hwui/DisplayList.cpp +++ b/libs/hwui/DisplayList.cpp @@ -511,6 +511,10 @@ void DisplayList::iterate(OpenGLRenderer& renderer, T& handler, const int level) for (unsigned int i = 0; i < mDisplayListData->displayListOps.size(); i++) { DisplayListOp *op = mDisplayListData->displayListOps[i]; +#if DEBUG_DISPLAY_LIST + op->output(level + 1); +#endif + logBuffer.writeCommand(level, op->name()); handler(op, saveCount, mClipToBounds); } |