Searched refs:infoLen (Results 1 - 17 of 17) sorted by relevance

/frameworks/native/opengl/tools/glgen/stubs/gles11/
H A DglGetShaderInfoLog.cpp5 GLint infoLen = 0; local
6 glGetShaderiv(shader, GL_INFO_LOG_LENGTH, &infoLen);
7 if (!infoLen) {
8 infoLen = 512;
10 char* buf = (char*) malloc(infoLen);
16 glGetShaderInfoLog(shader, infoLen, &outLen, buf);
H A DglGetProgramInfoLog.cpp5 GLint infoLen = 0; local
6 glGetProgramiv(shader, GL_INFO_LOG_LENGTH, &infoLen);
7 if (!infoLen) {
10 char* buf = (char*) malloc(infoLen);
15 glGetProgramInfoLog(shader, infoLen, NULL, buf);
H A DglGetProgramPipelineInfoLog.cpp5 GLint infoLen = 0; local
6 glGetProgramPipelineiv(shader, GL_INFO_LOG_LENGTH, &infoLen);
7 if (!infoLen) {
10 char* buf = (char*) malloc(infoLen);
15 glGetProgramPipelineInfoLog(shader, infoLen, NULL, buf);
/frameworks/base/libs/hwui/
H A DProgram.cpp60 GLint infoLen = 0; local
61 glGetProgramiv(mProgramId, GL_INFO_LOG_LENGTH, &infoLen);
62 if (infoLen > 1) {
63 GLchar log[infoLen];
64 glGetProgramInfoLog(mProgramId, infoLen, nullptr, &log[0]);
/frameworks/native/opengl/tests/gl2_jni/jni/
H A Dgl_code.cpp50 GLint infoLen = 0; local
51 glGetShaderiv(shader, GL_INFO_LOG_LENGTH, &infoLen);
52 if (infoLen) {
53 char* buf = (char*) malloc(infoLen);
55 glGetShaderInfoLog(shader, infoLen, NULL, buf);
/frameworks/native/opengl/tests/gldual/jni/
H A Dgl_code.cpp50 GLint infoLen = 0; local
51 glGetShaderiv(shader, GL_INFO_LOG_LENGTH, &infoLen);
52 if (infoLen) {
53 char* buf = (char*) malloc(infoLen);
55 glGetShaderInfoLog(shader, infoLen, NULL, buf);
/frameworks/native/services/surfaceflinger/RenderEngine/
H A DProgram.cpp44 GLint infoLen = 0; local
45 glGetProgramiv(programId, GL_INFO_LOG_LENGTH, &infoLen);
46 if (infoLen > 1) {
47 GLchar log[infoLen];
48 glGetProgramInfoLog(programId, infoLen, 0, &log[0]);
/frameworks/av/cmds/screenrecord/
H A DProgram.cpp152 GLint infoLen = 0; local
153 glGetShaderiv(shader, GL_INFO_LOG_LENGTH, &infoLen);
154 if (infoLen) {
155 char* buf = new char[infoLen];
157 glGetShaderInfoLog(shader, infoLen, NULL, buf);
/frameworks/native/libs/gui/tests/
H A DGLTest.cpp267 GLint infoLen = 0; local
268 glGetShaderiv(shader, GL_INFO_LOG_LENGTH, &infoLen);
270 if (infoLen) {
271 char* buf = (char*) malloc(infoLen);
273 glGetShaderInfoLog(shader, infoLen, NULL, buf);
/frameworks/native/opengl/tests/gl_perf/
H A Dfill_common.cpp41 GLint infoLen = 0; local
42 glGetShaderiv(shader, GL_INFO_LOG_LENGTH, &infoLen);
43 if (infoLen) {
44 char* buf = (char*) malloc(infoLen);
46 glGetShaderInfoLog(shader, infoLen, NULL, buf);
/frameworks/native/cmds/flatland/
H A DGLHelper.cpp303 GLint infoLen = 0; local
304 glGetShaderiv(shader, GL_INFO_LOG_LENGTH, &infoLen);
305 if (infoLen) {
306 char* buf = new char[infoLen];
308 glGetShaderInfoLog(shader, infoLen, NULL, buf);
/frameworks/native/opengl/tests/gl2_basic/
H A Dgl2_basic.cpp93 GLint infoLen = 0; local
94 glGetShaderiv(shader, GL_INFO_LOG_LENGTH, &infoLen);
95 if (infoLen) {
96 char* buf = (char*) malloc(infoLen);
98 glGetShaderInfoLog(shader, infoLen, NULL, buf);
/frameworks/native/opengl/tests/gl2_copyTexImage/
H A Dgl2_copyTexImage.cpp84 GLint infoLen = 0; local
85 glGetShaderiv(shader, GL_INFO_LOG_LENGTH, &infoLen);
86 if (infoLen) {
87 char* buf = (char*) malloc(infoLen);
89 glGetShaderInfoLog(shader, infoLen, NULL, buf);
/frameworks/native/opengl/tests/gl2_yuvtex/
H A Dgl2_yuvtex.cpp91 GLint infoLen = 0; local
92 glGetShaderiv(shader, GL_INFO_LOG_LENGTH, &infoLen);
93 if (infoLen) {
94 char* buf = (char*) malloc(infoLen);
96 glGetShaderInfoLog(shader, infoLen, NULL, buf);
/frameworks/rs/driver/
H A DrsdShader.cpp255 GLint infoLen = 0; local
256 RSD_CALL_GL(glGetShaderiv, mCurrentState->mShaderID, GL_INFO_LOG_LENGTH, &infoLen);
257 if (infoLen) {
258 char* buf = (char*) malloc(infoLen);
260 RSD_CALL_GL(glGetShaderInfoLog, mCurrentState->mShaderID, infoLen, nullptr, buf);
/frameworks/base/core/jni/
H A Dandroid_opengl_GLES20.cpp3021 GLint infoLen = 0; local
3022 glGetProgramiv(shader, GL_INFO_LOG_LENGTH, &infoLen);
3023 if (!infoLen) {
3026 char* buf = (char*) malloc(infoLen);
3031 glGetProgramInfoLog(shader, infoLen, NULL, buf);
3228 GLint infoLen = 0; local
3229 glGetShaderiv(shader, GL_INFO_LOG_LENGTH, &infoLen);
3230 if (!infoLen) {
3231 infoLen = 512;
3233 char* buf = (char*) malloc(infoLen);
[all...]
H A Dandroid_opengl_GLES31.cpp3222 GLint infoLen = 0; local
3223 glGetProgramPipelineiv(shader, GL_INFO_LOG_LENGTH, &infoLen);
3224 if (!infoLen) {
3227 char* buf = (char*) malloc(infoLen);
3232 glGetProgramPipelineInfoLog(shader, infoLen, NULL, buf);

Completed in 63 milliseconds