• Home
  • Raw
  • Download

Lines Matching refs:m_gl

120 	glw::Functions				m_gl;  member in deqp::egl::__anon3f9260370111::BufferAgeTest
214 const glw::Functions& m_gl; member in deqp::egl::__anon3f9260370111::GLES2Renderer
244 : m_gl (gl) in GLES2Renderer()
249 m_colorLoc = m_gl.getAttribLocation(m_glProgram.getProgram(), "a_color"); in GLES2Renderer()
250 m_coordLoc = m_gl.getAttribLocation(m_glProgram.getProgram(), "a_pos"); in GLES2Renderer()
251 GLU_EXPECT_NO_ERROR(m_gl.getError(), "Failed to get attribute locations"); in GLES2Renderer()
292 m_gl.useProgram(m_glProgram.getProgram()); in render()
293 GLU_EXPECT_NO_ERROR(m_gl.getError(), "glUseProgram() failed"); in render()
295 m_gl.enableVertexAttribArray(m_coordLoc); in render()
296 m_gl.enableVertexAttribArray(m_colorLoc); in render()
297 GLU_EXPECT_NO_ERROR(m_gl.getError(), "Failed to enable attributes"); in render()
299 m_gl.vertexAttribPointer(m_coordLoc, 4, GL_FLOAT, GL_FALSE, 0, coords); in render()
300 m_gl.vertexAttribPointer(m_colorLoc, 4, GL_UNSIGNED_BYTE, GL_TRUE, 0, colors); in render()
301 GLU_EXPECT_NO_ERROR(m_gl.getError(), "Failed to set attribute pointers"); in render()
303 m_gl.drawArrays(GL_TRIANGLES, 0, DE_LENGTH_OF_ARRAY(coords)/4); in render()
304 GLU_EXPECT_NO_ERROR(m_gl.getError(), "glDrawArrays(), failed"); in render()
306 m_gl.disableVertexAttribArray(m_coordLoc); in render()
307 m_gl.disableVertexAttribArray(m_colorLoc); in render()
308 GLU_EXPECT_NO_ERROR(m_gl.getError(), "Failed to disable attributes"); in render()
310 m_gl.useProgram(0); in render()
311 GLU_EXPECT_NO_ERROR(m_gl.getError(), "glUseProgram() failed"); in render()
315 m_gl.enable(GL_SCISSOR_TEST); in render()
316 m_gl.scissor(coloredRect.bottomLeft.x(), coloredRect.bottomLeft.y(), in render()
318m_gl.clearColor(coloredRect.color.x()/255.0f, coloredRect.color.y()/255.0f, coloredRect.color.z()/… in render()
319 m_gl.clear(GL_COLOR_BUFFER_BIT); in render()
320 m_gl.disable(GL_SCISSOR_TEST); in render()
410 m_eglTestCtx.initGLFunctions(&m_gl, glu::ApiType::es(2,0)); in init()
412 m_gles2Renderer = new GLES2Renderer(m_gl); in init()
551 clearColorScreen(m_gl, clearColor); in iterate()
580 readPixels(m_gl, &currentBuffer); in iterate()
594 clearColorScreen(m_gl, clearColor); in iterate()
601 readPixels(m_gl, &currentBuffer); in iterate()