Home
last modified time | relevance | path

Searched refs:infoLogLength (Results 1 – 8 of 8) 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.cpp402 deInt32 infoLogLength = 0; in createGLES2Program() local
405 gl.getShaderiv(vertexShader, GL_INFO_LOG_LENGTH, &infoLogLength); in createGLES2Program()
407 vertexInfoLog.resize(infoLogLength, '\0'); in createGLES2Program()
409 …gl.getShaderInfoLog(vertexShader, (glw::GLsizei)vertexInfoLog.length(), &infoLogLength, &(vertexIn… in createGLES2Program()
412 vertexInfoLog.resize(infoLogLength); in createGLES2Program()
416 deInt32 infoLogLength = 0; in createGLES2Program() local
419 gl.getShaderiv(fragmentShader, GL_INFO_LOG_LENGTH, &infoLogLength); in createGLES2Program()
421 fragmentInfoLog.resize(infoLogLength, '\0'); in createGLES2Program()
423 …gl.getShaderInfoLog(fragmentShader, (glw::GLsizei)fragmentInfoLog.length(), &infoLogLength, &(frag… in createGLES2Program()
426 fragmentInfoLog.resize(infoLogLength); in createGLES2Program()
[all …]
/external/deqp/external/openglcts/modules/gl/
Dgl3cTransformFeedbackOverflowQueryTests.cpp1227 GLint infoLogLength = 0; in buildTransformFeedbackProgram() local
1228 gl.getShaderiv(vShader, GL_INFO_LOG_LENGTH, &infoLogLength); in buildTransformFeedbackProgram()
1230 std::vector<char> infoLogBuf(infoLogLength + 1); in buildTransformFeedbackProgram()
1253 GLint infoLogLength = 0; in buildTransformFeedbackProgram() local
1254 gl.getShaderiv(gShader, GL_INFO_LOG_LENGTH, &infoLogLength); in buildTransformFeedbackProgram()
1256 std::vector<char> infoLogBuf(infoLogLength + 1); in buildTransformFeedbackProgram()
1275 GLint infoLogLength = 0; in buildTransformFeedbackProgram() local
1276 gl.getProgramiv(m_program, GL_INFO_LOG_LENGTH, &infoLogLength); in buildTransformFeedbackProgram()
1278 std::vector<char> infoLogBuf(infoLogLength + 1); in buildTransformFeedbackProgram()
/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()