Home
last modified time | relevance | path

Searched refs:dsState (Results 1 – 17 of 17) sorted by relevance

/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/metal/
Dmtl_state_cache.mm321 void DepthStencilDesc::updateDepthTestEnabled(const gl::DepthStencilState &dsState)
323 if (!dsState.depthTest)
330 updateDepthCompareFunc(dsState);
331 updateDepthWriteEnabled(dsState);
335 void DepthStencilDesc::updateDepthWriteEnabled(const gl::DepthStencilState &dsState)
337 depthWriteEnabled = dsState.depthTest && dsState.depthMask;
340 void DepthStencilDesc::updateDepthCompareFunc(const gl::DepthStencilState &dsState)
342 if (!dsState.depthTest)
346 depthCompareFunction = GetCompareFunc(dsState.depthFunc);
349 void DepthStencilDesc::updateStencilTestEnabled(const gl::DepthStencilState &dsState)
[all …]
Dmtl_state_cache.h71 void updateDepthTestEnabled(const gl::DepthStencilState &dsState);
72 void updateDepthWriteEnabled(const gl::DepthStencilState &dsState);
73 void updateDepthCompareFunc(const gl::DepthStencilState &dsState);
74 void updateStencilTestEnabled(const gl::DepthStencilState &dsState);
75 void updateStencilFrontOps(const gl::DepthStencilState &dsState);
76 void updateStencilBackOps(const gl::DepthStencilState &dsState);
77 void updateStencilFrontFuncs(const gl::DepthStencilState &dsState);
78 void updateStencilBackFuncs(const gl::DepthStencilState &dsState);
79 void updateStencilFrontWriteMask(const gl::DepthStencilState &dsState);
80 void updateStencilBackWriteMask(const gl::DepthStencilState &dsState);
Dmtl_render_utils.mm1328 id<MTLDepthStencilState> dsState = getClearDepthStencilState(context, params);
1329 cmdEncoder->setDepthStencilState(dsState).setStencilRefVal(params.clearStencil.value());
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/
DRenderStateCache.h85 const gl::DepthStencilState &dsState,
DClear11.cpp651 const d3d11::DepthStencilState *dsState = nullptr; in clearFramebuffer() local
663 ANGLE_TRY(mRenderer->getDepthStencilState(context, mDepthStencilStateKey, &dsState)); in clearFramebuffer()
712 stateManager->setDepthStencilState(dsState, stencilValue); in clearFramebuffer()
DRenderer11.h310 const gl::DepthStencilState &dsState,
DRenderer11.cpp4187 const gl::DepthStencilState &dsState, in getDepthStencilState() argument
4190 return mStateCache.getDepthStencilState(context, this, dsState, outDSState); in getDepthStencilState()
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/
DRenderStateCache.h84 const gl::DepthStencilState &dsState,
DClear11.cpp654 const d3d11::DepthStencilState *dsState = nullptr; in clearFramebuffer() local
666 ANGLE_TRY(mRenderer->getDepthStencilState(context, mDepthStencilStateKey, &dsState)); in clearFramebuffer()
714 stateManager->setDepthStencilState(dsState, stencilValue); in clearFramebuffer()
DRenderer11.h337 const gl::DepthStencilState &dsState,
DRenderer11.cpp3850 const gl::DepthStencilState &dsState, in getDepthStencilState() argument
3853 return mStateCache.getDepthStencilState(context, this, dsState, outDSState); in getDepthStencilState()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
DContextVk.cpp285 vk::ResourceAccess GetDepthAccess(const gl::DepthStencilState &dsState) in GetDepthAccess() argument
287 if (!dsState.depthTest) in GetDepthAccess()
291 return dsState.isDepthMaskedOut() ? vk::ResourceAccess::ReadOnly : vk::ResourceAccess::Write; in GetDepthAccess()
294 vk::ResourceAccess GetStencilAccess(const gl::DepthStencilState &dsState) in GetStencilAccess() argument
296 if (!dsState.stencilTest) in GetStencilAccess()
301 return dsState.isStencilNoOp() && dsState.isStencilBackNoOp() ? vk::ResourceAccess::ReadOnly in GetStencilAccess()
3157 const gl::DepthStencilState &dsState = mState.getDepthStencilState(); in optimizeRenderPassForPresent() local
3159 dsState, mRenderPassCommands->getRenderArea()); in optimizeRenderPassForPresent()
3161 dsState, mRenderPassCommands->getRenderArea()); in optimizeRenderPassForPresent()
5885 const gl::DepthStencilState &dsState = mState.getDepthStencilState(); in startRenderPass() local
[all …]
DFramebufferVk.cpp1596 const gl::DepthStencilState &dsState = contextVk->getState().getDepthStencilState(); in invalidateImpl() local
1600 dsState, invalidateArea); in invalidateImpl()
1606 dsState, invalidateArea); in invalidateImpl()
Dvk_helpers.h1124 void invalidateRenderPassDepthAttachment(const gl::DepthStencilState &dsState,
1126 void invalidateRenderPassStencilAttachment(const gl::DepthStencilState &dsState,
Dvk_helpers.cpp1829 void CommandBufferHelper::invalidateRenderPassDepthAttachment(const gl::DepthStencilState &dsState, in invalidateRenderPassDepthAttachment() argument
1838 const bool isDepthWriteEnabled = dsState.depthTest && dsState.depthMask; in invalidateRenderPassDepthAttachment()
1846 const gl::DepthStencilState &dsState, in invalidateRenderPassStencilAttachment() argument
1856 dsState.stencilTest && (!dsState.isStencilNoOp() || !dsState.isStencilBackNoOp()); in invalidateRenderPassStencilAttachment()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/api/
DvktApiCommandBuffersTests.cpp4555 const VkPipelineDepthStencilStateCreateInfo dsState = in iterate() local
4574 &inputState, nullptr, nullptr, &dsState); in iterate()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/binding_model/
DvktBindingShaderAccessTests.cpp893 const vk::VkPipelineDepthStencilStateCreateInfo dsState = in createPipeline() local
946 &dsState, // pDepthStencilState in createPipeline()