diff options
author | Steve Block <steveblock@google.com> | 2012-01-04 20:05:49 +0000 |
---|---|---|
committer | Steve Block <steveblock@google.com> | 2012-01-04 20:05:49 +0000 |
commit | a19954ab377b46dbcb9cbe8a6ab6d458f2e32bca (patch) | |
tree | 70d7654789e2e2e0daddabda4c1caabbd15ece78 /opengl/tests/gl2_jni/jni | |
parent | 3b115238cf237a1d804c87da59f49c085daeeb9e (diff) | |
download | frameworks_native-a19954ab377b46dbcb9cbe8a6ab6d458f2e32bca.zip frameworks_native-a19954ab377b46dbcb9cbe8a6ab6d458f2e32bca.tar.gz frameworks_native-a19954ab377b46dbcb9cbe8a6ab6d458f2e32bca.tar.bz2 |
Rename (IF_)LOGI(_IF) to (IF_)ALOGI(_IF) DO NOT MERGE
See https://android-git.corp.google.com/g/156801
Bug: 5449033
Change-Id: Ib08fe86d23db91ee153e9f91a99a35c42b9208ea
Diffstat (limited to 'opengl/tests/gl2_jni/jni')
-rw-r--r-- | opengl/tests/gl2_jni/jni/gl_code.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/opengl/tests/gl2_jni/jni/gl_code.cpp b/opengl/tests/gl2_jni/jni/gl_code.cpp index c2fabe6..f7e7f8d 100644 --- a/opengl/tests/gl2_jni/jni/gl_code.cpp +++ b/opengl/tests/gl2_jni/jni/gl_code.cpp @@ -14,13 +14,13 @@ static void printGLString(const char *name, GLenum s) { const char *v = (const char *) glGetString(s); - LOGI("GL %s = %s\n", name, v); + ALOGI("GL %s = %s\n", name, v); } static void checkGlError(const char* op) { for (GLint error = glGetError(); error; error = glGetError()) { - LOGI("after %s() glError (0x%x)\n", op, error); + ALOGI("after %s() glError (0x%x)\n", op, error); } } @@ -107,7 +107,7 @@ bool setupGraphics(int w, int h) { printGLString("Renderer", GL_RENDERER); printGLString("Extensions", GL_EXTENSIONS); - LOGI("setupGraphics(%d, %d)", w, h); + ALOGI("setupGraphics(%d, %d)", w, h); gProgram = createProgram(gVertexShader, gFragmentShader); if (!gProgram) { LOGE("Could not create program."); @@ -115,7 +115,7 @@ bool setupGraphics(int w, int h) { } gvPositionHandle = glGetAttribLocation(gProgram, "vPosition"); checkGlError("glGetAttribLocation"); - LOGI("glGetAttribLocation(\"vPosition\") = %d\n", + ALOGI("glGetAttribLocation(\"vPosition\") = %d\n", gvPositionHandle); glViewport(0, 0, w, h); |