Lines Matching refs:renderCtx
123 static void drawTestPattern (const glu::RenderContext& renderCtx, int width, int height) in drawTestPattern() argument
125 const glu::ShaderProgram program(renderCtx, glu::ProgramSources() in drawTestPattern()
137 const glw::Functions& gl = renderCtx.getFunctions(); in drawTestPattern()
158 …glu::draw(renderCtx, program.getProgram(), 1, &posBinding, glu::pr::Triangles((int)indices.size(),… in drawTestPattern()
199 static void blitStencilToColor2D (const glu::RenderContext& renderCtx, deUint32 srcTex, int width, … in blitStencilToColor2D() argument
201 const glu::ShaderProgram program(renderCtx, glu::ProgramSources() in blitStencilToColor2D()
243 const glw::Functions& gl = renderCtx.getFunctions(); in blitStencilToColor2D()
260 glu::draw(renderCtx, program.getProgram(), DE_LENGTH_OF_ARRAY(vertexArrays), &vertexArrays[0], in blitStencilToColor2D()
264 static void blitStencilToColor2DArray (const glu::RenderContext& renderCtx, deUint32 srcTex, int wi… in blitStencilToColor2DArray() argument
266 const glu::ShaderProgram program(renderCtx, glu::ProgramSources() in blitStencilToColor2DArray()
308 const glw::Functions& gl = renderCtx.getFunctions(); in blitStencilToColor2DArray()
325 glu::draw(renderCtx, program.getProgram(), DE_LENGTH_OF_ARRAY(vertexArrays), &vertexArrays[0], in blitStencilToColor2DArray()
329 static void blitStencilToColorCube (const glu::RenderContext& renderCtx, deUint32 srcTex, const flo… in blitStencilToColorCube() argument
331 const glu::ShaderProgram program(renderCtx, glu::ProgramSources() in blitStencilToColorCube()
367 const glw::Functions& gl = renderCtx.getFunctions(); in blitStencilToColorCube()
384 glu::draw(renderCtx, program.getProgram(), DE_LENGTH_OF_ARRAY(vertexArrays), &vertexArrays[0], in blitStencilToColorCube()
528 const glu::RenderContext& renderCtx = m_context.getRenderContext(); in iterate() local
529 const glw::Functions& gl = renderCtx.getFunctions(); in iterate()
532 glu::Framebuffer fbo (renderCtx); in iterate()
533 glu::Renderbuffer colorBuf (renderCtx); in iterate()
534 glu::Texture depthStencilTex (renderCtx); in iterate()
546 glu::texSubImage2D(renderCtx, GL_TEXTURE_2D, 0, 0, 0, uploadLevel); in iterate()
556 blitStencilToColor2D(renderCtx, *depthStencilTex, width, height); in iterate()
557 glu::readPixels(renderCtx, 0, 0, readLevel); in iterate()
583 const glu::RenderContext& renderCtx = m_context.getRenderContext(); in iterate() local
584 const glw::Functions& gl = renderCtx.getFunctions(); in iterate()
589 glu::Framebuffer fbo (renderCtx); in iterate()
590 glu::Renderbuffer colorBuf (renderCtx); in iterate()
591 glu::Texture depthStencilTex (renderCtx); in iterate()
608 glu::texSubImage3D(renderCtx, GL_TEXTURE_2D_ARRAY, 0, 0, 0, 0, uploadLevel); in iterate()
627 blitStencilToColor2DArray(renderCtx, *depthStencilTex, width, height, levelNdx); in iterate()
628 glu::readPixels(renderCtx, 0, 0, readLevel); in iterate()
669 const glu::RenderContext& renderCtx = m_context.getRenderContext(); in iterate() local
670 const glw::Functions& gl = renderCtx.getFunctions(); in iterate()
675 glu::Framebuffer fbo (renderCtx); in iterate()
676 glu::Renderbuffer colorBuf (renderCtx); in iterate()
677 glu::Texture depthStencilTex (renderCtx); in iterate()
698 …glu::texSubImage2D(renderCtx, glu::getGLCubeFace(tcu::CubeFace(faceNdx)), 0, 0, 0, texData.getLeve… in iterate()
709 blitStencilToColorCube(renderCtx, *depthStencilTex, &texCoord[0], renderWidth, renderHeight); in iterate()
710 glu::readPixels(renderCtx, 0, 0, result); in iterate()
758 const glu::RenderContext& renderCtx = m_context.getRenderContext(); in iterate() local
759 const glw::Functions& gl = renderCtx.getFunctions(); in iterate()
762 glu::Framebuffer fbo (renderCtx); in iterate()
763 glu::Renderbuffer colorBuf (renderCtx); in iterate()
764 glu::Texture depthStencilTex (renderCtx); in iterate()
781 drawTestPattern(renderCtx, width, height); in iterate()
786 blitStencilToColor2D(renderCtx, *depthStencilTex, width, height); in iterate()
787 glu::readPixels(renderCtx, 0, 0, result.getAccess()); in iterate()
815 const glu::RenderContext& renderCtx = m_context.getRenderContext(); in iterate() local
816 const glw::Functions& gl = renderCtx.getFunctions(); in iterate()
820 glu::Framebuffer fbo (renderCtx); in iterate()
821 glu::Renderbuffer colorBuf (renderCtx); in iterate()
822 glu::Texture depthStencilTex (renderCtx); in iterate()
862 blitStencilToColor2D(renderCtx, *depthStencilTex, width, height); in iterate()
863 glu::readPixels(renderCtx, 0, 0, result.getAccess()); in iterate()
889 const glu::RenderContext& renderCtx = m_context.getRenderContext(); in iterate() local
890 const glw::Functions& gl = renderCtx.getFunctions(); in iterate()
893 glu::Framebuffer fbo (renderCtx); in iterate()
894 glu::Renderbuffer colorBuf (renderCtx); in iterate()
895 glu::Texture depthStencilTex (renderCtx); in iterate()
911 glu::texSubImage2D(renderCtx, GL_TEXTURE_2D, 0, 0, 0, uploadLevel); in iterate()
921 blitStencilToColor2D(renderCtx, *depthStencilTex, width, height); in iterate()
922 glu::readPixels(renderCtx, 0, 0, readLevel); in iterate()
948 const glu::RenderContext& renderCtx = m_context.getRenderContext(); in iterate() local
949 const glw::Functions& gl = renderCtx.getFunctions(); in iterate()
955 glu::Framebuffer fbo (renderCtx); in iterate()
956 glu::Renderbuffer colorBuf (renderCtx); in iterate()
957 glu::Texture depthStencilTex (renderCtx); in iterate()
972 glu::texSubImage2D(renderCtx, GL_TEXTURE_2D, levelNdx, 0, 0, uploadLevel); in iterate()
982 blitStencilToColor2D(renderCtx, *depthStencilTex, levelWidth, levelHeight); in iterate()
983 glu::readPixels(renderCtx, 0, 0, readLevel); in iterate()