/third_party/skia/third_party/externals/dawn/src/tests/unittests/wire/ |
D | WireOptionalTests.cpp | 138 pipelineDescriptor.depthStencil = &depthStencilState; in TEST_F() 146 return desc->depthStencil != nullptr && in TEST_F() 147 desc->depthStencil->nextInChain == nullptr && in TEST_F() 148 desc->depthStencil->depthWriteEnabled == false && in TEST_F() 149 desc->depthStencil->depthCompare == WGPUCompareFunction_Always && in TEST_F() 150 desc->depthStencil->stencilBack.compare == WGPUCompareFunction_Always && in TEST_F() 151 desc->depthStencil->stencilBack.failOp == WGPUStencilOperation_Keep && in TEST_F() 152 desc->depthStencil->stencilBack.depthFailOp == WGPUStencilOperation_Keep && in TEST_F() 153 desc->depthStencil->stencilBack.passOp == WGPUStencilOperation_Keep && in TEST_F() 154 desc->depthStencil->stencilFront.compare == WGPUCompareFunction_Always && in TEST_F() [all …]
|
/third_party/skia/third_party/externals/dawn/examples/ |
D | CubeReflection.cpp | 197 wgpu::DepthStencilState* depthStencil = in init() local 199 depthStencil->depthWriteEnabled = true; in init() 200 depthStencil->depthCompare = wgpu::CompareFunction::Less; in init() 215 wgpu::DepthStencilState* depthStencil = in init() local 217 depthStencil->stencilFront.passOp = wgpu::StencilOperation::Replace; in init() 218 depthStencil->stencilBack.passOp = wgpu::StencilOperation::Replace; in init() 219 depthStencil->depthCompare = wgpu::CompareFunction::Less; in init() 234 wgpu::DepthStencilState* depthStencil = in init() local 236 depthStencil->stencilFront.compare = wgpu::CompareFunction::Equal; in init() 237 depthStencil->stencilBack.compare = wgpu::CompareFunction::Equal; in init() [all …]
|
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/libEGL/ |
D | Surface.cpp | 66 ASSERT(!backBuffer && !depthStencil); in initialize() 92 …depthStencil = libGLESv2->createDepthStencil(width, height, config->mDepthStencilFormat, config->m… in initialize() 95 if(!depthStencil) in initialize() 108 if(depthStencil) in deleteResources() 110 depthStencil->release(); in deleteResources() 111 depthStencil = nullptr; in deleteResources() 139 if(depthStencil) in getDepthStencil() 141 depthStencil->addRef(); in getDepthStencil() 144 return depthStencil; in getDepthStencil() 305 ASSERT(!frameBuffer && !backBuffer && !depthStencil); in initialize()
|
/third_party/vk-gl-cts/modules/gles2/functional/ |
D | es2fMultisampledRenderToTextureTests.cpp | 99 GLuint depthStencil = 0; in iterate() local 100 gl.genRenderbuffers(1, &depthStencil); in iterate() 101 gl.bindRenderbuffer(GL_RENDERBUFFER, depthStencil); in iterate() 103 gl.framebufferRenderbuffer(GL_FRAMEBUFFER, GL_DEPTH_ATTACHMENT, GL_RENDERBUFFER, depthStencil); in iterate() 104 gl.framebufferRenderbuffer(GL_FRAMEBUFFER, GL_STENCIL_ATTACHMENT, GL_RENDERBUFFER, depthStencil); in iterate() 132 gl.deleteRenderbuffers(1, &depthStencil); in iterate()
|
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/libGLESv2/ |
D | Renderbuffer.cpp | 560 DepthStencilbuffer::DepthStencilbuffer(egl::Image *depthStencil) : mDepthStencil(depthStencil) in DepthStencilbuffer() argument 562 if(depthStencil) in DepthStencilbuffer() 564 depthStencil->addRef(); in DepthStencilbuffer() 566 mWidth = depthStencil->getWidth(); in DepthStencilbuffer() 567 mHeight = depthStencil->getHeight(); in DepthStencilbuffer() 568 format = depthStencil->getFormat(); in DepthStencilbuffer() 569 mSamples = depthStencil->getDepth() & ~1; in DepthStencilbuffer() 638 Depthbuffer::Depthbuffer(egl::Image *depthStencil) : DepthStencilbuffer(depthStencil) in Depthbuffer() argument 650 Stencilbuffer::Stencilbuffer(egl::Image *depthStencil) : DepthStencilbuffer(depthStencil) in Stencilbuffer() argument
|
D | Renderbuffer.h | 262 explicit DepthStencilbuffer(egl::Image *depthStencil); 278 explicit Depthbuffer(egl::Image *depthStencil); 287 explicit Stencilbuffer(egl::Image *depthStencil);
|
/third_party/skia/third_party/externals/dawn/src/tests/end2end/ |
D | DepthBiasTests.cpp | 102 wgpu::DepthStencilState* depthStencil = renderPipelineDesc.EnableDepthStencil(depthFormat); in RunDepthBiasTest() local 103 depthStencil->depthWriteEnabled = true; in RunDepthBiasTest() 104 depthStencil->depthBias = bias; in RunDepthBiasTest() 105 depthStencil->depthBiasSlopeScale = biasSlopeScale; in RunDepthBiasTest() 106 depthStencil->depthBiasClamp = biasClamp; in RunDepthBiasTest() 109 depthStencil->depthCompare = wgpu::CompareFunction::Greater; in RunDepthBiasTest()
|
D | VertexOnlyRenderPipelineTests.cpp | 127 wgpu::DepthStencilState* depthStencil = descriptor.EnableDepthStencil(kDepthStencilFormat); in CreateRenderPipeline() local 129 depthStencil->stencilFront.compare = stencilCompare; in CreateRenderPipeline() 130 depthStencil->stencilBack.compare = stencilCompare; in CreateRenderPipeline() 131 depthStencil->stencilFront.passOp = stencilPassOp; in CreateRenderPipeline() 132 depthStencil->stencilBack.passOp = stencilPassOp; in CreateRenderPipeline() 133 depthStencil->depthWriteEnabled = writeDepth; in CreateRenderPipeline() 134 depthStencil->depthCompare = depthCompare; in CreateRenderPipeline()
|
D | PrimitiveStateTests.cpp | 117 wgpu::DepthStencilState* depthStencil = descriptor.EnableDepthStencil(); in DoTest() local 118 depthStencil->depthWriteEnabled = true; in DoTest() 119 depthStencil->depthCompare = test.depthCompareFunction; in DoTest() 120 depthStencil->format = wgpu::TextureFormat::Depth24PlusStencil8; in DoTest()
|
D | ReadOnlyDepthStencilAttachmentTests.cpp | 97 wgpu::DepthStencilState* depthStencil = pipelineDescriptor.EnableDepthStencil(format); in CreateRenderPipeline() local 98 depthStencil->depthCompare = wgpu::CompareFunction::LessEqual; in CreateRenderPipeline() 111 wgpu::DepthStencilState* depthStencil = pipelineDescriptor.EnableDepthStencil(format); in CreateRenderPipeline() local 112 depthStencil->stencilFront.compare = wgpu::CompareFunction::LessEqual; in CreateRenderPipeline()
|
D | ClipSpaceTests.cpp | 46 wgpu::DepthStencilState* depthStencil = pipelineDescriptor.EnableDepthStencil(); in CreatePipelineForTest() local 47 depthStencil->depthCompare = wgpu::CompareFunction::LessEqual; in CreatePipelineForTest()
|
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/shaders/ |
D | ResolveDepthStencil.hlsl | 36 out float2 depthStencil : SV_Target0) 42 depthStencil.r = Depth.Load(coord, 0).r; 43 depthStencil.g = float(Stencil.Load(coord, 0).g);
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/shaders/ |
D | ResolveDepthStencil.hlsl | 36 out float2 depthStencil : SV_Target0) 42 depthStencil.r = Depth.Load(coord, 0).r; 43 depthStencil.g = float(Stencil.Load(coord, 0).g);
|
/third_party/skia/third_party/externals/dawn/src/tests/unittests/validation/ |
D | RenderPipelineValidationTests.cpp | 86 wgpu::DepthStencilState* depthStencil = descriptor.EnableDepthStencil(); in TEST_F() local 87 depthStencil->depthBiasClamp = INFINITY; in TEST_F() 95 wgpu::DepthStencilState* depthStencil = descriptor.EnableDepthStencil(); in TEST_F() local 96 depthStencil->depthBiasClamp = NAN; in TEST_F() 105 wgpu::DepthStencilState* depthStencil = descriptor.EnableDepthStencil(); in TEST_F() local 106 depthStencil->depthBiasSlopeScale = INFINITY; in TEST_F() 114 wgpu::DepthStencilState* depthStencil = descriptor.EnableDepthStencil(); in TEST_F() local 115 depthStencil->depthBiasSlopeScale = NAN; in TEST_F() 127 wgpu::DepthStencilState* depthStencil = in TEST_F() local 129 depthStencil->stencilFront.compare = wgpu::CompareFunction::LessEqual; in TEST_F() [all …]
|
D | PipelineAndPassCompatibilityTests.cpp | 46 wgpu::DepthStencilState* depthStencil = pipelineDescriptor.EnableDepthStencil(format); in CreatePipeline() local 48 depthStencil->depthWriteEnabled = true; in CreatePipeline() 51 depthStencil->stencilFront.failOp = wgpu::StencilOperation::Replace; in CreatePipeline()
|
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/ |
D | Framebuffer.cpp | 229 bool IsDepthMaskedOut(const DepthStencilState &depthStencil) in IsDepthMaskedOut() argument 231 return !depthStencil.depthMask; in IsDepthMaskedOut() 234 bool IsStencilMaskedOut(const DepthStencilState &depthStencil) in IsStencilMaskedOut() argument 236 return ((depthStencil.stencilMask & depthStencil.stencilWritemask) == 0); in IsStencilMaskedOut() 1318 const auto &depthStencil = glState.getDepthStencilState(); in partialClearNeedsInit() local 1319 if (stencil && (depthStencil.stencilMask != depthStencil.stencilWritemask || in partialClearNeedsInit() 1320 depthStencil.stencilBackMask != depthStencil.stencilBackWritemask)) in partialClearNeedsInit() 1720 const auto &depthStencil = mState.mWebGLDepthStencilAttachment; in commitWebGL1DepthStencilIfConsistent() local 1721 setAttachmentImpl(context, depthStencil.type(), GL_DEPTH_ATTACHMENT, in commitWebGL1DepthStencilIfConsistent() 1722 getImageIndexIfTextureAttachment(depthStencil), in commitWebGL1DepthStencilIfConsistent() [all …]
|
/third_party/skia/third_party/externals/dawn/src/dawn_native/ |
D | RenderPipeline.cpp | 509 if (descriptor->depthStencil) { in ValidateRenderPipelineDescriptor() 510 DAWN_TRY_CONTEXT(ValidateDepthStencilState(device, descriptor->depthStencil), in ValidateRenderPipelineDescriptor() 522 DAWN_INVALID_IF(descriptor->fragment->targetCount == 0 && !descriptor->depthStencil, in ValidateRenderPipelineDescriptor() 554 bool StencilTestEnabled(const DepthStencilState* depthStencil) { in StencilTestEnabled() argument 555 return depthStencil->stencilBack.compare != wgpu::CompareFunction::Always || in StencilTestEnabled() 556 depthStencil->stencilBack.failOp != wgpu::StencilOperation::Keep || in StencilTestEnabled() 557 depthStencil->stencilBack.depthFailOp != wgpu::StencilOperation::Keep || in StencilTestEnabled() 558 depthStencil->stencilBack.passOp != wgpu::StencilOperation::Keep || in StencilTestEnabled() 559 depthStencil->stencilFront.compare != wgpu::CompareFunction::Always || in StencilTestEnabled() 560 depthStencil->stencilFront.failOp != wgpu::StencilOperation::Keep || in StencilTestEnabled() [all …]
|
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/ |
D | ClearTest.cpp | 720 GLRenderbuffer depthStencil; in TEST_P() local 721 glBindRenderbuffer(GL_RENDERBUFFER, depthStencil); in TEST_P() 724 depthStencil); in TEST_P() 832 GLRenderbuffer depthStencil; in TEST_P() local 851 glBindRenderbuffer(GL_RENDERBUFFER, depthStencil); in TEST_P() 854 depthStencil); in TEST_P() 1092 GLRenderbuffer depthStencil; in TEST_P() local 1105 glBindRenderbuffer(GL_RENDERBUFFER, depthStencil); in TEST_P() 1108 depthStencil); in TEST_P() 1218 GLRenderbuffer depthStencil; in TEST_P() local [all …]
|
D | GeometryShaderTest.cpp | 65 GLuint depthStencil, 910 GLuint depthStencil, in setupLayeredFramebuffer() argument 942 glBindTexture(GL_TEXTURE_2D_ARRAY, depthStencil); in setupLayeredFramebuffer() 951 glFramebufferTextureEXT(GL_FRAMEBUFFER, GL_DEPTH_STENCIL_ATTACHMENT, depthStencil, 0); in setupLayeredFramebuffer() 1140 GLTexture depthStencil; in layeredFramebufferClearTest() local 1143 setupLayeredFramebuffer(framebuffer, color0, color1, depthStencil, colorTarget, in layeredFramebufferClearTest() 1173 verifyLayeredFramebufferDepthStencil(depthStencil, kExpectedDepth, kExpectedStencil, in layeredFramebufferClearTest() 1205 GLTexture depthStencil; in layeredFramebufferPreRenderClearTest() local 1208 setupLayeredFramebuffer(framebuffer, color0, color1, depthStencil, colorTarget, in layeredFramebufferPreRenderClearTest() 1247 verifyLayeredFramebufferDepthStencil(depthStencil, kExpectedDepth, kExpectedStencil, in layeredFramebufferPreRenderClearTest() [all …]
|
/third_party/flutter/skia/src/gpu/mtl/ |
D | GrMtlDepthStencil.h | 51 static const Key& GetKey(const GrMtlDepthStencil& depthStencil) { return depthStencil.fKey; } in GetKey() argument
|
/third_party/skia/src/gpu/mtl/ |
D | GrMtlDepthStencil.h | 52 static const Key& GetKey(const GrMtlDepthStencil& depthStencil) { return depthStencil.fKey; } in GetKey() argument
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/ |
D | FramebufferVk.cpp | 445 contextVk->getClearDepthStencilValue().depthStencil; in clear() 633 clearValue.depthStencil.depth = values[0]; in clearBufferfv() 645 clearValue.depthStencil); in clearBufferfv() 664 clearValue.depthStencil); in clearBufferuiv() 680 clearValue.depthStencil.stencil = static_cast<uint8_t>(values[0]); in clearBufferiv() 692 clearValue.depthStencil); in clearBufferiv() 703 clearValue.depthStencil.depth = depth; in clearBufferfi() 704 clearValue.depthStencil.stencil = static_cast<uint8_t>(stencil); in clearBufferfi() 707 clearValue.depthStencil); in clearBufferfi() 2033 const gl::FramebufferAttachment *depthStencil = mState.getDepthStencilAttachment(); in updateRenderPassDesc() local [all …]
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/renderpass/ |
D | vktRenderPassUnusedClearAttachmentTests.cpp | 431 m_initialColorDepth.depthStencil.depth = 1.0f; in UnusedClearAttachmentTestInstance() 432 m_initialColorDepth.depthStencil.stencil = 0u; in UnusedClearAttachmentTestInstance() 440 m_clearColorDepth.depthStencil.depth = 0.0f; in UnusedClearAttachmentTestInstance() 441 m_clearColorDepth.depthStencil.stencil = 255u; in UnusedClearAttachmentTestInstance() 677 …epthImage, VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL, &m_initialColorDepth.depthStencil, 1, &clearRange… in UnusedClearAttachmentTestInstance() 1011 …m_testParams.depthStencilUsed ? m_clearColorDepth.depthStencil.depth : m_initialColorDepth.depthSt… in iterate() 1035 …_testParams.depthStencilUsed ? m_clearColorDepth.depthStencil.stencil : m_initialColorDepth.depthS… in iterate()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/ |
D | vktPipelineClearUtil.cpp | 100 clearValue.depthStencil.stencil = dsValue.stencil; in defaultClearValue() 101 clearValue.depthStencil.depth = dsValue.depth; in defaultClearValue()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/ |
D | Framebuffer.cpp | 1580 const auto &depthStencil = glState.getDepthStencilState(); in partialClearNeedsInit() local 1581 if (stencil && (depthStencil.stencilMask != depthStencil.stencilWritemask || in partialClearNeedsInit() 1582 depthStencil.stencilBackMask != depthStencil.stencilBackWritemask)) in partialClearNeedsInit() 1923 const auto &depthStencil = mState.mWebGLDepthStencilAttachment; in commitWebGL1DepthStencilIfConsistent() local 1924 setAttachmentImpl(context, depthStencil.type(), GL_DEPTH_ATTACHMENT, in commitWebGL1DepthStencilIfConsistent() 1925 getImageIndexIfTextureAttachment(depthStencil), in commitWebGL1DepthStencilIfConsistent() 1926 depthStencil.getResource(), numViews, baseViewIndex, isMultiview, in commitWebGL1DepthStencilIfConsistent() 1928 setAttachmentImpl(context, depthStencil.type(), GL_STENCIL_ATTACHMENT, in commitWebGL1DepthStencilIfConsistent() 1929 getImageIndexIfTextureAttachment(depthStencil), in commitWebGL1DepthStencilIfConsistent() 1930 depthStencil.getResource(), numViews, baseViewIndex, isMultiview, in commitWebGL1DepthStencilIfConsistent() [all …]
|