Home
last modified time | relevance | path

Searched refs:infoLen (Results 1 – 14 of 14) sorted by relevance

/frameworks/native/opengl/tools/glgen/stubs/gles11/
DglGetProgramInfoLog.cpp5 GLint infoLen = 0; in android_glGetProgramInfoLog() local
6 glGetProgramiv(shader, GL_INFO_LOG_LENGTH, &infoLen); in android_glGetProgramInfoLog()
7 if (!infoLen) { in android_glGetProgramInfoLog()
10 char* buf = (char*) malloc(infoLen); in android_glGetProgramInfoLog()
15 glGetProgramInfoLog(shader, infoLen, NULL, buf); in android_glGetProgramInfoLog()
DglGetShaderInfoLog.cpp5 GLint infoLen = 0; in android_glGetShaderInfoLog() local
6 glGetShaderiv(shader, GL_INFO_LOG_LENGTH, &infoLen); in android_glGetShaderInfoLog()
7 if (!infoLen) { in android_glGetShaderInfoLog()
10 char* buf = (char*) malloc(infoLen); in android_glGetShaderInfoLog()
15 glGetShaderInfoLog(shader, infoLen, NULL, buf); in android_glGetShaderInfoLog()
/frameworks/native/opengl/tests/gl2_jni/jni/
Dgl_code.cpp45 GLint infoLen = 0; in loadShader() local
46 glGetShaderiv(shader, GL_INFO_LOG_LENGTH, &infoLen); in loadShader()
47 if (infoLen) { in loadShader()
48 char* buf = (char*) malloc(infoLen); in loadShader()
50 glGetShaderInfoLog(shader, infoLen, NULL, buf); in loadShader()
/frameworks/native/opengl/tests/gldual/jni/
Dgl_code.cpp45 GLint infoLen = 0; in loadShader() local
46 glGetShaderiv(shader, GL_INFO_LOG_LENGTH, &infoLen); in loadShader()
47 if (infoLen) { in loadShader()
48 char* buf = (char*) malloc(infoLen); in loadShader()
50 glGetShaderInfoLog(shader, infoLen, NULL, buf); in loadShader()
/frameworks/base/libs/hwui/
DProgram.cpp59 GLint infoLen = 0; in Program() local
60 glGetProgramiv(mProgramId, GL_INFO_LOG_LENGTH, &infoLen); in Program()
61 if (infoLen > 1) { in Program()
62 GLchar log[infoLen]; in Program()
63 glGetProgramInfoLog(mProgramId, infoLen, 0, &log[0]); in Program()
/frameworks/av/libvideoeditor/lvpp/
DNativeWindowRenderer.cpp266 GLint infoLen = 0; in createProgram() local
267 glGetProgramiv(program, GL_INFO_LOG_LENGTH, &infoLen); in createProgram()
268 if (infoLen) { in createProgram()
269 char* buf = (char*) malloc(infoLen); in createProgram()
271 glGetProgramInfoLog(program, infoLen, NULL, buf); in createProgram()
297 GLint infoLen = 0; in loadShader() local
298 glGetShaderiv(shader, GL_INFO_LOG_LENGTH, &infoLen); in loadShader()
299 char* buf = (char*) malloc(infoLen); in loadShader()
301 glGetShaderInfoLog(shader, infoLen, NULL, buf); in loadShader()
/frameworks/native/opengl/tests/gl_perf/
Dfill_common.cpp41 GLint infoLen = 0; in loadShader() local
42 glGetShaderiv(shader, GL_INFO_LOG_LENGTH, &infoLen); in loadShader()
43 if (infoLen) { in loadShader()
44 char* buf = (char*) malloc(infoLen); in loadShader()
46 glGetShaderInfoLog(shader, infoLen, NULL, buf); in loadShader()
/frameworks/native/opengl/tests/gl2_basic/
Dgl2_basic.cpp84 GLint infoLen = 0; in loadShader() local
85 glGetShaderiv(shader, GL_INFO_LOG_LENGTH, &infoLen); in loadShader()
86 if (infoLen) { in loadShader()
87 char* buf = (char*) malloc(infoLen); in loadShader()
89 glGetShaderInfoLog(shader, infoLen, NULL, buf); in loadShader()
/frameworks/native/opengl/tests/gl2_yuvtex/
Dgl2_yuvtex.cpp91 GLint infoLen = 0; in loadShader() local
92 glGetShaderiv(shader, GL_INFO_LOG_LENGTH, &infoLen); in loadShader()
93 if (infoLen) { in loadShader()
94 char* buf = (char*) malloc(infoLen); in loadShader()
96 glGetShaderInfoLog(shader, infoLen, NULL, buf); in loadShader()
/frameworks/native/opengl/tests/gl2_copyTexImage/
Dgl2_copyTexImage.cpp84 GLint infoLen = 0; in loadShader() local
85 glGetShaderiv(shader, GL_INFO_LOG_LENGTH, &infoLen); in loadShader()
86 if (infoLen) { in loadShader()
87 char* buf = (char*) malloc(infoLen); in loadShader()
89 glGetShaderInfoLog(shader, infoLen, NULL, buf); in loadShader()
/frameworks/rs/driver/
DrsdShader.cpp251 GLint infoLen = 0; in loadShader() local
252 RSD_CALL_GL(glGetShaderiv, mCurrentState->mShaderID, GL_INFO_LOG_LENGTH, &infoLen); in loadShader()
253 if (infoLen) { in loadShader()
254 char* buf = (char*) malloc(infoLen); in loadShader()
256 RSD_CALL_GL(glGetShaderInfoLog, mCurrentState->mShaderID, infoLen, NULL, buf); in loadShader()
/frameworks/av/media/libstagefright/tests/
DSurfaceMediaSource_test.cpp208 GLint infoLen = 0; in loadShader() local
209 glGetShaderiv(shader, GL_INFO_LOG_LENGTH, &infoLen); in loadShader()
211 if (infoLen) { in loadShader()
212 char* buf = (char*) malloc(infoLen); in loadShader()
214 glGetShaderInfoLog(shader, infoLen, NULL, buf); in loadShader()
/frameworks/native/libs/gui/tests/
DSurfaceTexture_test.cpp300 GLint infoLen = 0; in loadShader() local
301 glGetShaderiv(shader, GL_INFO_LOG_LENGTH, &infoLen); in loadShader()
303 if (infoLen) { in loadShader()
304 char* buf = (char*) malloc(infoLen); in loadShader()
306 glGetShaderInfoLog(shader, infoLen, NULL, buf); in loadShader()
/frameworks/base/core/jni/
Dandroid_opengl_GLES20.cpp3282 GLint infoLen = 0; in android_glGetProgramInfoLog() local
3283 glGetProgramiv(shader, GL_INFO_LOG_LENGTH, &infoLen); in android_glGetProgramInfoLog()
3284 if (!infoLen) { in android_glGetProgramInfoLog()
3287 char* buf = (char*) malloc(infoLen); in android_glGetProgramInfoLog()
3292 glGetProgramInfoLog(shader, infoLen, NULL, buf); in android_glGetProgramInfoLog()
3437 GLint infoLen = 0; in android_glGetShaderInfoLog() local
3438 glGetShaderiv(shader, GL_INFO_LOG_LENGTH, &infoLen); in android_glGetShaderInfoLog()
3439 if (!infoLen) { in android_glGetShaderInfoLog()
3442 char* buf = (char*) malloc(infoLen); in android_glGetShaderInfoLog()
3447 glGetShaderInfoLog(shader, infoLen, NULL, buf); in android_glGetShaderInfoLog()