Home
last modified time | relevance | path

Searched refs:bufLength (Results 1 – 10 of 10) sorted by relevance

/frameworks/native/opengl/tests/gldual/jni/
Dgl_code.cpp89 GLint bufLength = 0; in createProgram() local
90 glGetProgramiv(program, GL_INFO_LOG_LENGTH, &bufLength); in createProgram()
91 if (bufLength) { in createProgram()
92 char* buf = (char*) malloc(bufLength); in createProgram()
94 glGetProgramInfoLog(program, bufLength, NULL, buf); in createProgram()
/frameworks/native/opengl/tests/gl2_jni/jni/
Dgl_code.cpp89 GLint bufLength = 0; in createProgram() local
90 glGetProgramiv(program, GL_INFO_LOG_LENGTH, &bufLength); in createProgram()
91 if (bufLength) { in createProgram()
92 char* buf = (char*) malloc(bufLength); in createProgram()
94 glGetProgramInfoLog(program, bufLength, NULL, buf); in createProgram()
/frameworks/av/cmds/screenrecord/
DProgram.cpp183 GLint bufLength = 0; in linkShaderProgram() local
184 glGetProgramiv(program, GL_INFO_LOG_LENGTH, &bufLength); in linkShaderProgram()
185 if (bufLength) { in linkShaderProgram()
186 char* buf = new char[bufLength]; in linkShaderProgram()
188 glGetProgramInfoLog(program, bufLength, NULL, buf); in linkShaderProgram()
/frameworks/native/opengl/tests/gl_perf/
Dfill_common.cpp91 GLint bufLength = 0; in createProgram() local
92 glGetProgramiv(program, GL_INFO_LOG_LENGTH, &bufLength); in createProgram()
93 if (bufLength) { in createProgram()
94 char* buf = (char*) malloc(bufLength); in createProgram()
96 glGetProgramInfoLog(program, bufLength, NULL, buf); in createProgram()
/frameworks/rs/driver/
DrsdShaderCache.cpp160 GLint bufLength = 0; in link() local
161 glGetProgramiv(pgm, GL_INFO_LOG_LENGTH, &bufLength); in link()
162 if (bufLength) { in link()
163 char* buf = (char*) malloc(bufLength); in link()
165 glGetProgramInfoLog(pgm, bufLength, nullptr, buf); in link()
/frameworks/native/libs/gui/tests/
DGLTest.cpp320 GLint bufLength = 0; in createProgram() local
321 glGetProgramiv(program, GL_INFO_LOG_LENGTH, &bufLength); in createProgram()
322 if (bufLength) { in createProgram()
323 char* buf = (char*) malloc(bufLength); in createProgram()
325 glGetProgramInfoLog(program, bufLength, nullptr, buf); in createProgram()
/frameworks/native/opengl/tests/gl2_basic/
Dgl2_basic.cpp132 GLint bufLength = 0; in createProgram() local
133 glGetProgramiv(program, GL_INFO_LOG_LENGTH, &bufLength); in createProgram()
134 if (bufLength) { in createProgram()
135 char* buf = (char*) malloc(bufLength); in createProgram()
137 glGetProgramInfoLog(program, bufLength, NULL, buf); in createProgram()
/frameworks/native/opengl/tests/gl2_yuvtex/
Dgl2_yuvtex.cpp139 GLint bufLength = 0; in createProgram() local
140 glGetProgramiv(program, GL_INFO_LOG_LENGTH, &bufLength); in createProgram()
141 if (bufLength) { in createProgram()
142 char* buf = (char*) malloc(bufLength); in createProgram()
144 glGetProgramInfoLog(program, bufLength, NULL, buf); in createProgram()
/frameworks/native/cmds/flatland/
DGLHelper.cpp373 GLint bufLength = 0; in linkShaderProgram() local
374 glGetProgramiv(program, GL_INFO_LOG_LENGTH, &bufLength); in linkShaderProgram()
375 if (bufLength) { in linkShaderProgram()
376 char* buf = new char[bufLength]; in linkShaderProgram()
378 glGetProgramInfoLog(program, bufLength, nullptr, buf); in linkShaderProgram()
/frameworks/native/opengl/tests/gl2_copyTexImage/
Dgl2_copyTexImage.cpp123 GLint bufLength = 0; in createProgram() local
124 glGetProgramiv(program, GL_INFO_LOG_LENGTH, &bufLength); in createProgram()
125 if (bufLength) { in createProgram()
126 char* buf = (char*) malloc(bufLength); in createProgram()
128 glGetProgramInfoLog(program, bufLength, NULL, buf); in createProgram()