Lines Matching refs:GLU_CHECK_CALL
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()
299 GLU_CHECK_CALL(glVertexAttribPointer(m_attrColorLoc, 4, GL_FLOAT, false, 0, &vertexColors[0])); in renderLine()
301 GLU_CHECK_CALL(glUseProgram(m_program->getProgram())); in renderLine()
302 GLU_CHECK_CALL(glDrawArrays(GL_LINES, 0, 2)); in renderLine()
310 GLU_CHECK_CALL(glViewport(m_viewportX, m_viewportY, m_viewportSize, m_viewportSize)); in randomizeViewport()
350 GLU_CHECK_CALL(m_attrPositionLoc = glGetAttribLocation(m_program->getProgram(), "a_position")); in init()
351 GLU_CHECK_CALL(m_attrColorLoc = glGetAttribLocation(m_program->getProgram(), "a_color")); in init()
427 GLU_CHECK_CALL(glClearColor(0.0f, 0.0f, 0.0f, 1.0f)); in iterate()
428 GLU_CHECK_CALL(glClear(GL_COLOR_BUFFER_BIT)); in iterate()
627 GLU_CHECK_CALL(glEnable(GL_BLEND)); in init()
628 GLU_CHECK_CALL(glBlendEquation(GL_FUNC_ADD)); in init()
629 GLU_CHECK_CALL(glBlendFunc(GL_ONE, GL_ONE)); in init()
642 GLU_CHECK_CALL(glClearColor(0.0f, 0.0f, 0.0f, 1.0f)); in iterate()
643 GLU_CHECK_CALL(glClear(GL_COLOR_BUFFER_BIT)); in iterate()
909 GLU_CHECK_CALL(glEnable(GL_DEPTH_TEST)); in init()
910 GLU_CHECK_CALL(glDepthFunc(GL_LESS)); in init()
918 GLU_CHECK_CALL(glClearColor(0.0f, 0.0f, 0.0f, 0.0f)); in renderPattern()
919 GLU_CHECK_CALL(glClearDepthf(1.0f)); in renderPattern()
920 GLU_CHECK_CALL(glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT)); in renderPattern()
980 GLU_CHECK_CALL(glClearColor(0.0f, 0.0f, 0.0f, 1.0f)); in iterate()
981 GLU_CHECK_CALL(glClearStencil(0)); in iterate()
982 GLU_CHECK_CALL(glClear(GL_COLOR_BUFFER_BIT | GL_STENCIL_BUFFER_BIT)); in iterate()
983 GLU_CHECK_CALL(glEnable(GL_STENCIL_TEST)); in iterate()
984 GLU_CHECK_CALL(glStencilFunc(GL_ALWAYS, 1, 1)); in iterate()
985 GLU_CHECK_CALL(glStencilOp(GL_KEEP, GL_KEEP, GL_REPLACE)); in iterate()
1008 GLU_CHECK_CALL(glClear(GL_COLOR_BUFFER_BIT)); in iterate()
1009 GLU_CHECK_CALL(glStencilFunc(GL_EQUAL, 1, 1)); in iterate()
1010 GLU_CHECK_CALL(glStencilOp(GL_KEEP, GL_KEEP, GL_KEEP)); in iterate()
1116 GLU_CHECK_CALL(glEnable(GL_SAMPLE_ALPHA_TO_COVERAGE)); in init()
1123 GLU_CHECK_CALL(glEnable(GL_SAMPLE_COVERAGE)); in init()
1139 GLU_CHECK_CALL(glColorMask(GL_TRUE, GL_TRUE, GL_TRUE, GL_TRUE)); in iterate()
1140 GLU_CHECK_CALL(glClearColor(0.0f, 0.0f, 0.0f, 1.0f)); in iterate()
1141 GLU_CHECK_CALL(glClear(GL_COLOR_BUFFER_BIT)); in iterate()
1145 GLU_CHECK_CALL(glColorMask(GL_TRUE, GL_TRUE, GL_TRUE, GL_FALSE)); in iterate()
1171 GLU_CHECK_CALL(glSampleCoverage(coverageValue, isInverted ? GL_TRUE : GL_FALSE)); in iterate()
1292 GLU_CHECK_CALL(glClearColor(0.0f, 0.0f, 0.0f, 1.0f)); in iterate()
1293 GLU_CHECK_CALL(glClear(GL_COLOR_BUFFER_BIT)); in iterate()
1297 GLU_CHECK_CALL(glEnable(GL_SAMPLE_ALPHA_TO_COVERAGE)); in iterate()
1298 GLU_CHECK_CALL(glColorMask(GL_TRUE, GL_TRUE, GL_TRUE, GL_FALSE)); in iterate()
1305 GLU_CHECK_CALL(glEnable(GL_SAMPLE_COVERAGE)); in iterate()
1336 …GLU_CHECK_CALL(glSampleCoverage(m_isInvertedSampleCoverageCase ? 1.0f - value : value, m_isInverte… in iterate()
1406 …GLU_CHECK_CALL(glSampleCoverage((float)i / (float)(numTriangles-1), invertSampleCoverage ? GL_TRUE… in drawPattern()
1429 GLU_CHECK_CALL(glEnable(GL_BLEND)); in iterate()
1430 GLU_CHECK_CALL(glBlendEquation(GL_FUNC_ADD)); in iterate()
1431 GLU_CHECK_CALL(glBlendFunc(GL_ONE, GL_ONE)); in iterate()
1435 GLU_CHECK_CALL(glClearColor(0.0f, 0.0f, 0.0f, 0.0f)); in iterate()
1436 GLU_CHECK_CALL(glClear(GL_COLOR_BUFFER_BIT)); in iterate()
1444 GLU_CHECK_CALL(glClear(GL_COLOR_BUFFER_BIT)); in iterate()
1445 GLU_CHECK_CALL(glEnable(GL_SAMPLE_COVERAGE)); in iterate()