Lines Matching refs:m_gl

593 	glw::Functions&		m_gl;  member in deqp::egl::__anon80c5ce610111::ContextReset
609 : m_gl (gl) in ContextReset()
616 : m_gl (gl) in ContextReset()
625 : m_gl (gl) in ContextReset()
633 GLU_CHECK_GLW_CALL(m_gl, finish()); in finish()
638 m_sync = m_gl.fenceSync(GL_SYNC_GPU_COMMANDS_COMPLETE, 0); in createSyncObject()
639 GLU_EXPECT_NO_ERROR(m_gl.getError(), "glFenceSync()"); in createSyncObject()
645 error = m_gl.getError(); in getError()
653 resetStatus = m_gl.getGraphicsResetStatus(); in getGraphicsResetStatus()
661 m_gl.getSynciv(m_sync, GL_SYNC_STATUS, sizeof(glw::GLint), NULL, &syncStatus); in getSyncStatus()
668 GLU_CHECK_GLW_CALL(m_gl, genQueries(1, &m_queryID)); in beginQuery()
669 GLU_CHECK_GLW_CALL(m_gl, beginQuery(GL_ANY_SAMPLES_PASSED, m_queryID)); in beginQuery()
674 GLU_CHECK_GLW_CALL(m_gl, endQuery(GL_ANY_SAMPLES_PASSED)); in endQuery()
680 m_gl.getQueryObjectuiv(m_queryID, GL_QUERY_RESULT_AVAILABLE, &queryReady); in getQueryAvailability()
718 m_gl.getGraphicsResetStatus(); in ~InfiniteLoop()
823 glu::ShaderProgram program (m_gl, genSources()); in setup()
829 GLU_CHECK_GLW_CALL(m_gl, useProgram(program.getProgram())); in setup()
835 GLU_CHECK_GLW_CALL(m_gl, genBuffers(1, &m_outputBuffer)); in setup()
836 GLU_CHECK_GLW_CALL(m_gl, bindBuffer(GL_SHADER_STORAGE_BUFFER, m_outputBuffer)); in setup()
837 …GLU_CHECK_GLW_CALL(m_gl, bufferData(GL_SHADER_STORAGE_BUFFER, sizeof(int), DE_NULL, GL_DYNAMIC_DRA… in setup()
838 GLU_CHECK_GLW_CALL(m_gl, bindBufferBase(GL_SHADER_STORAGE_BUFFER, 0, m_outputBuffer)); in setup()
850 m_coordLocation = m_gl.getAttribLocation(program.getProgram(), "a_position"); in setup()
851 GLU_CHECK_GLW_MSG(m_gl, "glGetAttribLocation()"); in setup()
856 GLU_CHECK_GLW_CALL(m_gl, genBuffers(1, &m_coordinatesBuffer)); in setup()
857 GLU_CHECK_GLW_CALL(m_gl, bindBuffer(GL_ARRAY_BUFFER, m_coordinatesBuffer)); in setup()
858 …GLU_CHECK_GLW_CALL(m_gl, bufferData(GL_ARRAY_BUFFER, (glw::GLsizeiptr)sizeof(coords), coords, GL_S… in setup()
859 GLU_CHECK_GLW_CALL(m_gl, enableVertexAttribArray(m_coordLocation)); in setup()
860 GLU_CHECK_GLW_CALL(m_gl, vertexAttribPointer(m_coordLocation, 2, GL_FLOAT, GL_FALSE, 0, DE_NULL)); in setup()
863 glw::GLint iterCountLocation = m_gl.getUniformLocation(program.getProgram(), "u_iterCount"); in setup()
864 GLU_CHECK_GLW_MSG(m_gl, "glGetUniformLocation()"); in setup()
869 GLU_CHECK_GLW_CALL(m_gl, uniform1i(iterCountLocation, iterCount)); in setup()
875 m_gl.dispatchCompute(1, 1, 1); in draw()
879 m_gl.drawElements(GL_TRIANGLES, 6, GL_UNSIGNED_SHORT, indices); in draw()
889 GLU_CHECK_GLW_CALL(m_gl, disableVertexAttribArray(m_coordLocation)); in teardown()
896 GLU_CHECK_GLW_CALL(m_gl, deleteBuffers(1, &m_outputBuffer)); in teardown()
902 GLU_CHECK_GLW_CALL(m_gl, deleteBuffers(1, &m_coordinatesBuffer)); in teardown()
906 GLU_CHECK_GLW_CALL(m_gl, useProgram(0)); in teardown()
943 m_gl.getGraphicsResetStatus(); in ~FixedFunctionOOB()
975 glu::ShaderProgram program(m_gl, genSources()); in setup()
982 GLU_CHECK_GLW_CALL(m_gl, useProgram(program.getProgram())); in setup()
992 m_coordLocation = m_gl.getAttribLocation(program.getProgram(), "a_position"); in setup()
993 GLU_CHECK_GLW_MSG(m_gl, "glGetAttribLocation()"); in setup()
998 GLU_CHECK_GLW_CALL(m_gl, genBuffers(1, &m_coordinatesBuffer)); in setup()
999 GLU_CHECK_GLW_CALL(m_gl, bindBuffer(GL_ARRAY_BUFFER, m_coordinatesBuffer)); in setup()
1000 …GLU_CHECK_GLW_CALL(m_gl, bufferData(GL_ARRAY_BUFFER, (glw::GLsizeiptr)sizeof(coords), coords, GL_S… in setup()
1001 GLU_CHECK_GLW_CALL(m_gl, enableVertexAttribArray(m_coordLocation)); in setup()
1002 GLU_CHECK_GLW_CALL(m_gl, vertexAttribPointer(m_coordLocation, 2, GL_FLOAT, GL_FALSE, 0, DE_NULL)); in setup()
1010 m_gl.drawElements(GL_TRIANGLES, 6, GL_UNSIGNED_INT, bad_indices); in draw()
1012 m_gl.drawArrays(GL_TRIANGLES, 0, 1000); in draw()
1021 GLU_CHECK_GLW_CALL(m_gl, disableVertexAttribArray(m_coordLocation)); in teardown()
1027 GLU_CHECK_GLW_CALL(m_gl, deleteBuffers(1, &m_coordinatesBuffer)); in teardown()
1031 GLU_CHECK_GLW_CALL(m_gl, useProgram(0)); in teardown()
1080 m_gl.getGraphicsResetStatus(); in ~ShadersOOB()
1294 …GLU_CHECK_GLW_CALL(m_gl, getIntegerv(isVertex ? GL_MAX_VERTEX_SHADER_STORAGE_BLOCKS : GL_MAX_FRAGM… in setup()
1300 glu::ShaderProgram program(m_gl, genSources()); in setup()
1307 GLU_CHECK_GLW_CALL(m_gl, useProgram(program.getProgram())); in setup()
1309 const glw::GLint indexLocation = m_gl.getUniformLocation(program.getProgram(), "u_index"); in setup()
1310 GLU_CHECK_GLW_MSG(m_gl, "glGetUniformLocation()"); in setup()
1314 GLU_CHECK_GLW_CALL(m_gl, uniform1i(indexLocation, index)); in setup()
1327 m_coordLocation = m_gl.getAttribLocation(program.getProgram(), "a_position"); in setup()
1328 GLU_CHECK_GLW_MSG(m_gl, "glGetAttribLocation()"); in setup()
1333 GLU_CHECK_GLW_CALL(m_gl, genBuffers(1, &m_coordinatesBuffer)); in setup()
1334 GLU_CHECK_GLW_CALL(m_gl, bindBuffer(GL_ARRAY_BUFFER, m_coordinatesBuffer)); in setup()
1335 …GLU_CHECK_GLW_CALL(m_gl, bufferData(GL_ARRAY_BUFFER, (glw::GLsizeiptr)sizeof(coords), coords, GL_S… in setup()
1336 GLU_CHECK_GLW_CALL(m_gl, enableVertexAttribArray(m_coordLocation)); in setup()
1337 GLU_CHECK_GLW_CALL(m_gl, vertexAttribPointer(m_coordLocation, 2, GL_FLOAT, GL_FALSE, 0, DE_NULL)); in setup()
1346 GLU_CHECK_GLW_CALL(m_gl, genBuffers((glw::GLsizei)1u, &m_buffers[0])); in setup()
1348 GLU_CHECK_GLW_CALL(m_gl, bindBuffer(GL_SHADER_STORAGE_BUFFER, m_buffers[0])); in setup()
1349 …GLU_CHECK_GLW_CALL(m_gl, bufferData(GL_SHADER_STORAGE_BUFFER, sizeof(tcu::Vec4), &(refValues[0]), … in setup()
1350 GLU_CHECK_GLW_CALL(m_gl, bindBufferBase(GL_SHADER_STORAGE_BUFFER, 0, m_buffers[0])); in setup()
1355 GLU_CHECK_GLW_CALL(m_gl, genBuffers((glw::GLsizei)m_buffers.size(), &m_buffers[0])); in setup()
1363 GLU_CHECK_GLW_CALL(m_gl, bindBuffer(resType, m_buffers[bufNdx])); in setup()
1364 …GLU_CHECK_GLW_CALL(m_gl, bufferData(resType, sizeof(tcu::Vec4), &(refValues[bufNdx]), GL_STATIC_DR… in setup()
1365 GLU_CHECK_GLW_CALL(m_gl, bindBufferBase(resType, bufNdx, m_buffers[bufNdx])); in setup()
1373 m_gl.dispatchCompute(1, 1, 1); in draw()
1377 m_gl.drawElements(GL_TRIANGLES, 6, GL_UNSIGNED_INT, indices); in draw()
1387 GLU_CHECK_GLW_CALL(m_gl, disableVertexAttribArray(m_coordLocation)); in teardown()
1394 GLU_CHECK_GLW_CALL(m_gl, deleteBuffers(1, &m_coordinatesBuffer)); in teardown()
1402 GLU_CHECK_GLW_CALL(m_gl, deleteBuffers((glw::GLsizei)m_buffers.size(), &m_buffers[0])); in teardown()
1407 GLU_CHECK_GLW_CALL(m_gl, useProgram(0)); in teardown()