summaryrefslogtreecommitdiff
path: root/driver/rsdGL.cpp
diff options
context:
space:
mode:
authorStephen Hines <srhines@google.com>2011-04-20 17:22:36 -0700
committerAndroid (Google) Code Review <android-gerrit@google.com>2011-04-20 17:22:36 -0700
commit6ea39c9f1e2eda1194a56380291069dcd9d65613 (patch)
tree81224a8369b024fdf2ab2b295d0acca29e3b4788 /driver/rsdGL.cpp
parent2b3ce1d5812fb3ea02d28ae75600d8bc6689acaa (diff)
parent9db7fe256cf6b77eafafb42d024128701faee6bb (diff)
downloadrs-6ea39c9f1e2eda1194a56380291069dcd9d65613.tar.gz
Merge "Reduce verbosity of Renderscript logging."
Diffstat (limited to 'driver/rsdGL.cpp')
-rw-r--r--driver/rsdGL.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/driver/rsdGL.cpp b/driver/rsdGL.cpp
index 6238edd6..26e1bdf4 100644
--- a/driver/rsdGL.cpp
+++ b/driver/rsdGL.cpp
@@ -197,7 +197,9 @@ bool rsdGLInit(const Context *rsc) {
LOGE("%p, couldn't find an EGLConfig matching the screen format\n", rsc);
}
//if (props.mLogVisual) {
+ if (0) {
printEGLConfiguration(dc->gl.egl.display, dc->gl.egl.config);
+ }
//}
dc->gl.egl.context = eglCreateContext(dc->gl.egl.display, dc->gl.egl.config,
@@ -281,7 +283,9 @@ bool rsdGLInit(const Context *rsc) {
glGetFloatv(GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT, &dc->gl.gl.EXT_texture_max_aniso);
}
- DumpDebug(dc);
+ if (0) {
+ DumpDebug(dc);
+ }
LOGV("initGLThread end %p", rsc);
return true;