Home
last modified time | relevance | path

Searched refs:infoLogLength (Results 1 – 7 of 7) sorted by relevance

/external/swiftshader/third_party/PowerVR_SDK/Examples/Beginner/01_HelloAPI/OGLES2/
DOGLES2HelloAPI_LinuxX11.cpp472 int infoLogLength, charactersWritten; in InitialiseShaders() local
473 glGetShaderiv(fragmentShader, GL_INFO_LOG_LENGTH, &infoLogLength); in InitialiseShaders()
476 char* infoLog = new char[infoLogLength]; in InitialiseShaders()
477 glGetShaderInfoLog(fragmentShader, infoLogLength, &charactersWritten, infoLog); in InitialiseShaders()
480 infoLogLength>1 ? printf("%s", infoLog) : printf("Failed to compile fragment shader."); in InitialiseShaders()
515 int infoLogLength, charactersWritten; in InitialiseShaders() local
516 glGetShaderiv(vertexShader, GL_INFO_LOG_LENGTH, &infoLogLength); in InitialiseShaders()
519 char* infoLog = new char[infoLogLength]; in InitialiseShaders()
520 glGetShaderInfoLog(vertexShader, infoLogLength, &charactersWritten, infoLog); in InitialiseShaders()
523 infoLogLength>1 ? printf("%s", infoLog) : printf("Failed to compile vertex shader."); in InitialiseShaders()
[all …]
DOGLES2HelloAPI_OSX.mm374 int infoLogLength, charactersWritten;
375 glGetShaderiv(fragmentShader, GL_INFO_LOG_LENGTH, &infoLogLength);
378 char* infoLog = new char[infoLogLength];
379 glGetShaderInfoLog(fragmentShader, infoLogLength, &charactersWritten, infoLog);
382 infoLogLength>1 ? printf("%s", infoLog) : printf("Failed to compile fragment shader.");
417 int infoLogLength, charactersWritten;
418 glGetShaderiv(vertexShader, GL_INFO_LOG_LENGTH, &infoLogLength);
421 char* infoLog = new char[infoLogLength];
422 glGetShaderInfoLog(vertexShader, infoLogLength, &charactersWritten, infoLog);
425 infoLogLength>1 ? printf("%s", infoLog) : printf("Failed to compile vertex shader.");
[all …]
/external/deqp/modules/egl/
DteglSwapBuffersTests.cpp164 deInt32 infoLogLength = 0; in createGLES2Program() local
167 gl.getShaderiv(vertexShader, GL_INFO_LOG_LENGTH, &infoLogLength); in createGLES2Program()
169 vertexInfoLog.resize(infoLogLength, '\0'); in createGLES2Program()
171 …gl.getShaderInfoLog(vertexShader, (glw::GLsizei)vertexInfoLog.length(), &infoLogLength, &(vertexIn… in createGLES2Program()
174 vertexInfoLog.resize(infoLogLength); in createGLES2Program()
178 deInt32 infoLogLength = 0; in createGLES2Program() local
181 gl.getShaderiv(fragmentShader, GL_INFO_LOG_LENGTH, &infoLogLength); in createGLES2Program()
183 fragmentInfoLog.resize(infoLogLength, '\0'); in createGLES2Program()
185 …gl.getShaderInfoLog(fragmentShader, (glw::GLsizei)fragmentInfoLog.length(), &infoLogLength, &(frag… in createGLES2Program()
188 fragmentInfoLog.resize(infoLogLength); in createGLES2Program()
[all …]
DteglNativeColorMappingTests.cpp132 deInt32 infoLogLength = 0; in createGLES2Program() local
135 gl.getShaderiv(vertexShader, GL_INFO_LOG_LENGTH, &infoLogLength); in createGLES2Program()
137 vertexInfoLog.resize(infoLogLength, '\0'); in createGLES2Program()
139 …gl.getShaderInfoLog(vertexShader, (glw::GLsizei)vertexInfoLog.length(), &infoLogLength, &(vertexIn… in createGLES2Program()
142 vertexInfoLog.resize(infoLogLength); in createGLES2Program()
146 deInt32 infoLogLength = 0; in createGLES2Program() local
149 gl.getShaderiv(fragmentShader, GL_INFO_LOG_LENGTH, &infoLogLength); in createGLES2Program()
151 fragmentInfoLog.resize(infoLogLength, '\0'); in createGLES2Program()
153 …gl.getShaderInfoLog(fragmentShader, (glw::GLsizei)fragmentInfoLog.length(), &infoLogLength, &(frag… in createGLES2Program()
156 fragmentInfoLog.resize(infoLogLength); in createGLES2Program()
[all …]
DteglNativeCoordMappingTests.cpp132 deInt32 infoLogLength = 0; in createGLES2Program() local
135 gl.getShaderiv(vertexShader, GL_INFO_LOG_LENGTH, &infoLogLength); in createGLES2Program()
137 vertexInfoLog.resize(infoLogLength, '\0'); in createGLES2Program()
139 …gl.getShaderInfoLog(vertexShader, (glw::GLsizei)vertexInfoLog.length(), &infoLogLength, &(vertexIn… in createGLES2Program()
142 vertexInfoLog.resize(infoLogLength); in createGLES2Program()
146 deInt32 infoLogLength = 0; in createGLES2Program() local
149 gl.getShaderiv(fragmentShader, GL_INFO_LOG_LENGTH, &infoLogLength); in createGLES2Program()
151 fragmentInfoLog.resize(infoLogLength, '\0'); in createGLES2Program()
153 …gl.getShaderInfoLog(fragmentShader, (glw::GLsizei)fragmentInfoLog.length(), &infoLogLength, &(frag… in createGLES2Program()
156 fragmentInfoLog.resize(infoLogLength); in createGLES2Program()
[all …]
DteglGetFrameTimestampsTests.cpp406 deInt32 infoLogLength = 0; in createGLES2Program() local
409 gl.getShaderiv(vertexShader, GL_INFO_LOG_LENGTH, &infoLogLength); in createGLES2Program()
411 vertexInfoLog.resize(infoLogLength, '\0'); in createGLES2Program()
413 …gl.getShaderInfoLog(vertexShader, (glw::GLsizei)vertexInfoLog.length(), &infoLogLength, &(vertexIn… in createGLES2Program()
416 vertexInfoLog.resize(infoLogLength); in createGLES2Program()
420 deInt32 infoLogLength = 0; in createGLES2Program() local
423 gl.getShaderiv(fragmentShader, GL_INFO_LOG_LENGTH, &infoLogLength); in createGLES2Program()
425 fragmentInfoLog.resize(infoLogLength, '\0'); in createGLES2Program()
427 …gl.getShaderInfoLog(fragmentShader, (glw::GLsizei)fragmentInfoLog.length(), &infoLogLength, &(frag… in createGLES2Program()
430 fragmentInfoLog.resize(infoLogLength); in createGLES2Program()
[all …]
/external/deqp/modules/glshared/
DglsShaderLibraryCase.cpp643 glw::GLint infoLogLength; in beforeDrawCall() local
672 infoLogLength = 0; in beforeDrawCall()
675 m_gl.getProgramiv(m_target, GL_INFO_LOG_LENGTH, &infoLogLength); in beforeDrawCall()
677 m_gl.getProgramPipelineiv(m_target, GL_INFO_LOG_LENGTH, &infoLogLength); in beforeDrawCall()
683 if (infoLogLength <= 0) in beforeDrawCall()
689 …logBuffer.resize(infoLogLength + 2, '0'); // +1 for zero terminator (infoLogLength should include … in beforeDrawCall()
692 m_gl.getProgramInfoLog(m_target, infoLogLength + 1, &bytesWritten, &logBuffer[0]); in beforeDrawCall()
694 m_gl.getProgramPipelineInfoLog(m_target, infoLogLength + 1, &bytesWritten, &logBuffer[0]); in beforeDrawCall()