Lines Matching defs:depth
668 // Clear depth and stencil in fbo B
671 // Render quads to fbo 1, with depth 0.0
697 // Render small quad that is only visible if depth buffer is not shared with fbo A - or there is no depth bits
850 : FboRenderCase (context, config.getName().c_str(), "Shared depth/stencilbuffer", config)
867 // bool depth = (m_config.buffers & GL_DEPTH_BUFFER_BIT) != 0;
889 // Bind depth/stencil buffers from fbo A to fbo B
1129 bool depth = (m_config.buffers & GL_DEPTH_BUFFER_BIT) != 0;
1187 if (depth || stencil)
1525 bool depth;
1601 tcu::TestCaseGroup* sharedDepthStencilGroup = new tcu::TestCaseGroup(m_testCtx, "shared_depth_stencil", "Shared depth and stencil buffers");
1607 bool depth = depthStencilFormats[fmtNdx].depth;
1610 if (!depth)
1616 FboConfig config(GL_COLOR_BUFFER_BIT|(depth ? GL_DEPTH_BUFFER_BIT : 0)|(stencil ? GL_STENCIL_BUFFER_BIT : 0), colorType, colorFmt, objectTypes[typeNdx], depthStencilFormats[fmtNdx].format);
1635 // For selected color formats tests depth & stencil variants.
1641 bool depth = depthStencilFormats[depthStencilFmtNdx].depth;
1647 if (!depth && objectTypes[typeNdx] != GL_RENDERBUFFER)
1650 FboConfig config(GL_COLOR_BUFFER_BIT|(depth ? GL_DEPTH_BUFFER_BIT : 0)|(stencil ? GL_STENCIL_BUFFER_BIT : 0),
1677 tcu::TestCaseGroup* recreateDepthStencilGroup = new tcu::TestCaseGroup(m_testCtx, "recreate_depth_stencil", "Recreate depth and stencil buffers");
1683 bool depth = depthStencilFormats[fmtNdx].depth;
1689 if (!depth && objectTypes[typeNdx] != GL_RENDERBUFFER)
1692 FboConfig config(GL_COLOR_BUFFER_BIT|(depth ? GL_DEPTH_BUFFER_BIT : 0)|(stencil ? GL_STENCIL_BUFFER_BIT : 0), colorType, colorFmt, objectTypes[typeNdx], depthStencilFormats[fmtNdx].format);
1693 recreateDepthStencilGroup->addChild(new RecreateBuffersTest(m_context, config, (depth ? GL_DEPTH_BUFFER_BIT : 0)|(stencil ? GL_STENCIL_BUFFER_BIT : 0), true /* rebind */));