Lines Matching defs:buffers
70 : buffers (buffers_)
82 : buffers (0)
95 deUint32 buffers; //!< Buffer bit mask (GL_COLOR_BUFFER_BIT|GL_DEPTH_BUFFER_BIT|...)
123 DE_ASSERT(buffers & GL_COLOR_BUFFER_BIT);
126 if (buffers & GL_DEPTH_BUFFER_BIT)
128 if (buffers & GL_STENCIL_BUFFER_BIT)
131 if (buffers & (GL_DEPTH_BUFFER_BIT|GL_STENCIL_BUFFER_BIT))
265 if (m_config.buffers & (GL_COLOR_BUFFER_BIT))
284 if (m_config.buffers & (GL_DEPTH_BUFFER_BIT|GL_STENCIL_BUFFER_BIT))
300 if ((m_config.buffers & bit) == 0)
472 sglr::ReferenceContextBuffers buffers (tcu::PixelFormat(8,8,8,renderTarget.getPixelFormat().alphaBits?8:0), renderTarget.getDepthBits(), renderTarget.getStencilBits(), width, height);
473 sglr::ReferenceContext context (sglr::ReferenceContextLimits(renderCtx), buffers.getColorbuffer(), buffers.getDepthbuffer(), buffers.getStencilbuffer());
631 bool stencil = (m_config.buffers & GL_STENCIL_BUFFER_BIT) != 0;
647 cfg.buffers &= ~GL_COLOR_BUFFER_BIT;
856 return (config.buffers & (GL_DEPTH_BUFFER_BIT|GL_STENCIL_BUFFER_BIT)) != 0;
867 // bool depth = (m_config.buffers & GL_DEPTH_BUFFER_BIT) != 0;
868 bool stencil = (m_config.buffers & GL_STENCIL_BUFFER_BIT) != 0;
884 cfg.buffers &= ~(GL_DEPTH_BUFFER_BIT|GL_STENCIL_BUFFER_BIT);
889 // Bind depth/stencil buffers from fbo A to fbo B
896 if ((m_config.buffers & bit) == 0)
1129 bool depth = (m_config.buffers & GL_DEPTH_BUFFER_BIT) != 0;
1130 bool stencil = (m_config.buffers & GL_STENCIL_BUFFER_BIT) != 0;
1170 // Resize buffers
1250 RecreateBuffersTest (Context& context, const FboConfig& config, deUint32 buffers, bool rebind);
1260 RecreateBuffersTest::RecreateBuffersTest (Context& context, const FboConfig& config, deUint32 buffers, bool rebind)
1261 : FboRenderCase (context, (string(config.getName()) + (rebind ? "" : "_no_rebind")).c_str(), "Recreate buffers", config)
1262 , m_buffers (buffers)
1287 bool stencil = (m_config.buffers & GL_STENCIL_BUFFER_BIT) != 0;
1324 // Recreate buffers
1329 (m_buffers & (GL_DEPTH_BUFFER_BIT|GL_STENCIL_BUFFER_BIT)) == (m_config.buffers & (GL_DEPTH_BUFFER_BIT|GL_STENCIL_BUFFER_BIT)));
1406 ctx.clear(m_buffers & (GL_DEPTH_BUFFER_BIT|GL_STENCIL_BUFFER_BIT)); // \note Clear only buffers that were re-created
1409 // Clearing of integer buffers is undefined so do clearing by rendering flat color.
1560 // Clearing of integer buffers is undefined.
1579 // Blending with integer buffers and fp32 targets is not supported.
1601 tcu::TestCaseGroup* sharedDepthStencilGroup = new tcu::TestCaseGroup(m_testCtx, "shared_depth_stencil", "Shared depth and stencil buffers");
1677 tcu::TestCaseGroup* recreateDepthStencilGroup = new tcu::TestCaseGroup(m_testCtx, "recreate_depth_stencil", "Recreate depth and stencil buffers");