Home
last modified time | relevance | path

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

/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.cpp400 deInt32 infoLogLength = 0; in createGLES2Program() local
403 gl.getShaderiv(vertexShader, GL_INFO_LOG_LENGTH, &infoLogLength); in createGLES2Program()
405 vertexInfoLog.resize(infoLogLength, '\0'); in createGLES2Program()
407 …gl.getShaderInfoLog(vertexShader, (glw::GLsizei)vertexInfoLog.length(), &infoLogLength, &(vertexIn… in createGLES2Program()
410 vertexInfoLog.resize(infoLogLength); in createGLES2Program()
414 deInt32 infoLogLength = 0; in createGLES2Program() local
417 gl.getShaderiv(fragmentShader, GL_INFO_LOG_LENGTH, &infoLogLength); in createGLES2Program()
419 fragmentInfoLog.resize(infoLogLength, '\0'); in createGLES2Program()
421 …gl.getShaderInfoLog(fragmentShader, (glw::GLsizei)fragmentInfoLog.length(), &infoLogLength, &(frag… in createGLES2Program()
424 fragmentInfoLog.resize(infoLogLength); in createGLES2Program()
[all …]
/external/angle/util/
Dshader_utils.cpp153 GLint infoLogLength; in CompileShader() local
154 glGetShaderiv(shader, GL_INFO_LOG_LENGTH, &infoLogLength); in CompileShader()
158 if (infoLogLength > 1) in CompileShader()
160 std::vector<GLchar> infoLog(infoLogLength); in CompileShader()
201 GLint infoLogLength; in CheckLinkStatusAndReturnProgram() local
202 glGetProgramiv(program, GL_INFO_LOG_LENGTH, &infoLogLength); in CheckLinkStatusAndReturnProgram()
206 if (infoLogLength > 1) in CheckLinkStatusAndReturnProgram()
208 std::vector<GLchar> infoLog(infoLogLength); in CheckLinkStatusAndReturnProgram()
/external/angle/src/libANGLE/renderer/gl/
DShaderGL.cpp195 GLint infoLogLength = 0; in checkShader() local
196 functions->getShaderiv(mShaderID, GL_INFO_LOG_LENGTH, &infoLogLength); in checkShader()
200 if (infoLogLength > 1) in checkShader()
202 std::vector<char> buf(infoLogLength); in checkShader()
203 functions->getShaderInfoLog(mShaderID, infoLogLength, nullptr, &buf[0]); in checkShader()
DProgramGL.cpp973 GLint infoLogLength = 0; in checkLinkStatus() local
974 mFunctions->getProgramiv(mProgramID, GL_INFO_LOG_LENGTH, &infoLogLength); in checkLinkStatus()
978 if (infoLogLength > 1) in checkLinkStatus()
980 std::vector<char> buf(infoLogLength); in checkLinkStatus()
981 mFunctions->getProgramInfoLog(mProgramID, infoLogLength, nullptr, &buf[0]); in checkLinkStatus()
/external/angle/src/tests/gl_tests/
DParallelShaderCompileTest.cpp100 GLint infoLogLength; in checkShader() local
101 glGetShaderiv(shader, GL_INFO_LOG_LENGTH, &infoLogLength); in checkShader()
105 if (infoLogLength > 1) in checkShader()
107 std::vector<GLchar> infoLog(infoLogLength); in checkShader()
DProgramBinaryTest.cpp111 GLint infoLogLength; in saveAndLoadProgram() local
112 glGetProgramiv(loadedProgram, GL_INFO_LOG_LENGTH, &infoLogLength); in saveAndLoadProgram()
114 if (infoLogLength > 0) in saveAndLoadProgram()
116 std::vector<GLchar> infoLog(infoLogLength); in saveAndLoadProgram()
DGLSLTest.cpp448 GLint infoLogLength; in QueryErrorMessage() local
449 glGetProgramiv(program, GL_INFO_LOG_LENGTH, &infoLogLength); in QueryErrorMessage()
452 if (infoLogLength >= 1) in QueryErrorMessage()
454 std::vector<GLchar> infoLog(infoLogLength); in QueryErrorMessage()
2260 GLint infoLogLength; in TEST_P() local
2261 glGetShaderiv(shader, GL_INFO_LOG_LENGTH, &infoLogLength); in TEST_P()
2264 infoLog.resize(infoLogLength); in TEST_P()
/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/angle/src/libANGLE/
DGLES1Renderer.cpp559 GLint infoLogLength = shaderObject->getInfoLogLength(); in compileShader() local
560 std::vector<char> infoLog(infoLogLength, 0); in compileShader()
561 shaderObject->getInfoLog(infoLogLength - 1, nullptr, infoLog.data()); in compileShader()
602 GLint infoLogLength = programObject->getExecutable().getInfoLogLength(); in linkProgram() local
603 std::vector<char> infoLog(infoLogLength, 0); in linkProgram()
604 programObject->getExecutable().getInfoLog(infoLogLength - 1, nullptr, infoLog.data()); in linkProgram()
/external/deqp/modules/glshared/
DglsShaderLibraryCase.cpp647 glw::GLint infoLogLength; in beforeDrawCall() local
676 infoLogLength = 0; in beforeDrawCall()
679 m_gl.getProgramiv(m_target, GL_INFO_LOG_LENGTH, &infoLogLength); in beforeDrawCall()
681 m_gl.getProgramPipelineiv(m_target, GL_INFO_LOG_LENGTH, &infoLogLength); in beforeDrawCall()
687 if (infoLogLength <= 0) in beforeDrawCall()
693 …logBuffer.resize(infoLogLength + 2, '0'); // +1 for zero terminator (infoLogLength should include … in beforeDrawCall()
696 m_gl.getProgramInfoLog(m_target, infoLogLength + 1, &bytesWritten, &logBuffer[0]); in beforeDrawCall()
698 m_gl.getProgramPipelineInfoLog(m_target, infoLogLength + 1, &bytesWritten, &logBuffer[0]); in beforeDrawCall()