Lines Matching refs:GLU_CHECK_GLW_CALL
324 GLU_CHECK_GLW_CALL(m_gl, genBuffers(1, &m_glBuffer)); in createResource()
325 GLU_CHECK_GLW_CALL(m_gl, bindBuffer(GL_ARRAY_BUFFER, m_glBuffer)); in createResource()
326 …GLU_CHECK_GLW_CALL(m_gl, bufferData(GL_ARRAY_BUFFER, (GLsizei)(m_buffer.size() * sizeof(GLubyte)),… in createResource()
327 GLU_CHECK_GLW_CALL(m_gl, bindBuffer(GL_ARRAY_BUFFER, 0)); in createResource()
332 GLU_CHECK_GLW_CALL(m_gl, deleteBuffers(1, &m_glBuffer)); in destroyResource()
398 GLU_CHECK_GLW_CALL(m_gl, viewport(0, 0, width, height)); in renderResource()
400 GLU_CHECK_GLW_CALL(m_gl, clearColor(1.0f, 0.0f, 0.0f, 1.0f)); in renderResource()
401 GLU_CHECK_GLW_CALL(m_gl, clear(GL_COLOR_BUFFER_BIT)); in renderResource()
403 GLU_CHECK_GLW_CALL(m_gl, useProgram(program.getProgram())); in renderResource()
413 GLU_CHECK_GLW_CALL(m_gl, enableVertexAttribArray(colorLocation)); in renderResource()
414 GLU_CHECK_GLW_CALL(m_gl, enableVertexAttribArray(gridLocation)); in renderResource()
416 GLU_CHECK_GLW_CALL(m_gl, bindBuffer(GL_ARRAY_BUFFER, m_glBuffer)); in renderResource()
417 …GLU_CHECK_GLW_CALL(m_gl, vertexAttribPointer(colorLocation, 1, GL_UNSIGNED_BYTE, GL_TRUE, 0, DE_NU… in renderResource()
418 GLU_CHECK_GLW_CALL(m_gl, bindBuffer(GL_ARRAY_BUFFER, 0)); in renderResource()
420 …GLU_CHECK_GLW_CALL(m_gl, vertexAttribPointer(gridLocation, 2, GL_FLOAT, GL_FALSE, 0, &(coords[0]))… in renderResource()
422 …GLU_CHECK_GLW_CALL(m_gl, drawElements(GL_TRIANGLES, (GLsizei)indices.size(), GL_UNSIGNED_SHORT, &(… in renderResource()
423 GLU_CHECK_GLW_CALL(m_gl, disableVertexAttribArray(colorLocation)); in renderResource()
424 GLU_CHECK_GLW_CALL(m_gl, disableVertexAttribArray(gridLocation)); in renderResource()
426 GLU_CHECK_GLW_CALL(m_gl, useProgram(0)); in renderResource()
497 GLU_CHECK_GLW_CALL(m_gl, genTextures(1, &m_glTexture)); in createResource()
498 GLU_CHECK_GLW_CALL(m_gl, bindTexture(GL_TEXTURE_2D, m_glTexture)); in createResource()
499 GLU_CHECK_GLW_CALL(m_gl, texParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_S, GL_REPEAT)); in createResource()
500 GLU_CHECK_GLW_CALL(m_gl, texParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_T, GL_REPEAT)); in createResource()
501 GLU_CHECK_GLW_CALL(m_gl, texParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_LINEAR)); in createResource()
502 GLU_CHECK_GLW_CALL(m_gl, texParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_LINEAR)); in createResource()
503 …GLU_CHECK_GLW_CALL(m_gl, texImage2D(GL_TEXTURE_2D, 0, GL_RGBA, width, height, 0, GL_RGBA, GL_UNSIG… in createResource()
504 GLU_CHECK_GLW_CALL(m_gl, bindTexture(GL_TEXTURE_2D, 0)); in createResource()
509 GLU_CHECK_GLW_CALL(m_gl, deleteTextures(1, &m_glTexture)); in destroyResource()
567 GLU_CHECK_GLW_CALL(m_gl, viewport(0, 0, width, height)); in renderResource()
569 GLU_CHECK_GLW_CALL(m_gl, clearColor(1.0f, 0.0f, 0.0f, 1.0f)); in renderResource()
570 GLU_CHECK_GLW_CALL(m_gl, clear(GL_COLOR_BUFFER_BIT)); in renderResource()
572 GLU_CHECK_GLW_CALL(m_gl, useProgram(program.getProgram())); in renderResource()
587 GLU_CHECK_GLW_CALL(m_gl, activeTexture(GL_TEXTURE0)); in renderResource()
588 GLU_CHECK_GLW_CALL(m_gl, bindTexture(GL_TEXTURE_2D, m_glTexture)); in renderResource()
590 GLU_CHECK_GLW_CALL(m_gl, uniform1i(samplerLocation, 0)); in renderResource()
592 GLU_CHECK_GLW_CALL(m_gl, enableVertexAttribArray(texCoordLocation)); in renderResource()
593 GLU_CHECK_GLW_CALL(m_gl, enableVertexAttribArray(coordLocation)); in renderResource()
595 …GLU_CHECK_GLW_CALL(m_gl, vertexAttribPointer(texCoordLocation, 2, GL_FLOAT, GL_FALSE, 0, texCoords… in renderResource()
596 GLU_CHECK_GLW_CALL(m_gl, vertexAttribPointer(coordLocation, 2, GL_FLOAT, GL_FALSE, 0, coords)); in renderResource()
598 GLU_CHECK_GLW_CALL(m_gl, drawElements(GL_TRIANGLES, 6, GL_UNSIGNED_SHORT, indices)); in renderResource()
599 GLU_CHECK_GLW_CALL(m_gl, disableVertexAttribArray(coordLocation)); in renderResource()
600 GLU_CHECK_GLW_CALL(m_gl, disableVertexAttribArray(texCoordLocation)); in renderResource()
602 GLU_CHECK_GLW_CALL(m_gl, bindTexture(GL_TEXTURE_2D, 0)); in renderResource()
603 GLU_CHECK_GLW_CALL(m_gl, useProgram(0)); in renderResource()
712 GLU_CHECK_GLW_CALL(m_gl, viewport(0, 0, width, height)); in renderResource()
714 GLU_CHECK_GLW_CALL(m_gl, clearColor(1.0f, 0.0f, 0.0f, 1.0f)); in renderResource()
715 GLU_CHECK_GLW_CALL(m_gl, clear(GL_COLOR_BUFFER_BIT)); in renderResource()
717 GLU_CHECK_GLW_CALL(m_gl, useProgram(m_program->getProgram())); in renderResource()
727 GLU_CHECK_GLW_CALL(m_gl, enableVertexAttribArray(colorLocation)); in renderResource()
728 GLU_CHECK_GLW_CALL(m_gl, enableVertexAttribArray(coordLocation)); in renderResource()
730 GLU_CHECK_GLW_CALL(m_gl, vertexAttribPointer(colorLocation, 4, GL_FLOAT, GL_FALSE, 0, colors)); in renderResource()
731 GLU_CHECK_GLW_CALL(m_gl, vertexAttribPointer(coordLocation, 2, GL_FLOAT, GL_FALSE, 0, coords)); in renderResource()
733 GLU_CHECK_GLW_CALL(m_gl, drawElements(GL_TRIANGLES, 6, GL_UNSIGNED_SHORT, indices)); in renderResource()
734 GLU_CHECK_GLW_CALL(m_gl, disableVertexAttribArray(coordLocation)); in renderResource()
735 GLU_CHECK_GLW_CALL(m_gl, disableVertexAttribArray(colorLocation)); in renderResource()
736 GLU_CHECK_GLW_CALL(m_gl, useProgram(0)); in renderResource()
829 GLU_CHECK_GLW_CALL(m_gl, shaderSource(m_shader, 1, &vertexShader, DE_NULL)); in createResource()
833 GLU_CHECK_GLW_CALL(m_gl, shaderSource(m_shader, 1, &fragmentShader, DE_NULL)); in createResource()
840 GLU_CHECK_GLW_CALL(m_gl, compileShader(m_shader)); in createResource()
843 GLU_CHECK_GLW_CALL(m_gl, getShaderiv(m_shader, GL_COMPILE_STATUS, &status)); in createResource()
848 GLU_CHECK_GLW_CALL(m_gl, getShaderInfoLog(m_shader, 256, DE_NULL, buffer)); in createResource()
873 GLU_CHECK_GLW_CALL(m_gl, deleteShader(m_shader)); in destroyResource()
908 GLU_CHECK_GLW_CALL(m_gl, shaderSource(otherShader, 1, &fragmentShader, DE_NULL)); in renderResource()
914 GLU_CHECK_GLW_CALL(m_gl, shaderSource(otherShader, 1, &vertexShader, DE_NULL)); in renderResource()
921 GLU_CHECK_GLW_CALL(m_gl, compileShader(otherShader)); in renderResource()
924 GLU_CHECK_GLW_CALL(m_gl, getShaderiv(otherShader, GL_COMPILE_STATUS, &status)); in renderResource()
929 GLU_CHECK_GLW_CALL(m_gl, getShaderInfoLog(otherShader, 256, DE_NULL, buffer)); in renderResource()
954 GLU_CHECK_GLW_CALL(m_gl, attachShader(program, m_shader)); in renderResource()
955 GLU_CHECK_GLW_CALL(m_gl, attachShader(program, otherShader)); in renderResource()
957 GLU_CHECK_GLW_CALL(m_gl, linkProgram(program)); in renderResource()
958 GLU_CHECK_GLW_CALL(m_gl, deleteShader(otherShader)); in renderResource()
961 GLU_CHECK_GLW_CALL(m_gl, getProgramiv(program, GL_LINK_STATUS, &status)); in renderResource()
966 GLU_CHECK_GLW_CALL(m_gl, getProgramInfoLog(program, 256, DE_NULL, buffer)); in renderResource()
1001 GLU_CHECK_GLW_CALL(m_gl, viewport(0, 0, width, height)); in renderResource()
1003 GLU_CHECK_GLW_CALL(m_gl, clearColor(1.0f, 0.0f, 0.0f, 1.0f)); in renderResource()
1004 GLU_CHECK_GLW_CALL(m_gl, clear(GL_COLOR_BUFFER_BIT)); in renderResource()
1006 GLU_CHECK_GLW_CALL(m_gl, useProgram(program)); in renderResource()
1016 GLU_CHECK_GLW_CALL(m_gl, enableVertexAttribArray(colorLocation)); in renderResource()
1017 GLU_CHECK_GLW_CALL(m_gl, enableVertexAttribArray(coordLocation)); in renderResource()
1019 GLU_CHECK_GLW_CALL(m_gl, vertexAttribPointer(colorLocation, 4, GL_FLOAT, GL_FALSE, 0, colors)); in renderResource()
1020 GLU_CHECK_GLW_CALL(m_gl, vertexAttribPointer(coordLocation, 2, GL_FLOAT, GL_FALSE, 0, coords)); in renderResource()
1022 GLU_CHECK_GLW_CALL(m_gl, drawElements(GL_TRIANGLES, 6, GL_UNSIGNED_SHORT, indices)); in renderResource()
1023 GLU_CHECK_GLW_CALL(m_gl, disableVertexAttribArray(coordLocation)); in renderResource()
1024 GLU_CHECK_GLW_CALL(m_gl, disableVertexAttribArray(colorLocation)); in renderResource()
1025 GLU_CHECK_GLW_CALL(m_gl, useProgram(0)); in renderResource()