diff options
author | Jason Sams <rjsams@android.com> | 2009-09-24 15:42:52 -0700 |
---|---|---|
committer | Jason Sams <rjsams@android.com> | 2009-09-24 15:42:52 -0700 |
commit | d3f2eaf60a349316a219ebd12b4ee88f6d1b1261 (patch) | |
tree | 6f75b10e7c4f4341a3e77dbf30c9543874c15cb4 /libs | |
parent | e60446b9c1a0f4f48372a36de5b01a2ddb8121e3 (diff) | |
download | frameworks_base-d3f2eaf60a349316a219ebd12b4ee88f6d1b1261.zip frameworks_base-d3f2eaf60a349316a219ebd12b4ee88f6d1b1261.tar.gz frameworks_base-d3f2eaf60a349316a219ebd12b4ee88f6d1b1261.tar.bz2 |
Minor cleanup of profile and compile logging.
Diffstat (limited to 'libs')
-rw-r--r-- | libs/rs/rsContext.cpp | 1 | ||||
-rw-r--r-- | libs/rs/rsProgramRaster.cpp | 2 | ||||
-rw-r--r-- | libs/rs/rsScriptC.cpp | 2 |
3 files changed, 2 insertions, 3 deletions
diff --git a/libs/rs/rsContext.cpp b/libs/rs/rsContext.cpp index 0ac8320..e3236c4 100644 --- a/libs/rs/rsContext.cpp +++ b/libs/rs/rsContext.cpp @@ -309,6 +309,7 @@ Context::Context(Device *dev, Surface *sur, bool useDepth) objDestroyOOBInit(); timerInit(); + timerSet(RS_TIMER_INTERNAL); LOGV("RS Launching thread"); status = pthread_create(&mThreadId, &threadAttr, threadProc, this); diff --git a/libs/rs/rsProgramRaster.cpp b/libs/rs/rsProgramRaster.cpp index 0f5ec51..b968fe1 100644 --- a/libs/rs/rsProgramRaster.cpp +++ b/libs/rs/rsProgramRaster.cpp @@ -60,8 +60,6 @@ void ProgramRaster::setupGL(const Context *rsc, ProgramRasterState *state) } state->mLast.set(this); - LOGE("setup %i %i %i %f %f", mPointSmooth, mLineSmooth, mPointSprite, mPointSize, mLineWidth); - glPointSize(mPointSize); if (mPointSmooth) { glEnable(GL_POINT_SMOOTH); diff --git a/libs/rs/rsScriptC.cpp b/libs/rs/rsScriptC.cpp index bff337c..22d42ac 100644 --- a/libs/rs/rsScriptC.cpp +++ b/libs/rs/rsScriptC.cpp @@ -147,7 +147,7 @@ void ScriptCState::runCompiler(Context *rsc, ScriptC *s) ACCchar buf[4096]; ACCsizei len; accGetScriptInfoLog(s->mAccScript, sizeof(buf), &len, buf); - LOGE(buf); + LOGV(buf); } if (s->mProgram.mInit) { |