Lines Matching refs:GLU_CHECK_CALL
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()
337 GLU_CHECK_CALL(glClear(GL_COLOR_BUFFER_BIT)); in clearColor()
345 GLU_CHECK_CALL(glClearColor(r, g, b, a)); in clearColor()
346 GLU_CHECK_CALL(glClear(GL_COLOR_BUFFER_BIT)); in clearColor()
354 GLU_CHECK_CALL(glClearBufferiv(GL_COLOR, 0, color)); in clearColor()
362 GLU_CHECK_CALL(glClearBufferuiv(GL_COLOR, 0, color)); in clearColor()
370 GLU_CHECK_CALL(glClearBufferfv(GL_COLOR, 0, color)); in clearColor()
394 GLU_CHECK_CALL(glBindFramebuffer(GL_FRAMEBUFFER, framebuffer)); in iterate()
399 GLU_CHECK_CALL(glGenFramebuffers(1, &framebuffer)); in iterate()
400 GLU_CHECK_CALL(glGenRenderbuffers(1, &renderbuffer)); in iterate()
402 GLU_CHECK_CALL(glBindRenderbuffer(GL_RENDERBUFFER, renderbuffer)); in iterate()
403 GLU_CHECK_CALL(glRenderbufferStorage(GL_RENDERBUFFER, m_renderbufferFormat, width, height)); in iterate()
405 GLU_CHECK_CALL(glBindFramebuffer(GL_FRAMEBUFFER, framebuffer)); in iterate()
406 …GLU_CHECK_CALL(glFramebufferRenderbuffer(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_RENDERBUFFER, re… in iterate()
438 GLU_CHECK_CALL(glEnable(GL_SCISSOR_TEST)); in iterate()
439 GLU_CHECK_CALL(glScissor(clearX, clearY, clearWidth, clearHeight)); in iterate()
444 GLU_CHECK_CALL(glDisable(GL_SCISSOR_TEST)); in iterate()
543 GLU_CHECK_CALL(glGenBuffers(1, &pixelBuffer)); in iterate()
544 GLU_CHECK_CALL(glBindBuffer(GL_PIXEL_PACK_BUFFER, pixelBuffer)); in iterate()
545 GLU_CHECK_CALL(glBufferData(GL_PIXEL_PACK_BUFFER, readDataSize, NULL, GL_STREAM_READ)); in iterate()
547 GLU_CHECK_CALL(glReadPixels(0, 0, width, height, readPixelsFormat, readPixelsType, 0)); in iterate()
554 GLU_CHECK_CALL(glBindBuffer(GL_PIXEL_PACK_BUFFER, 0)); in iterate()
556 …GLU_CHECK_CALL(glReadPixels(0, 0, width, height, readPixelsFormat, readPixelsType, readRefrence.ge… in iterate()
559 GLU_CHECK_CALL(glDeleteFramebuffers(1, &framebuffer)); in iterate()
562 GLU_CHECK_CALL(glDeleteRenderbuffers(1, &renderbuffer)); in iterate()
582 GLU_CHECK_CALL(glBindBuffer(GL_PIXEL_PACK_BUFFER, pixelBuffer)); in iterate()
583 GLU_CHECK_CALL(glUnmapBuffer(GL_PIXEL_PACK_BUFFER)); in iterate()
584 GLU_CHECK_CALL(glDeleteBuffers(1, &pixelBuffer)); in iterate()