• Home
  • Raw
  • Download

Lines Matching refs:m_gl

410 	const glw::Functions*	m_gl;  member in deqp::gles31::Functional::__anone4ed7a720111::TestVertexData
417 : m_gl (&context.getRenderContext().getFunctions()) in TestVertexData()
435 m_gl->genVertexArrays(1, &m_vaoHandle); in TestVertexData()
436 m_gl->bindVertexArray(m_vaoHandle); in TestVertexData()
438 m_gl->genBuffers(1, &m_vboHandle); in TestVertexData()
439 m_gl->bindBuffer(GL_ARRAY_BUFFER, m_vboHandle); in TestVertexData()
441m_gl->bufferData(GL_ARRAY_BUFFER, (glw::GLsizei)(m_data.size() * sizeof(glw::GLfloat)), &m_data[0]… in TestVertexData()
443 m_gl->enableVertexAttribArray(0); in TestVertexData()
444m_gl->vertexAttribPointer(0, 3, GL_FLOAT, GL_FALSE, 5 * (glw::GLsizei)sizeof(GL_FLOAT), (glw::GLvo… in TestVertexData()
445 m_gl->enableVertexAttribArray(1); in TestVertexData()
446m_gl->vertexAttribPointer(1, 2, GL_FLOAT, GL_FALSE, 5 * (glw::GLsizei)sizeof(GL_FLOAT), (glw::GLvo… in TestVertexData()
448 m_gl->bindVertexArray(0); in TestVertexData()
449 m_gl->bindBuffer(GL_ARRAY_BUFFER, 0); in TestVertexData()
450 GLU_EXPECT_NO_ERROR(m_gl->getError(), "gl error during vertex data setup"); in TestVertexData()
455 m_gl->deleteBuffers(1, &m_vboHandle); in ~TestVertexData()
456 m_gl->deleteVertexArrays(1, &m_vaoHandle); in ~TestVertexData()
461 m_gl->bindVertexArray(m_vaoHandle); in bind()
466 m_gl->bindVertexArray(0); in unbind()
482 const glw::Functions* m_gl; member in deqp::gles31::Functional::__anone4ed7a720111::TestTexture2D
493 : m_gl (&context.getRenderContext().getFunctions()) in TestTexture2D()
508 m_gl->genTextures(1, &m_handle); in TestTexture2D()
510 m_gl->bindTexture(GL_TEXTURE_2D, m_handle); in TestTexture2D()
511 m_gl->texParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_S, GL_MIRRORED_REPEAT); in TestTexture2D()
512 m_gl->texParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_T, GL_MIRRORED_REPEAT); in TestTexture2D()
513 m_gl->texParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_NEAREST); in TestTexture2D()
514 m_gl->texParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_NEAREST); in TestTexture2D()
516m_gl->texImage2D(GL_TEXTURE_2D, 0, m_internalFormat, m_width, m_height, 0, transferFormat, transfe… in TestTexture2D()
518 m_gl->bindTexture(GL_TEXTURE_2D, 0); in TestTexture2D()
523 m_gl->deleteTextures(1, &m_handle); in ~TestTexture2D()
539 m_gl->activeTexture(GL_TEXTURE0 + m_textureUnit); in bind()
540 m_gl->bindTexture(GL_TEXTURE_2D, m_handle); in bind()
545 m_gl->bindTexture(GL_TEXTURE_2D, 0); in unbind()
567 const glw::Functions* m_gl; member in deqp::gles31::Functional::__anone4ed7a720111::TestFramebuffer
578 : m_gl (&context.getRenderContext().getFunctions()) in TestFramebuffer()
587 m_gl->bindFramebuffer(m_targetType, **m_referenceSource); in TestFramebuffer()
589m_gl->framebufferTexture2D(m_targetType, m_colorAttachment, GL_TEXTURE_2D, textureAttachmentHandle… in TestFramebuffer()
591 TCU_CHECK(m_gl->checkFramebufferStatus(m_targetType) == GL_FRAMEBUFFER_COMPLETE); in TestFramebuffer()
596 m_gl->drawBuffers(DE_LENGTH_OF_ARRAY(textureAttachments), textureAttachments); in TestFramebuffer()
597 GLU_EXPECT_NO_ERROR(m_gl->getError(), "glDrawBuffer()"); in TestFramebuffer()
602 m_gl->readBuffer(m_colorAttachment); in TestFramebuffer()
603 GLU_EXPECT_NO_ERROR(m_gl->getError(), "glReadBuffer()"); in TestFramebuffer()
606 m_gl->bindFramebuffer(m_targetType, 0); in TestFramebuffer()
637 m_gl->bindFramebuffer(m_targetType, **m_referenceSource); in bind()
646 m_gl->bindFramebuffer(m_targetType, 0); in unbind()
665 const glw::Functions* m_gl; member in deqp::gles31::Functional::__anone4ed7a720111::TestShaderProgram
672 : m_gl (&context.getRenderContext().getFunctions()) in TestShaderProgram()
751 m_gl->useProgram(this->getHandle()); in use()
756 m_gl->useProgram(0); in unuse()