diff options
| author | Chris Craik <ccraik@google.com> | 2013-05-21 10:49:47 -0700 |
|---|---|---|
| committer | Chris Craik <ccraik@google.com> | 2013-05-21 10:49:47 -0700 |
| commit | 6045d2b7cd0fe62d4385a053bbd1a74d64614d8e (patch) | |
| tree | 84bb42df940bc23cc741b17d8e1702d7318f4310 /libs/hwui | |
| parent | 0ace0aa7d643b5b9952d32827575f041ba563c58 (diff) | |
| download | frameworks_base-6045d2b7cd0fe62d4385a053bbd1a74d64614d8e.zip frameworks_base-6045d2b7cd0fe62d4385a053bbd1a74d64614d8e.tar.gz frameworks_base-6045d2b7cd0fe62d4385a053bbd1a74d64614d8e.tar.bz2 | |
Fix DISPLAY_LIST_DEBUG
will now log ops
Change-Id: I4e119999af7ceea0558225aa78926e761277fee2
Diffstat (limited to 'libs/hwui')
| -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); } |
