summaryrefslogtreecommitdiffstats
path: root/libs/rs/rsContext.cpp
diff options
context:
space:
mode:
authorAlex Sakhartchouk <alexst@google.com>2010-08-05 10:28:43 -0700
committerAlex Sakhartchouk <alexst@google.com>2010-08-05 10:28:43 -0700
commit518f033b68649c151cc8725ea8c557eae01cc567 (patch)
tree2f4bbdae3f45001be543d5766d71c3a913aa245f /libs/rs/rsContext.cpp
parent442a647424e6537e94341654e3ae5d52efd84862 (diff)
downloadframeworks_base-518f033b68649c151cc8725ea8c557eae01cc567.zip
frameworks_base-518f033b68649c151cc8725ea8c557eae01cc567.tar.gz
frameworks_base-518f033b68649c151cc8725ea8c557eae01cc567.tar.bz2
Adding more matrix math functions.
Fixing build. Change-Id: Ie0f6724ba063ada94d1d44d99bbe56e21d9bd72f
Diffstat (limited to 'libs/rs/rsContext.cpp')
-rw-r--r--libs/rs/rsContext.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/libs/rs/rsContext.cpp b/libs/rs/rsContext.cpp
index 1c03954..681f83e 100644
--- a/libs/rs/rsContext.cpp
+++ b/libs/rs/rsContext.cpp
@@ -263,38 +263,38 @@ void Context::displayDebugStats()
{
char buffer[128];
sprintf(buffer, "Frame %i ms, Script %i ms", mTimeMSLastFrame, mTimeMSLastScript);
- float oldR = mStateVertex.color[0];
+ /*float oldR = mStateVertex.color[0];
float oldG = mStateVertex.color[1];
float oldB = mStateVertex.color[2];
- float oldA = mStateVertex.color[3];
+ float oldA = mStateVertex.color[3];*/
float shadowCol = 0.2f;
- mStateVertex.color[0] = shadowCol;
+ /*mStateVertex.color[0] = shadowCol;
mStateVertex.color[1] = shadowCol;
mStateVertex.color[2] = shadowCol;
mStateVertex.color[3] = 1.0f;
if (!checkVersion2_0()) {
glColor4f(shadowCol, shadowCol, shadowCol, 1.0f);
- }
+ }*/
mStateFont.renderText(buffer, 5, getHeight() - 5);
- float textCol = 0.9f;
+ /*float textCol = 0.9f;
mStateVertex.color[0] = textCol;
mStateVertex.color[1] = textCol;
mStateVertex.color[2] = textCol;
mStateVertex.color[3] = 1.0f;
if (!checkVersion2_0()) {
glColor4f(textCol, textCol, textCol, 1.0f);
- }
+ }*/
mStateFont.renderText(buffer, 4, getHeight() - 6);
- mStateVertex.color[0] = oldR;
+ /*mStateVertex.color[0] = oldR;
mStateVertex.color[1] = oldG;
mStateVertex.color[2] = oldB;
mStateVertex.color[3] = oldA;
if (!checkVersion2_0()) {
glColor4f(oldR, oldG, oldB, oldA);
- }
+ }*/
}
void * Context::threadProc(void *vrsc)