am 0d3999f7: Merge change 26942 into eclair
Merge commit '0d3999f788eb01baa8ba671878387761cbbbf861' into eclair-plus-aosp * commit '0d3999f788eb01baa8ba671878387761cbbbf861': Minor cleanup of profile and compile logging.
This commit is contained in:
@@ -309,6 +309,7 @@ Context::Context(Device *dev, Surface *sur, bool useDepth)
|
|||||||
|
|
||||||
objDestroyOOBInit();
|
objDestroyOOBInit();
|
||||||
timerInit();
|
timerInit();
|
||||||
|
timerSet(RS_TIMER_INTERNAL);
|
||||||
|
|
||||||
LOGV("RS Launching thread");
|
LOGV("RS Launching thread");
|
||||||
status = pthread_create(&mThreadId, &threadAttr, threadProc, this);
|
status = pthread_create(&mThreadId, &threadAttr, threadProc, this);
|
||||||
|
|||||||
@@ -60,8 +60,6 @@ void ProgramRaster::setupGL(const Context *rsc, ProgramRasterState *state)
|
|||||||
}
|
}
|
||||||
state->mLast.set(this);
|
state->mLast.set(this);
|
||||||
|
|
||||||
LOGE("setup %i %i %i %f %f", mPointSmooth, mLineSmooth, mPointSprite, mPointSize, mLineWidth);
|
|
||||||
|
|
||||||
glPointSize(mPointSize);
|
glPointSize(mPointSize);
|
||||||
if (mPointSmooth) {
|
if (mPointSmooth) {
|
||||||
glEnable(GL_POINT_SMOOTH);
|
glEnable(GL_POINT_SMOOTH);
|
||||||
|
|||||||
@@ -147,7 +147,7 @@ void ScriptCState::runCompiler(Context *rsc, ScriptC *s)
|
|||||||
ACCchar buf[4096];
|
ACCchar buf[4096];
|
||||||
ACCsizei len;
|
ACCsizei len;
|
||||||
accGetScriptInfoLog(s->mAccScript, sizeof(buf), &len, buf);
|
accGetScriptInfoLog(s->mAccScript, sizeof(buf), &len, buf);
|
||||||
LOGE(buf);
|
LOGV(buf);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (s->mProgram.mInit) {
|
if (s->mProgram.mInit) {
|
||||||
|
|||||||
Reference in New Issue
Block a user