/external/deqp/modules/glshared/ |
D | glsMemoryStressCase.cpp | 196 GLU_CHECK_CALL(glGenVertexArrays(1, &m_vao)); in TextureRenderer() 198 GLU_CHECK_CALL(glGenBuffers(1, &m_coordBuffer)); in TextureRenderer() 199 GLU_CHECK_CALL(glBindBuffer(GL_ARRAY_BUFFER, m_coordBuffer)); in TextureRenderer() 200 GLU_CHECK_CALL(glBufferData(GL_ARRAY_BUFFER, sizeof(s_quadCoords), s_quadCoords, GL_STATIC_DRAW)); in TextureRenderer() 202 GLU_CHECK_CALL(glGenBuffers(1, &m_indexBuffer)); in TextureRenderer() 203 GLU_CHECK_CALL(glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, m_indexBuffer)); in TextureRenderer() 204 …GLU_CHECK_CALL(glBufferData(GL_ELEMENT_ARRAY_BUFFER, sizeof(s_quadIndices), s_quadIndices, GL_STAT… in TextureRenderer() 225 GLU_CHECK_CALL(glUseProgram(m_program->getProgram())); in render() 232 GLU_CHECK_CALL(glBindVertexArray(m_vao)); in render() 234 GLU_CHECK_CALL(glEnableVertexAttribArray(coordLoc)); in render() [all …]
|
D | glsRandomShaderCase.cpp | 486 GLU_CHECK_CALL(glUseProgram(program.getProgram())); in iterate()
|
/external/deqp/modules/gles3/functional/ |
D | es3fPixelBufferObjectTests.cpp | 301 GLU_CHECK_CALL(glUseProgram(m_program->getProgram())); in renderTriangle() 310 GLU_CHECK_CALL(glUniform1f(colorScaleLoc, m_colorScale)); in renderTriangle() 318 GLU_CHECK_CALL(glEnableVertexAttribArray(colorLoc)); in renderTriangle() 319 GLU_CHECK_CALL(glEnableVertexAttribArray(coordLoc)); in renderTriangle() 321 GLU_CHECK_CALL(glVertexAttribPointer(coordLoc, 3, GL_FLOAT, GL_FALSE, 0, positions)); in renderTriangle() 322 GLU_CHECK_CALL(glVertexAttribPointer(colorLoc, 4, GL_FLOAT, GL_FALSE, 0, colors)); in renderTriangle() 324 GLU_CHECK_CALL(glDrawArrays(GL_TRIANGLES, 0, 3)); in renderTriangle() 326 GLU_CHECK_CALL(glDisableVertexAttribArray(colorLoc)); in renderTriangle() 327 GLU_CHECK_CALL(glDisableVertexAttribArray(coordLoc)); in renderTriangle() 336 GLU_CHECK_CALL(glClearColor(r, g, b, a)); in clearColor() [all …]
|
D | es3fMultisampleTests.cpp | 86 GLU_CHECK_CALL(glGetIntegerv(name, &result)); in getGLInteger() 286 GLU_CHECK_CALL(glBindRenderbuffer(GL_RENDERBUFFER, 0)); in deinit() 287 GLU_CHECK_CALL(glBindFramebuffer(GL_FRAMEBUFFER, 0)); in deinit() 291 GLU_CHECK_CALL(glDeleteRenderbuffers(1, &m_msColorRbo)); in deinit() 296 GLU_CHECK_CALL(glDeleteRenderbuffers(1, &m_msDepthStencilRbo)); in deinit() 301 GLU_CHECK_CALL(glDeleteRenderbuffers(1, &m_resolveColorRbo)); in deinit() 307 GLU_CHECK_CALL(glDeleteFramebuffers(1, &m_msFbo)); in deinit() 312 GLU_CHECK_CALL(glDeleteFramebuffers(1, &m_resolveFbo)); in deinit() 332 GLU_CHECK_CALL(glEnableVertexAttribArray(m_attrPositionLoc)); in renderTriangle() 333 …GLU_CHECK_CALL(glVertexAttribPointer(m_attrPositionLoc, 4, GL_FLOAT, false, 0, &vertexPositions[0]… in renderTriangle() [all …]
|
D | es3fReadPixelsTests.cpp | 150 GLU_CHECK_CALL(glUseProgram(program.getProgram())); in render() 169 GLU_CHECK_CALL(glEnableVertexAttribArray(coordLoc)); in render() 171 GLU_CHECK_CALL(glVertexAttribPointer(coordLoc, 2, GL_FLOAT, GL_FALSE, 0, coords)); in render() 173 GLU_CHECK_CALL(glDrawArrays(GL_TRIANGLES, 0, 6)); in render() 174 GLU_CHECK_CALL(glDisableVertexAttribArray(coordLoc)); in render() 208 GLU_CHECK_CALL(glGetIntegerv(GL_IMPLEMENTATION_COLOR_READ_FORMAT, &m_format)); in getFormatInfo() 209 GLU_CHECK_CALL(glGetIntegerv(GL_IMPLEMENTATION_COLOR_READ_TYPE, &m_type)); in getFormatInfo() 231 GLU_CHECK_CALL(glGenRenderbuffers(1, &renderbuffer)); in clearColor() 232 GLU_CHECK_CALL(glBindRenderbuffer(GL_RENDERBUFFER, renderbuffer)); in clearColor() 233 GLU_CHECK_CALL(glRenderbufferStorage(GL_RENDERBUFFER, GL_RGBA32UI, m_width, m_height)); in clearColor() [all …]
|
D | es3fVertexArrayObjectTests.cpp | 229 GLU_CHECK_CALL(glGenBuffers(1, &buffer)); in init() 232 GLU_CHECK_CALL(glBindBuffer(GL_ARRAY_BUFFER, buffer)); in init() 233 …GLU_CHECK_CALL(glBufferData(GL_ARRAY_BUFFER, m_spec.buffers[bufferNdx].size, data, GL_DYNAMIC_DRAW… in init() 234 GLU_CHECK_CALL(glBindBuffer(GL_ARRAY_BUFFER, 0)); in init() 260 GLU_CHECK_CALL(glDeleteBuffers((GLsizei)m_buffers.size(), &(m_buffers[0]))); in deinit() 548 GLU_CHECK_CALL(glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, m_buffers[state.elementArrayBuffer])); in setState() 552 GLU_CHECK_CALL(glBindBuffer(GL_ARRAY_BUFFER, m_buffers[state.attributes[attribNdx].bufferNdx])); in setState() 554 GLU_CHECK_CALL(glEnableVertexAttribArray(attribNdx)); in setState() 556 GLU_CHECK_CALL(glDisableVertexAttribArray(attribNdx)); in setState() 559 …GLU_CHECK_CALL(glVertexAttribIPointer(attribNdx, state.attributes[attribNdx].size, state.attribute… in setState() [all …]
|
D | es3fBlendTests.cpp | 216 GLU_CHECK_CALL(glGenRenderbuffers(1, &m_colorRbo)); in init() 217 GLU_CHECK_CALL(glBindRenderbuffer(GL_RENDERBUFFER, m_colorRbo)); in init() 218 …GLU_CHECK_CALL(glRenderbufferStorage(GL_RENDERBUFFER, GL_SRGB8_ALPHA8, m_renderWidth, m_renderHeig… in init() 220 GLU_CHECK_CALL(glGenFramebuffers(1, &m_fbo)); in init() 221 GLU_CHECK_CALL(glBindFramebuffer(GL_FRAMEBUFFER, m_fbo)); in init() 222 …GLU_CHECK_CALL(glFramebufferRenderbuffer(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_RENDERBUFFER, m_… in init() 241 GLU_CHECK_CALL(glBindRenderbuffer(GL_RENDERBUFFER, 0)); in deinit() 242 GLU_CHECK_CALL(glBindFramebuffer(GL_FRAMEBUFFER, 0)); in deinit() 246 GLU_CHECK_CALL(glDeleteRenderbuffers(1, &m_colorRbo)); in deinit() 251 GLU_CHECK_CALL(glDeleteFramebuffers(1, &m_fbo)); in deinit() [all …]
|
D | es3fUniformApiTests.cpp | 1421 GLU_CHECK_CALL(glActiveTexture(GL_TEXTURE0 + value.val.samplerV.unit)); in setupTexture() 1424 GLU_CHECK_CALL(glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_S, GL_CLAMP_TO_EDGE)); in setupTexture() 1425 GLU_CHECK_CALL(glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_T, GL_CLAMP_TO_EDGE)); in setupTexture() 1426 GLU_CHECK_CALL(glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_NEAREST)); in setupTexture() 1427 GLU_CHECK_CALL(glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_NEAREST)); in setupTexture() 1443 GLU_CHECK_CALL(glActiveTexture(GL_TEXTURE0 + value.val.samplerV.unit)); in setupTexture() 1446 GLU_CHECK_CALL(glTexParameteri(GL_TEXTURE_CUBE_MAP, GL_TEXTURE_WRAP_S, GL_CLAMP_TO_EDGE)); in setupTexture() 1447 GLU_CHECK_CALL(glTexParameteri(GL_TEXTURE_CUBE_MAP, GL_TEXTURE_WRAP_T, GL_CLAMP_TO_EDGE)); in setupTexture() 1448 GLU_CHECK_CALL(glTexParameteri(GL_TEXTURE_CUBE_MAP, GL_TEXTURE_MIN_FILTER, GL_NEAREST)); in setupTexture() 1449 GLU_CHECK_CALL(glTexParameteri(GL_TEXTURE_CUBE_MAP, GL_TEXTURE_MAG_FILTER, GL_NEAREST)); in setupTexture() [all …]
|
D | es3fDitheringTests.cpp | 254 GLU_CHECK_CALL(glViewport(viewportX, viewportY, viewportWid, viewportHei)); in drawAndCheckGradient() 259 GLU_CHECK_CALL(glEnable(GL_DITHER)); in drawAndCheckGradient() 261 GLU_CHECK_CALL(glDisable(GL_DITHER)); in drawAndCheckGradient() 368 GLU_CHECK_CALL(glViewport(viewportX, viewportY, viewportWid, viewportHei)); in drawAndCheckUnicoloredQuad() 373 GLU_CHECK_CALL(glEnable(GL_DITHER)); in drawAndCheckUnicoloredQuad() 375 GLU_CHECK_CALL(glDisable(GL_DITHER)); in drawAndCheckUnicoloredQuad()
|
D | es3fApiCase.cpp | 107 GLU_CHECK_CALL(glGetIntegerv(numSupportedValues, &numFormats)); in getSupportedExtensions() 114 GLU_CHECK_CALL(glGetIntegerv(extension, &values[0])); in getSupportedExtensions()
|
D | es3fLifetimeTests.cpp | 520 GLU_CHECK_CALL(glUseProgram(program.getProgram())); in iterate() 521 GLU_CHECK_CALL(glGenTransformFeedbacks(1, &tf)); in iterate() 522 GLU_CHECK_CALL(glBindTransformFeedback(GL_TRANSFORM_FEEDBACK, tf)); in iterate() 523 GLU_CHECK_CALL(glBindBufferBase(GL_TRANSFORM_FEEDBACK_BUFFER, 0, *buf)); in iterate() 524 …GLU_CHECK_CALL(glBufferData(GL_TRANSFORM_FEEDBACK_BUFFER, 3 * sizeof(glw::GLfloat[4]), DE_NULL, GL… in iterate() 542 GLU_CHECK_CALL(glDeleteTransformFeedbacks(1, &tf)); in iterate()
|
D | es3fShaderApiTests.cpp | 1165 …GLU_CHECK_CALL(glGetProgramBinary(program, (GLsizei)out.data.size(), &actualLength, &format, &(out… in getProgramBinary()
|
/external/deqp/modules/gles2/functional/ |
D | es2fMultisampleTests.cpp | 84 GLU_CHECK_CALL(glGetIntegerv(name, &result)); in getGLInteger() 243 GLU_CHECK_CALL(glEnableVertexAttribArray(m_attrPositionLoc)); in renderTriangle() 244 …GLU_CHECK_CALL(glVertexAttribPointer(m_attrPositionLoc, 4, GL_FLOAT, false, 0, &vertexPositions[0]… in renderTriangle() 246 GLU_CHECK_CALL(glEnableVertexAttribArray(m_attrColorLoc)); in renderTriangle() 247 GLU_CHECK_CALL(glVertexAttribPointer(m_attrColorLoc, 4, GL_FLOAT, false, 0, &vertexColors[0])); in renderTriangle() 249 GLU_CHECK_CALL(glUseProgram(m_program->getProgram())); in renderTriangle() 250 GLU_CHECK_CALL(glDrawArrays(GL_TRIANGLES, 0, 3)); in renderTriangle() 295 GLU_CHECK_CALL(glEnableVertexAttribArray(m_attrPositionLoc)); in renderLine() 296 …GLU_CHECK_CALL(glVertexAttribPointer(m_attrPositionLoc, 4, GL_FLOAT, false, 0, &vertexPositions[0]… in renderLine() 298 GLU_CHECK_CALL(glEnableVertexAttribArray(m_attrColorLoc)); in renderLine() [all …]
|
D | es2fReadPixelsTests.cpp | 97 GLU_CHECK_CALL(glUseProgram(program.getProgram())); in render() 116 GLU_CHECK_CALL(glEnableVertexAttribArray(coordLoc)); in render() 118 GLU_CHECK_CALL(glVertexAttribPointer(coordLoc, 2, GL_FLOAT, GL_FALSE, 0, coords)); in render() 120 GLU_CHECK_CALL(glDrawArrays(GL_TRIANGLES, 0, 6)); in render() 121 GLU_CHECK_CALL(glDisableVertexAttribArray(coordLoc)); in render() 148 GLU_CHECK_CALL(glGetIntegerv(GL_IMPLEMENTATION_COLOR_READ_FORMAT, &glFormat)); in getFormatInfo() 149 GLU_CHECK_CALL(glGetIntegerv(GL_IMPLEMENTATION_COLOR_READ_TYPE, &glType)); in getFormatInfo() 187 GLU_CHECK_CALL(glViewport(0, 0, width, height)); in iterate() 199 GLU_CHECK_CALL(glClearColor(red, green, blue, alpha)); in iterate() 200 GLU_CHECK_CALL(glClear(GL_COLOR_BUFFER_BIT)); in iterate() [all …]
|
D | es2fUniformApiTests.cpp | 1223 GLU_CHECK_CALL(glActiveTexture(GL_TEXTURE0 + value.val.samplerV.unit)); in setupTexture() 1226 GLU_CHECK_CALL(glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_S, GL_CLAMP_TO_EDGE)); in setupTexture() 1227 GLU_CHECK_CALL(glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_T, GL_CLAMP_TO_EDGE)); in setupTexture() 1228 GLU_CHECK_CALL(glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_NEAREST)); in setupTexture() 1229 GLU_CHECK_CALL(glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_NEAREST)); in setupTexture() 1245 GLU_CHECK_CALL(glActiveTexture(GL_TEXTURE0 + value.val.samplerV.unit)); in setupTexture() 1249 GLU_CHECK_CALL(glTexParameteri(GL_TEXTURE_CUBE_MAP, GL_TEXTURE_WRAP_S, GL_CLAMP_TO_EDGE)); in setupTexture() 1250 GLU_CHECK_CALL(glTexParameteri(GL_TEXTURE_CUBE_MAP, GL_TEXTURE_WRAP_T, GL_CLAMP_TO_EDGE)); in setupTexture() 1251 GLU_CHECK_CALL(glTexParameteri(GL_TEXTURE_CUBE_MAP, GL_TEXTURE_MIN_FILTER, GL_NEAREST)); in setupTexture() 1252 GLU_CHECK_CALL(glTexParameteri(GL_TEXTURE_CUBE_MAP, GL_TEXTURE_MAG_FILTER, GL_NEAREST)); in setupTexture() [all …]
|
D | es2fDitheringTests.cpp | 254 GLU_CHECK_CALL(glViewport(viewportX, viewportY, viewportWid, viewportHei)); in drawAndCheckGradient() 259 GLU_CHECK_CALL(glEnable(GL_DITHER)); in drawAndCheckGradient() 261 GLU_CHECK_CALL(glDisable(GL_DITHER)); in drawAndCheckGradient() 370 GLU_CHECK_CALL(glViewport(viewportX, viewportY, viewportWid, viewportHei)); in drawAndCheckUnicoloredQuad() 375 GLU_CHECK_CALL(glEnable(GL_DITHER)); in drawAndCheckUnicoloredQuad() 377 GLU_CHECK_CALL(glDisable(GL_DITHER)); in drawAndCheckUnicoloredQuad()
|
D | es2fApiCase.cpp | 105 GLU_CHECK_CALL(glGetIntegerv(numSupportedValues, &numFormats)); in getSupportedExtensions() 112 GLU_CHECK_CALL(glGetIntegerv(extension, &values[0])); in getSupportedExtensions()
|
D | es2fBlendTests.cpp | 231 GLU_CHECK_CALL(glBlendEquationSeparate(paramSet.equationRGB, paramSet.equationAlpha)); in iterate() 232 …GLU_CHECK_CALL(glBlendFuncSeparate(paramSet.srcFuncRGB, paramSet.dstFuncRGB, paramSet.srcFuncAlpha… in iterate() 233 …GLU_CHECK_CALL(glBlendColor(paramSet.blendColor.x(), paramSet.blendColor.y(), paramSet.blendColor.… in iterate()
|
/external/deqp/modules/gles31/functional/ |
D | es31fProgramUniformTests.cpp | 1237 GLU_CHECK_CALL(glActiveTexture(GL_TEXTURE0 + value.val.samplerV.unit)); in setupTexture() 1240 GLU_CHECK_CALL(glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_S, GL_CLAMP_TO_EDGE)); in setupTexture() 1241 GLU_CHECK_CALL(glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_T, GL_CLAMP_TO_EDGE)); in setupTexture() 1242 GLU_CHECK_CALL(glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_NEAREST)); in setupTexture() 1243 GLU_CHECK_CALL(glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_NEAREST)); in setupTexture() 1258 GLU_CHECK_CALL(glActiveTexture(GL_TEXTURE0 + value.val.samplerV.unit)); in setupTexture() 1261 GLU_CHECK_CALL(glTexParameteri(GL_TEXTURE_CUBE_MAP, GL_TEXTURE_WRAP_S, GL_CLAMP_TO_EDGE)); in setupTexture() 1262 GLU_CHECK_CALL(glTexParameteri(GL_TEXTURE_CUBE_MAP, GL_TEXTURE_WRAP_T, GL_CLAMP_TO_EDGE)); in setupTexture() 1263 GLU_CHECK_CALL(glTexParameteri(GL_TEXTURE_CUBE_MAP, GL_TEXTURE_MIN_FILTER, GL_NEAREST)); in setupTexture() 1264 GLU_CHECK_CALL(glTexParameteri(GL_TEXTURE_CUBE_MAP, GL_TEXTURE_MAG_FILTER, GL_NEAREST)); in setupTexture() [all …]
|
D | es31fBooleanStateQueryTests.cpp | 83 GLU_CHECK_CALL(glEnable(m_targetName)); in iterate() 87 GLU_CHECK_CALL(glDisable(m_targetName)); in iterate()
|
D | es31fSeparateShaderTests.cpp | 1322 GLU_CHECK_CALL(glDrawArrays(GL_TRIANGLES, 0, 3)); in drawSurface() 1465 LOG_CALL(GLU_CHECK_CALL(glGetProgramPipelineiv(pipeName, GL_VERTEX_SHADER, &queryVtx))); in testPipelineQueryPrograms() 1469 LOG_CALL(GLU_CHECK_CALL(glGetProgramPipelineiv(pipeName, GL_FRAGMENT_SHADER, &queryFrg))); in testPipelineQueryPrograms() 1482 LOG_CALL(GLU_CHECK_CALL(glGetProgramPipelineiv(pipeName, GL_ACTIVE_PROGRAM, &queryActive))); in testPipelineQueryActive() 1491 LOG_CALL(GLU_CHECK_CALL(glGetProgramPipelineiv(pipeName, GL_ACTIVE_PROGRAM, &queryActive))); in testPipelineQueryActive()
|
/external/deqp/modules/egl/ |
D | teglImageTests.cpp | 450 GLU_CHECK_CALL(glBindTexture(GL_TEXTURE_2D, srcTex)); in iterate() 451 …GLU_CHECK_CALL(glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, 64, 64, 0, GL_RGBA, GL_UNSIGNED_BYTE, DE_NU… in iterate() 452 GLU_CHECK_CALL(glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_LINEAR)); in iterate() 471 GLU_CHECK_CALL(glBindTexture(GL_TEXTURE_2D, dstTex)); in iterate() 472 GLU_CHECK_CALL(glEGLImageTargetTexture2DOES(GL_TEXTURE_2D, (GLeglImageOES)image)); in iterate() 473 GLU_CHECK_CALL(glDeleteTextures(1, &dstTex)); in iterate() 482 GLU_CHECK_CALL(glBindRenderbuffer(GL_RENDERBUFFER, dstRbo)); in iterate() 483 GLU_CHECK_CALL(glEGLImageTargetRenderbufferStorageOES(GL_RENDERBUFFER, (GLeglImageOES)image)); in iterate() 484 GLU_CHECK_CALL(glDeleteRenderbuffers(1, &dstRbo)); in iterate() 491 GLU_CHECK_CALL(glDeleteTextures(1, &srcTex)); in iterate()
|
/external/deqp/framework/opengl/ |
D | gluDefs.hpp | 34 #define GLU_CHECK_CALL(CALL) do { CALL; GLU_EXPECT_NO_ERROR(glGetError(), #CALL); } while (deGetF… macro
|
/external/deqp/modules/gles2/ |
D | tes2CapabilityTests.cpp | 56 GLU_CHECK_CALL(glGetIntegerv(m_param, &value)); in iterate()
|