Lines Matching refs:m_gl
570 glw::Functions& m_gl; member in deqp::egl::__anone81a73400111::ContextReset
586 : m_gl (gl) in ContextReset()
593 : m_gl (gl) in ContextReset()
603 GLU_CHECK_GLW_CALL(m_gl, finish()); in finish()
609 error = m_gl.getError(); in getError()
617 resetStatus = m_gl.getGraphicsResetStatus(); in getGraphicsResetStatus()
656 m_gl.getGraphicsResetStatus(); in ~FixedFunctionOOB()
688 glu::ShaderProgram program(m_gl, genSources()); in setup()
695 GLU_CHECK_GLW_CALL(m_gl, useProgram(program.getProgram())); in setup()
705 m_coordLocation = m_gl.getAttribLocation(program.getProgram(), "a_position"); in setup()
706 GLU_CHECK_GLW_MSG(m_gl, "glGetAttribLocation()"); in setup()
711 GLU_CHECK_GLW_CALL(m_gl, genBuffers(1, &m_coordinatesBuffer)); in setup()
712 GLU_CHECK_GLW_CALL(m_gl, bindBuffer(GL_ARRAY_BUFFER, m_coordinatesBuffer)); in setup()
713 …GLU_CHECK_GLW_CALL(m_gl, bufferData(GL_ARRAY_BUFFER, (glw::GLsizeiptr)sizeof(coords), coords, GL_S… in setup()
714 GLU_CHECK_GLW_CALL(m_gl, enableVertexAttribArray(m_coordLocation)); in setup()
715 GLU_CHECK_GLW_CALL(m_gl, vertexAttribPointer(m_coordLocation, 2, GL_FLOAT, GL_FALSE, 0, DE_NULL)); in setup()
723 m_gl.drawElements(GL_TRIANGLES, 6, GL_UNSIGNED_INT, bad_indices); in draw()
725 m_gl.drawArrays(GL_TRIANGLES, 0, 1000); in draw()
734 GLU_CHECK_GLW_CALL(m_gl, disableVertexAttribArray(m_coordLocation)); in teardown()
740 GLU_CHECK_GLW_CALL(m_gl, deleteBuffers(1, &m_coordinatesBuffer)); in teardown()
744 GLU_CHECK_GLW_CALL(m_gl, useProgram(0)); in teardown()
793 m_gl.getGraphicsResetStatus(); in ~ShadersOOB()
1007 …GLU_CHECK_GLW_CALL(m_gl, getIntegerv(isVertex ? GL_MAX_VERTEX_SHADER_STORAGE_BLOCKS : GL_MAX_FRAGM… in setup()
1013 glu::ShaderProgram program(m_gl, genSources()); in setup()
1020 GLU_CHECK_GLW_CALL(m_gl, useProgram(program.getProgram())); in setup()
1022 const glw::GLint indexLocation = m_gl.getUniformLocation(program.getProgram(), "u_index"); in setup()
1023 GLU_CHECK_GLW_MSG(m_gl, "glGetUniformLocation()"); in setup()
1027 GLU_CHECK_GLW_CALL(m_gl, uniform1i(indexLocation, index)); in setup()
1040 m_coordLocation = m_gl.getAttribLocation(program.getProgram(), "a_position"); in setup()
1041 GLU_CHECK_GLW_MSG(m_gl, "glGetAttribLocation()"); in setup()
1046 GLU_CHECK_GLW_CALL(m_gl, genBuffers(1, &m_coordinatesBuffer)); in setup()
1047 GLU_CHECK_GLW_CALL(m_gl, bindBuffer(GL_ARRAY_BUFFER, m_coordinatesBuffer)); in setup()
1048 …GLU_CHECK_GLW_CALL(m_gl, bufferData(GL_ARRAY_BUFFER, (glw::GLsizeiptr)sizeof(coords), coords, GL_S… in setup()
1049 GLU_CHECK_GLW_CALL(m_gl, enableVertexAttribArray(m_coordLocation)); in setup()
1050 GLU_CHECK_GLW_CALL(m_gl, vertexAttribPointer(m_coordLocation, 2, GL_FLOAT, GL_FALSE, 0, DE_NULL)); in setup()
1059 GLU_CHECK_GLW_CALL(m_gl, genBuffers((glw::GLsizei)1u, &m_buffers[0])); in setup()
1061 GLU_CHECK_GLW_CALL(m_gl, bindBuffer(GL_SHADER_STORAGE_BUFFER, m_buffers[0])); in setup()
1062 …GLU_CHECK_GLW_CALL(m_gl, bufferData(GL_SHADER_STORAGE_BUFFER, sizeof(tcu::Vec4), &(refValues[0]), … in setup()
1063 GLU_CHECK_GLW_CALL(m_gl, bindBufferBase(GL_SHADER_STORAGE_BUFFER, 0, m_buffers[0])); in setup()
1068 GLU_CHECK_GLW_CALL(m_gl, genBuffers((glw::GLsizei)m_buffers.size(), &m_buffers[0])); in setup()
1076 GLU_CHECK_GLW_CALL(m_gl, bindBuffer(resType, m_buffers[bufNdx])); in setup()
1077 …GLU_CHECK_GLW_CALL(m_gl, bufferData(resType, sizeof(tcu::Vec4), &(refValues[bufNdx]), GL_STATIC_DR… in setup()
1078 GLU_CHECK_GLW_CALL(m_gl, bindBufferBase(resType, bufNdx, m_buffers[bufNdx])); in setup()
1086 m_gl.dispatchCompute(1, 1, 1); in draw()
1090 m_gl.drawElements(GL_TRIANGLES, 6, GL_UNSIGNED_INT, indices); in draw()
1100 GLU_CHECK_GLW_CALL(m_gl, disableVertexAttribArray(m_coordLocation)); in teardown()
1107 GLU_CHECK_GLW_CALL(m_gl, deleteBuffers(1, &m_coordinatesBuffer)); in teardown()
1115 GLU_CHECK_GLW_CALL(m_gl, deleteBuffers((glw::GLsizei)m_buffers.size(), &m_buffers[0])); in teardown()
1120 GLU_CHECK_GLW_CALL(m_gl, useProgram(0)); in teardown()