Home
last modified time | relevance | path

Searched refs:infoLen (Results 1 – 18 of 18) 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()
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/services/surfaceflinger/RenderEngine/
DProgram.cpp43 GLint infoLen = 0; in Program() local
44 glGetProgramiv(programId, GL_INFO_LOG_LENGTH, &infoLen); in Program()
45 if (infoLen > 1) { in Program()
46 GLchar log[infoLen]; in Program()
47 glGetProgramInfoLog(programId, infoLen, 0, &log[0]); in Program()
/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/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/base/libs/hwui/
DProgram.cpp60 GLint infoLen = 0; in Program() local
61 glGetProgramiv(mProgramId, GL_INFO_LOG_LENGTH, &infoLen); in Program()
62 if (infoLen > 1) { in Program()
63 GLchar log[infoLen]; in Program()
64 glGetProgramInfoLog(mProgramId, infoLen, nullptr, &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.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/libs/gui/tests/
DGLTest.cpp265 GLint infoLen = 0; in loadShader() local
266 glGetShaderiv(shader, GL_INFO_LOG_LENGTH, &infoLen); in loadShader()
268 if (infoLen) { in loadShader()
269 char* buf = (char*) malloc(infoLen); in loadShader()
271 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/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/cmds/flatland/
DGLHelper.cpp318 GLint infoLen = 0; in compileShader() local
319 glGetShaderiv(shader, GL_INFO_LOG_LENGTH, &infoLen); in compileShader()
320 if (infoLen) { in compileShader()
321 char* buf = new char[infoLen]; in compileShader()
323 glGetShaderInfoLog(shader, infoLen, NULL, buf); in compileShader()
/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, nullptr, buf); in loadShader()
/frameworks/av/media/libstagefright/tests/
DSurfaceMediaSource_test.cpp205 GLint infoLen = 0; in loadShader() local
206 glGetShaderiv(shader, GL_INFO_LOG_LENGTH, &infoLen); in loadShader()
208 if (infoLen) { in loadShader()
209 char* buf = (char*) malloc(infoLen); in loadShader()
211 glGetShaderInfoLog(shader, infoLen, NULL, buf); in loadShader()
/frameworks/base/core/jni/
Dandroid_opengl_GLES20.cpp2889 GLint infoLen = 0; in android_glGetProgramInfoLog() local
2890 glGetProgramiv(shader, GL_INFO_LOG_LENGTH, &infoLen); in android_glGetProgramInfoLog()
2891 if (!infoLen) { in android_glGetProgramInfoLog()
2894 char* buf = (char*) malloc(infoLen); in android_glGetProgramInfoLog()
2899 glGetProgramInfoLog(shader, infoLen, NULL, buf); in android_glGetProgramInfoLog()
3084 GLint infoLen = 0; in android_glGetShaderInfoLog() local
3085 glGetShaderiv(shader, GL_INFO_LOG_LENGTH, &infoLen); in android_glGetShaderInfoLog()
3086 if (!infoLen) { in android_glGetShaderInfoLog()
3089 char* buf = (char*) malloc(infoLen); in android_glGetShaderInfoLog()
3094 glGetShaderInfoLog(shader, infoLen, NULL, buf); in android_glGetShaderInfoLog()
Dandroid_opengl_GLES31.cpp2826 GLint infoLen = 0; in android_glGetProgramPipelineInfoLog() local
2827 glGetProgramPipelineiv(shader, GL_INFO_LOG_LENGTH, &infoLen); in android_glGetProgramPipelineInfoLog()
2828 if (!infoLen) { in android_glGetProgramPipelineInfoLog()
2831 char* buf = (char*) malloc(infoLen); in android_glGetProgramPipelineInfoLog()
2836 glGetProgramPipelineInfoLog(shader, infoLen, NULL, buf); in android_glGetProgramPipelineInfoLog()