Home
last modified time | relevance | path

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

/frameworks/native/opengl/tools/glgen/stubs/gles11/
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()
8 infoLen = 512; in android_glGetShaderInfoLog()
10 char* buf = (char*) malloc(infoLen); in android_glGetShaderInfoLog()
16 glGetShaderInfoLog(shader, infoLen, &outLen, buf); in android_glGetShaderInfoLog()
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()
DglGetProgramPipelineInfoLog.cpp5 GLint infoLen = 0; in android_glGetProgramPipelineInfoLog() local
6 glGetProgramPipelineiv(shader, GL_INFO_LOG_LENGTH, &infoLen); in android_glGetProgramPipelineInfoLog()
7 if (!infoLen) { in android_glGetProgramPipelineInfoLog()
10 char* buf = (char*) malloc(infoLen); in android_glGetProgramPipelineInfoLog()
15 glGetProgramPipelineInfoLog(shader, infoLen, NULL, buf); in android_glGetProgramPipelineInfoLog()
/frameworks/native/opengl/tests/gl2_jni/jni/
Dgl_code.cpp50 GLint infoLen = 0; in loadShader() local
51 glGetShaderiv(shader, GL_INFO_LOG_LENGTH, &infoLen); in loadShader()
52 if (infoLen) { in loadShader()
53 char* buf = (char*) malloc(infoLen); in loadShader()
55 glGetShaderInfoLog(shader, infoLen, NULL, buf); in loadShader()
/frameworks/native/opengl/tests/gldual/jni/
Dgl_code.cpp50 GLint infoLen = 0; in loadShader() local
51 glGetShaderiv(shader, GL_INFO_LOG_LENGTH, &infoLen); in loadShader()
52 if (infoLen) { in loadShader()
53 char* buf = (char*) malloc(infoLen); in loadShader()
55 glGetShaderInfoLog(shader, infoLen, NULL, buf); in loadShader()
/frameworks/native/libs/renderengine/gl/
DProgram.cpp46 GLint infoLen = 0; in Program() local
47 glGetProgramiv(programId, GL_INFO_LOG_LENGTH, &infoLen); in Program()
48 if (infoLen > 1) { in Program()
49 GLchar log[infoLen]; in Program()
50 glGetProgramInfoLog(programId, infoLen, 0, &log[0]); in Program()
/frameworks/av/cmds/screenrecord/
DProgram.cpp152 GLint infoLen = 0; in compileShader() local
153 glGetShaderiv(shader, GL_INFO_LOG_LENGTH, &infoLen); in compileShader()
154 if (infoLen) { in compileShader()
155 char* buf = new char[infoLen]; in compileShader()
157 glGetShaderInfoLog(shader, infoLen, NULL, buf); in compileShader()
/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.cpp93 GLint infoLen = 0; in loadShader() local
94 glGetShaderiv(shader, GL_INFO_LOG_LENGTH, &infoLen); in loadShader()
95 if (infoLen) { in loadShader()
96 char* buf = (char*) malloc(infoLen); in loadShader()
98 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/libs/gui/tests/
DGLTest.cpp267 GLint infoLen = 0; in loadShader() local
268 glGetShaderiv(shader, GL_INFO_LOG_LENGTH, &infoLen); in loadShader()
270 if (infoLen) { in loadShader()
271 char* buf = (char*) malloc(infoLen); in loadShader()
273 glGetShaderInfoLog(shader, infoLen, nullptr, 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/native/cmds/flatland/
DGLHelper.cpp303 GLint infoLen = 0; in compileShader() local
304 glGetShaderiv(shader, GL_INFO_LOG_LENGTH, &infoLen); in compileShader()
305 if (infoLen) { in compileShader()
306 char* buf = new char[infoLen]; in compileShader()
308 glGetShaderInfoLog(shader, infoLen, nullptr, buf); in compileShader()
/frameworks/rs/driver/
DrsdShader.cpp255 GLint infoLen = 0; in loadShader() local
256 RSD_CALL_GL(glGetShaderiv, mCurrentState->mShaderID, GL_INFO_LOG_LENGTH, &infoLen); in loadShader()
257 if (infoLen) { in loadShader()
258 char* buf = (char*) malloc(infoLen); in loadShader()
260 … RSD_CALL_GL(glGetShaderInfoLog, mCurrentState->mShaderID, infoLen, nullptr, buf); in loadShader()
/frameworks/base/core/jni/
Dandroid_opengl_GLES20.cpp2988 GLint infoLen = 0; in android_glGetProgramInfoLog() local
2989 glGetProgramiv(shader, GL_INFO_LOG_LENGTH, &infoLen); in android_glGetProgramInfoLog()
2990 if (!infoLen) { in android_glGetProgramInfoLog()
2993 char* buf = (char*) malloc(infoLen); in android_glGetProgramInfoLog()
2998 glGetProgramInfoLog(shader, infoLen, NULL, buf); in android_glGetProgramInfoLog()
3195 GLint infoLen = 0; in android_glGetShaderInfoLog() local
3196 glGetShaderiv(shader, GL_INFO_LOG_LENGTH, &infoLen); in android_glGetShaderInfoLog()
3197 if (!infoLen) { in android_glGetShaderInfoLog()
3198 infoLen = 512; in android_glGetShaderInfoLog()
3200 char* buf = (char*) malloc(infoLen); in android_glGetShaderInfoLog()
[all …]
Dandroid_opengl_GLES31.cpp3190 GLint infoLen = 0; in android_glGetProgramPipelineInfoLog() local
3191 glGetProgramPipelineiv(shader, GL_INFO_LOG_LENGTH, &infoLen); in android_glGetProgramPipelineInfoLog()
3192 if (!infoLen) { in android_glGetProgramPipelineInfoLog()
3195 char* buf = (char*) malloc(infoLen); in android_glGetProgramPipelineInfoLog()
3200 glGetProgramPipelineInfoLog(shader, infoLen, NULL, buf); in android_glGetProgramPipelineInfoLog()