Lines Matching refs:GLU_CHECK_CALL
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()
335 GLU_CHECK_CALL(glEnableVertexAttribArray(m_attrColorLoc)); in renderTriangle()
336 GLU_CHECK_CALL(glVertexAttribPointer(m_attrColorLoc, 4, GL_FLOAT, false, 0, &vertexColors[0])); in renderTriangle()
338 GLU_CHECK_CALL(glUseProgram(m_program->getProgram())); in renderTriangle()
339 GLU_CHECK_CALL(glDrawArrays(GL_TRIANGLES, 0, 3)); in renderTriangle()
384 GLU_CHECK_CALL(glEnableVertexAttribArray(m_attrPositionLoc)); in renderLine()
385 …GLU_CHECK_CALL(glVertexAttribPointer(m_attrPositionLoc, 4, GL_FLOAT, false, 0, &vertexPositions[0]… in renderLine()
387 GLU_CHECK_CALL(glEnableVertexAttribArray(m_attrColorLoc)); in renderLine()
388 GLU_CHECK_CALL(glVertexAttribPointer(m_attrColorLoc, 4, GL_FLOAT, false, 0, &vertexColors[0])); in renderLine()
390 GLU_CHECK_CALL(glUseProgram(m_program->getProgram())); in renderLine()
391 GLU_CHECK_CALL(glDrawArrays(GL_LINES, 0, 2)); in renderLine()
399 GLU_CHECK_CALL(glViewport(m_viewportX, m_viewportY, m_viewportSize, m_viewportSize)); in randomizeViewport()
406 GLU_CHECK_CALL(glBindFramebuffer(GL_DRAW_FRAMEBUFFER, m_resolveFbo)); in readImage()
407 …GLU_CHECK_CALL(glBlitFramebuffer(0, 0, m_renderWidth, m_renderHeight, 0, 0, m_renderWidth, m_rende… in readImage()
408 GLU_CHECK_CALL(glBindFramebuffer(GL_READ_FRAMEBUFFER, m_resolveFbo)); in readImage()
412 GLU_CHECK_CALL(glBindFramebuffer(GL_FRAMEBUFFER, m_msFbo)); in readImage()
452 …GLU_CHECK_CALL(glGetInternalformativ(GL_RENDERBUFFER, FBO_COLOR_FORMAT, GL_SAMPLES, 1, &m_numSampl… in init()
473 GLU_CHECK_CALL(m_attrPositionLoc = glGetAttribLocation(m_program->getProgram(), "a_position")); in init()
474 GLU_CHECK_CALL(m_attrColorLoc = glGetAttribLocation(m_program->getProgram(), "a_color")); in init()
487 GLU_CHECK_CALL(glGenRenderbuffers(1, &m_msColorRbo)); in init()
488 GLU_CHECK_CALL(glBindRenderbuffer(GL_RENDERBUFFER, m_msColorRbo)); in init()
495 …GLU_CHECK_CALL(glRenderbufferStorageMultisample(GL_RENDERBUFFER, m_numSamples, FBO_COLOR_FORMAT, m… in init()
500 …GLU_CHECK_CALL(glGetInternalformativ(GL_RENDERBUFFER, FBO_COLOR_FORMAT, GL_SAMPLES, 1, &maxSampleC… in init()
510 GLU_CHECK_CALL(glGenRenderbuffers(1, &m_msDepthStencilRbo)); in init()
511 GLU_CHECK_CALL(glBindRenderbuffer(GL_RENDERBUFFER, m_msDepthStencilRbo)); in init()
512 …GLU_CHECK_CALL(glRenderbufferStorageMultisample(GL_RENDERBUFFER, m_numSamples, GL_DEPTH24_STENCIL8… in init()
516 GLU_CHECK_CALL(glGenFramebuffers(1, &m_msFbo)); in init()
517 GLU_CHECK_CALL(glBindFramebuffer(GL_FRAMEBUFFER, m_msFbo)); in init()
518 …GLU_CHECK_CALL(glFramebufferRenderbuffer(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_RENDERBUFFER, m_… in init()
519 …GLU_CHECK_CALL(glFramebufferRenderbuffer(GL_FRAMEBUFFER, GL_DEPTH_STENCIL_ATTACHMENT, GL_RENDERBUF… in init()
522 GLU_CHECK_CALL(glGenRenderbuffers(1, &m_resolveColorRbo)); in init()
523 GLU_CHECK_CALL(glBindRenderbuffer(GL_RENDERBUFFER, m_resolveColorRbo)); in init()
524 …GLU_CHECK_CALL(glRenderbufferStorage(GL_RENDERBUFFER, FBO_COLOR_FORMAT, m_renderWidth, m_renderHei… in init()
527 GLU_CHECK_CALL(glGenFramebuffers(1, &m_resolveFbo)); in init()
528 GLU_CHECK_CALL(glBindFramebuffer(GL_FRAMEBUFFER, m_resolveFbo)); in init()
529 …GLU_CHECK_CALL(glFramebufferRenderbuffer(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_RENDERBUFFER, m_… in init()
532 GLU_CHECK_CALL(glBindFramebuffer(GL_FRAMEBUFFER, m_msFbo)); in init()
585 GLU_CHECK_CALL(glClearColor(0.0f, 0.0f, 0.0f, 1.0f)); in iterate()
586 GLU_CHECK_CALL(glClear(GL_COLOR_BUFFER_BIT)); in iterate()
790 GLU_CHECK_CALL(glEnable(GL_BLEND)); in init()
791 GLU_CHECK_CALL(glBlendEquation(GL_FUNC_ADD)); in init()
792 GLU_CHECK_CALL(glBlendFunc(GL_ONE, GL_ONE)); in init()
804 GLU_CHECK_CALL(glClearColor(0.0f, 0.0f, 0.0f, 1.0f)); in iterate()
805 GLU_CHECK_CALL(glClear(GL_COLOR_BUFFER_BIT)); in iterate()
1071 GLU_CHECK_CALL(glEnable(GL_DEPTH_TEST)); in init()
1072 GLU_CHECK_CALL(glDepthFunc(GL_LESS)); in init()
1080 GLU_CHECK_CALL(glClearColor(0.0f, 0.0f, 0.0f, 0.0f)); in renderPattern()
1081 GLU_CHECK_CALL(glClearDepthf(1.0f)); in renderPattern()
1082 GLU_CHECK_CALL(glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT)); in renderPattern()
1139 GLU_CHECK_CALL(glClearColor(0.0f, 0.0f, 0.0f, 1.0f)); in iterate()
1140 GLU_CHECK_CALL(glClearStencil(0)); in iterate()
1141 GLU_CHECK_CALL(glClear(GL_COLOR_BUFFER_BIT | GL_STENCIL_BUFFER_BIT)); in iterate()
1142 GLU_CHECK_CALL(glEnable(GL_STENCIL_TEST)); in iterate()
1143 GLU_CHECK_CALL(glStencilFunc(GL_ALWAYS, 1, 1)); in iterate()
1144 GLU_CHECK_CALL(glStencilOp(GL_KEEP, GL_KEEP, GL_REPLACE)); in iterate()
1167 GLU_CHECK_CALL(glClear(GL_COLOR_BUFFER_BIT)); in iterate()
1168 GLU_CHECK_CALL(glStencilFunc(GL_EQUAL, 1, 1)); in iterate()
1169 GLU_CHECK_CALL(glStencilOp(GL_KEEP, GL_KEEP, GL_KEEP)); in iterate()
1272 GLU_CHECK_CALL(glEnable(GL_SAMPLE_ALPHA_TO_COVERAGE)); in init()
1279 GLU_CHECK_CALL(glEnable(GL_SAMPLE_COVERAGE)); in init()
1295 GLU_CHECK_CALL(glColorMask(GL_TRUE, GL_TRUE, GL_TRUE, GL_TRUE)); in iterate()
1296 GLU_CHECK_CALL(glClearColor(0.0f, 0.0f, 0.0f, 1.0f)); in iterate()
1297 GLU_CHECK_CALL(glClear(GL_COLOR_BUFFER_BIT)); in iterate()
1301 GLU_CHECK_CALL(glColorMask(GL_TRUE, GL_TRUE, GL_TRUE, GL_FALSE)); in iterate()
1327 GLU_CHECK_CALL(glSampleCoverage(coverageValue, isInverted ? GL_TRUE : GL_FALSE)); in iterate()
1445 GLU_CHECK_CALL(glClearColor(0.0f, 0.0f, 0.0f, 1.0f)); in iterate()
1446 GLU_CHECK_CALL(glClear(GL_COLOR_BUFFER_BIT)); in iterate()
1450 GLU_CHECK_CALL(glEnable(GL_SAMPLE_ALPHA_TO_COVERAGE)); in iterate()
1451 GLU_CHECK_CALL(glColorMask(GL_TRUE, GL_TRUE, GL_TRUE, GL_FALSE)); in iterate()
1458 GLU_CHECK_CALL(glEnable(GL_SAMPLE_COVERAGE)); in iterate()
1489 …GLU_CHECK_CALL(glSampleCoverage(m_isInvertedSampleCoverageCase ? 1.0f - value : value, m_isInverte… in iterate()
1556 …GLU_CHECK_CALL(glSampleCoverage((float)i / (float)(numTriangles-1), invertSampleCoverage ? GL_TRUE… in drawPattern()
1579 GLU_CHECK_CALL(glEnable(GL_BLEND)); in iterate()
1580 GLU_CHECK_CALL(glBlendEquation(GL_FUNC_ADD)); in iterate()
1581 GLU_CHECK_CALL(glBlendFunc(GL_ONE, GL_ONE)); in iterate()
1585 GLU_CHECK_CALL(glClearColor(0.0f, 0.0f, 0.0f, 0.0f)); in iterate()
1586 GLU_CHECK_CALL(glClear(GL_COLOR_BUFFER_BIT)); in iterate()
1594 GLU_CHECK_CALL(glClear(GL_COLOR_BUFFER_BIT)); in iterate()
1595 GLU_CHECK_CALL(glEnable(GL_SAMPLE_COVERAGE)); in iterate()