Lines Matching defs:depth
666 // Clear depth and stencil in fbo B
669 // Render quads to fbo 1, with depth 0.0
695 // Render small quad that is only visible if depth buffer is not shared with fbo A - or there is no depth bits
848 : FboRenderCase (context, config.getName().c_str(), "Shared depth/stencilbuffer", config)
865 // bool depth = (m_config.buffers & GL_DEPTH_BUFFER_BIT) != 0;
887 // Bind depth/stencil buffers from fbo A to fbo B
1127 bool depth = (m_config.buffers & GL_DEPTH_BUFFER_BIT) != 0;
1185 if (depth || stencil)
1523 bool depth;
1599 tcu::TestCaseGroup* sharedDepthStencilGroup = new tcu::TestCaseGroup(m_testCtx, "shared_depth_stencil", "Shared depth and stencil buffers");
1605 bool depth = depthStencilFormats[fmtNdx].depth;
1608 if (!depth)
1611 // Depth and stencil: both rbo and textures
1614 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);
1633 // For selected color formats tests depth & stencil variants.
1639 bool depth = depthStencilFormats[depthStencilFmtNdx].depth;
1642 // Depth and stencil: both rbo and textures
1645 if (!depth && objectTypes[typeNdx] != GL_RENDERBUFFER)
1648 FboConfig config(GL_COLOR_BUFFER_BIT|(depth ? GL_DEPTH_BUFFER_BIT : 0)|(stencil ? GL_STENCIL_BUFFER_BIT : 0),
1675 tcu::TestCaseGroup* recreateDepthStencilGroup = new tcu::TestCaseGroup(m_testCtx, "recreate_depth_stencil", "Recreate depth and stencil buffers");
1681 bool depth = depthStencilFormats[fmtNdx].depth;
1684 // Depth and stencil: both rbo and textures
1687 if (!depth && objectTypes[typeNdx] != GL_RENDERBUFFER)
1690 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);
1691 recreateDepthStencilGroup->addChild(new RecreateBuffersTest(m_context, config, (depth ? GL_DEPTH_BUFFER_BIT : 0)|(stencil ? GL_STENCIL_BUFFER_BIT : 0), true /* rebind */));