• Home
  • Raw
  • Download

Lines Matching refs:m_gl

144 	const glw::Functions&	m_gl;  member in deqp::egl::__anon14746b0b0111::GLES2Renderer
174 : m_gl (gl) in GLES2Renderer()
179 m_colorLoc = m_gl.getAttribLocation(m_glProgram.getProgram(), "a_color"); in GLES2Renderer()
180 m_coordLoc = m_gl.getAttribLocation(m_glProgram.getProgram(), "a_pos"); in GLES2Renderer()
181 GLU_EXPECT_NO_ERROR(m_gl.getError(), "Failed to get attribute locations"); in GLES2Renderer()
223 m_gl.useProgram(m_glProgram.getProgram()); in render()
224 GLU_EXPECT_NO_ERROR(m_gl.getError(), "glUseProgram() failed"); in render()
226 m_gl.enableVertexAttribArray(m_coordLoc); in render()
227 m_gl.enableVertexAttribArray(m_colorLoc); in render()
228 GLU_EXPECT_NO_ERROR(m_gl.getError(), "Failed to enable attributes"); in render()
230 m_gl.vertexAttribPointer(m_coordLoc, 2, GL_FLOAT, GL_FALSE, 0, coords); in render()
231 m_gl.vertexAttribPointer(m_colorLoc, 4, GL_UNSIGNED_BYTE, GL_TRUE, 0, colors); in render()
232 GLU_EXPECT_NO_ERROR(m_gl.getError(), "Failed to set attribute pointers"); in render()
234 m_gl.drawArrays(GL_TRIANGLES, 0, DE_LENGTH_OF_ARRAY(coords)/2); in render()
235 GLU_EXPECT_NO_ERROR(m_gl.getError(), "glDrawArrays(), failed"); in render()
237 m_gl.disableVertexAttribArray(m_coordLoc); in render()
238 m_gl.disableVertexAttribArray(m_colorLoc); in render()
239 GLU_EXPECT_NO_ERROR(m_gl.getError(), "Failed to disable attributes"); in render()
241 m_gl.useProgram(0); in render()
242 GLU_EXPECT_NO_ERROR(m_gl.getError(), "glUseProgram() failed"); in render()
246 m_gl.enable(GL_SCISSOR_TEST); in render()
247 m_gl.scissor(coloredRect.bottomLeft.x(), coloredRect.bottomLeft.y(), in render()
249m_gl.clearColor(coloredRect.color.x()/255.0f, coloredRect.color.y()/255.0f, coloredRect.color.z()/… in render()
250 m_gl.clear(GL_COLOR_BUFFER_BIT); in render()
251 m_gl.disable(GL_SCISSOR_TEST); in render()
289 glw::Functions m_gl; member in deqp::egl::__anon14746b0b0111::SwapBuffersWithDamageTest
335 m_eglTestCtx.initGLFunctions(&m_gl, glu::ApiType::es(2,0)); in init()
336 m_gles2Renderer = new GLES2Renderer(m_gl); in init()
419 clearColorScreen(m_gl, clearColor); in iterate()
495 clearColorScreen(m_gl, clearColor); in iterate()
583 clearColorScreen(m_gl, clearColor); in iterate()
605 clearColorScreen(m_gl, clearColor); in iterate()