diff options
| author | Jason Sams <rjsams@android.com> | 2009-09-25 15:25:00 -0700 |
|---|---|---|
| committer | Jason Sams <rjsams@android.com> | 2009-09-25 15:25:00 -0700 |
| commit | 66b2771d745aa66df5cf80b300b5ba0f936ff22e (patch) | |
| tree | 3b2b5a14bf61b4c2a8903c3230f7df84660e07ea /libs/rs/rsThreadIO.cpp | |
| parent | a9e7a05b84470257637c97d65f6562aa832c66ef (diff) | |
| download | frameworks_base-66b2771d745aa66df5cf80b300b5ba0f936ff22e.zip frameworks_base-66b2771d745aa66df5cf80b300b5ba0f936ff22e.tar.gz frameworks_base-66b2771d745aa66df5cf80b300b5ba0f936ff22e.tar.bz2 | |
Reduce debugging spew and add props to selectivly re-enable it.
change-id: Ib59ed5d7a9d479ccd1af456029735dbc65ae1efe
Diffstat (limited to 'libs/rs/rsThreadIO.cpp')
| -rw-r--r-- | libs/rs/rsThreadIO.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/rs/rsThreadIO.cpp b/libs/rs/rsThreadIO.cpp index 964901a..4d3d73a 100644 --- a/libs/rs/rsThreadIO.cpp +++ b/libs/rs/rsThreadIO.cpp @@ -42,7 +42,7 @@ bool ThreadIO::playCoreCommands(Context *con, bool waitForCommand) uint32_t cmdID = 0; uint32_t cmdSize = 0; ret = true; - if (con->logTimes) { + if (con->props.mLogTimes) { con->timerSet(Context::RS_TIMER_IDLE); } const void * data = mToCore.get(&cmdID, &cmdSize); @@ -50,7 +50,7 @@ bool ThreadIO::playCoreCommands(Context *con, bool waitForCommand) // exception occured, probably shutdown. return false; } - if (con->logTimes) { + if (con->props.mLogTimes) { con->timerSet(Context::RS_TIMER_INTERNAL); } waitForCommand = false; |
