Lines Matching refs:Buffers
608 sglr::ReferenceContextBuffers buffers (tcu::PixelFormat(8,8,8,renderTarget.getPixelFormat().alphaBits?8:0), renderTarget.getDepthBits(), renderTarget.getStencilBits(), width, height);
609 sglr::ReferenceContext context (sglr::ReferenceContextLimits(renderCtx), buffers.getColorbuffer(), buffers.getDepthbuffer(), buffers.getStencilbuffer());
1726 // Resize buffers
1798 template <GLenum Buffers>
1812 template <GLenum Buffers>
1813 class RecreateBuffersNoRebindTest : public RecreateBuffersTest<Buffers>
1817 : RecreateBuffersTest<Buffers>(context, config, false)
1822 template <GLenum Buffers>
1823 class RecreateBuffersRebindTest : public RecreateBuffersTest<Buffers>
1827 : RecreateBuffersTest<Buffers>(context, config, true)
1832 template <GLenum Buffers>
1833 RecreateBuffersTest<Buffers>::RecreateBuffersTest (Context& context, const FboConfig& config, bool rebind)
1834 : FboRenderCase (context, (string(rebind ? "rebind_" : "no_rebind_") + config.getName()).c_str(), "Recreate buffers", config)
1839 template <GLenum Buffers>
1840 bool RecreateBuffersTest<Buffers>::isConfigSupported (const FboConfig& config)
1842 if ((Buffers & GL_COLOR_BUFFER_BIT) && config.colorbufferType == GL_NONE)
1844 if ((Buffers & GL_DEPTH_BUFFER_BIT) && config.depthbufferType == GL_NONE)
1846 if ((Buffers & GL_STENCIL_BUFFER_BIT) && config.stencilbufferType == GL_NONE)
1851 template <GLenum Buffers>
1852 void RecreateBuffersTest<Buffers>::render (sglr::Context& ctx, Surface& dst)
1891 // Recreate buffers
1895 if (Buffers & GL_COLOR_BUFFER_BIT)
1924 if (Buffers & GL_DEPTH_BUFFER_BIT)
1937 if (Buffers & GL_STENCIL_BUFFER_BIT)
1955 ctx.clear(Buffers); // \note Clear only buffers that were re-created
2130 template <GLbitfield Buffers>
2135 addChildVariants<FboCases::RecreateBuffersRebindTest<Buffers> > (tmpGroup);
2136 addChildVariants<FboCases::RecreateBuffersNoRebindTest<Buffers> > (tmpGroup);