Home
last modified time | relevance | path

Searched refs:clearStencil (Results 1 – 25 of 167) sorted by relevance

1234567

/third_party/vk-gl-cts/modules/gles2/functional/
Des2fStencilTests.cpp147 static StencilOp clearStencil (int stencil) in clearStencil() function in deqp::gles2::Functional::StencilOp
232 context.clearStencil(op.stencil); in executeOps()
425 dst.push_back(StencilOp::clearStencil(targetStencil | ~mask)); in init()
448 dst.push_back(StencilOp::clearStencil(targetStencil-1)); in init()
452 dst.push_back(StencilOp::clearStencil(targetStencil)); in init()
459 dst.push_back(StencilOp::clearStencil(targetStencil+1)); in init()
463 dst.push_back(StencilOp::clearStencil(targetStencil)); in init()
468 dst.push_back(StencilOp::clearStencil((targetStencil-1)&maxStencil)); in init()
474 dst.push_back(StencilOp::clearStencil((targetStencil+1)&maxStencil)); in init()
481 dst.push_back(StencilOp::clearStencil(targetStencil)); in init()
[all …]
Des2fDepthStencilClearTests.cpp71 , clearStencil (0) in Clear()
81 int clearStencil; member
252 clear->clearStencil = rnd.getUint32(); in generateClears()
285 gl.clearStencil (0); in renderGL()
301 gl.clearStencil (clear->clearStencil); in renderGL()
477 …deUint32 newVal = ((oldVal & ~clear->stencilMask) | (clear->clearStencil & clear->stencilMask)) & … in renderReference()
Des2fRandomFragmentOpTests.cpp310 const int clearStencil = CLEAR_STENCIL; in iterate() local
329 m_callLogWrapper.glClearStencil(clearStencil); in iterate()
355 tcu::clearStencil (m_refStencilBuffer->getAccess(), clearStencil); in iterate()
/third_party/vk-gl-cts/modules/gles3/functional/
Des3fStencilTests.cpp150 static StencilOp clearStencil (int stencil) in clearStencil() function in deqp::gles3::Functional::StencilOp
235 context.clearStencil(op.stencil); in executeOps()
428 dst.push_back(StencilOp::clearStencil(targetStencil | ~mask)); in init()
451 dst.push_back(StencilOp::clearStencil(targetStencil-1)); in init()
455 dst.push_back(StencilOp::clearStencil(targetStencil)); in init()
462 dst.push_back(StencilOp::clearStencil(targetStencil+1)); in init()
466 dst.push_back(StencilOp::clearStencil(targetStencil)); in init()
471 dst.push_back(StencilOp::clearStencil((targetStencil-1)&maxStencil)); in init()
477 dst.push_back(StencilOp::clearStencil((targetStencil+1)&maxStencil)); in init()
484 dst.push_back(StencilOp::clearStencil(targetStencil)); in init()
[all …]
Des3fDepthStencilClearTests.cpp71 , clearStencil (0) in Clear()
81 int clearStencil; member
255 clear->clearStencil = rnd.getUint32(); in generateClears()
288 gl.clearStencil (0); in renderGL()
304 gl.clearStencil (clear->clearStencil); in renderGL()
480 …deUint32 newVal = ((oldVal & ~clear->stencilMask) | (clear->clearStencil & clear->stencilMask)) & … in renderReference()
Des3fRandomFragmentOpTests.cpp310 const int clearStencil = CLEAR_STENCIL; in iterate() local
329 m_callLogWrapper.glClearStencil(clearStencil); in iterate()
355 tcu::clearStencil (m_refStencilBuffer->getAccess(), clearStencil); in iterate()
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
DFramebufferVk.cpp231 bool clearStencil = IsMaskFlagSet(mask, static_cast<GLbitfield>(GL_STENCIL_BUFFER_BIT)); in clear() local
242 return clearImpl(context, clearColorBuffers, clearDepth, clearStencil, clearColorValue, in clear()
249 bool clearStencil, in clearImpl() argument
279 clearStencil = clearStencil && stencilAttachment; in clearImpl()
280 ASSERT(!clearStencil || stencilAttachment->isAttached()); in clearImpl()
290 ASSERT(!clearStencil || stencilMask != 0); in clearImpl()
294 if (!clearColor && !clearDepth && !clearStencil) in clearImpl()
308 bool clearStencilWithRenderPassLoadOp = clearStencil && !maskedClearStencil; in clearImpl()
346 clearStencil = false; in clearImpl()
350 if (!clearColor && !clearStencil) in clearImpl()
[all …]
DFramebufferVk.h161 bool clearStencil,
168 bool clearStencil,
174 bool clearStencil,
/third_party/vk-gl-cts/external/vulkancts/framework/vulkan/
DvkCmdUtil.cpp118 const deUint32 clearStencil, in beginRenderPass() argument
125 makeClearValueDepthStencil(clearDepth, clearStencil), // attachment 1 in beginRenderPass()
172 const deUint32 clearStencil, in beginRenderPass() argument
178 makeClearValueDepthStencil(clearDepth, clearStencil), // attachment 1 in beginRenderPass()
DvkCmdUtil.hpp88 const deUint32 clearStencil,
107 const deUint32 clearStencil,
/third_party/flutter/skia/third_party/externals/angle2/src/tests/gl_tests/
DClearTest.cpp144 bool *clearStencil, in ParseMaskedScissoredClearVariationsTestParams() argument
156 *clearStencil = stencilClearInfo > 0; in ParseMaskedScissoredClearVariationsTestParams()
173 bool clearColor, clearDepth, clearStencil; in MaskedScissoredClearVariationsTestPrint() local
177 ParseMaskedScissoredClearVariationsTestParams(params, &clearColor, &clearDepth, &clearStencil, in MaskedScissoredClearVariationsTestPrint()
185 if (clearColor || clearDepth || clearStencil) in MaskedScissoredClearVariationsTestPrint()
196 if (clearStencil) in MaskedScissoredClearVariationsTestPrint()
1246 bool clearColor, clearDepth, clearStencil; in MaskedScissoredColorDepthStencilClear() local
1250 ParseMaskedScissoredClearVariationsTestParams(params, &clearColor, &clearDepth, &clearStencil, in MaskedScissoredColorDepthStencilClear()
1273 (clearStencil ? GL_STENCIL_BUFFER_BIT : 0)); in MaskedScissoredColorDepthStencilClear()
1304 (clearStencil ? GL_STENCIL_BUFFER_BIT : 0)); in MaskedScissoredColorDepthStencilClear()
[all …]
/third_party/skia/third_party/externals/dawn/src/tests/end2end/
DDepthStencilCopyTests.cpp120 uint8_t clearStencil, in InitializeDepthStencilTextureRegion() argument
129 renderPassDesc.cDepthStencilAttachmentInfo.clearStencil = clearStencil; in InitializeDepthStencilTextureRegion()
152 uint8_t clearStencil, in CreateInitializeDepthStencilTextureAndCopyT2T() argument
165 InitializeDepthStencilTextureRegion(src, clearDepth, regionDepth, clearStencil, in CreateInitializeDepthStencilTextureAndCopyT2T()
DDepthStencilSamplingTests.cpp266 passDescriptor.cDepthStencilAttachmentInfo.clearStencil = stencilValue; in UpdateInputStencil()
665 passDescriptor.cDepthStencilAttachmentInfo.clearStencil = 31; in TEST_P()
691 memcpy(&expectedValueU32, &passDescriptor.cDepthStencilAttachmentInfo.clearStencil, in TEST_P()
715 passDescriptor.cDepthStencilAttachmentInfo.clearStencil = 31; in TEST_P()
738 memcpy(&expectedValueU32, &passDescriptor.cDepthStencilAttachmentInfo.clearStencil, in TEST_P()
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/
DFramebufferD3D.cpp51 clearParams.clearStencil = false; in GetClearParameters()
83 clearParams.clearStencil = true; in GetClearParameters()
171 clearParams.clearStencil = true; in clearBufferiv()
188 clearParams.clearStencil = true; in clearBufferfi()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/
DFramebufferD3D.cpp42 clearParams.clearStencil = false; in GetClearParameters()
89 clearParams.clearStencil = true; in GetClearParameters()
177 clearParams.clearStencil = true; in clearBufferiv()
194 clearParams.clearStencil = true; in clearBufferfi()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
DFramebufferVk.cpp436 bool clearStencil = IsMaskFlagSet(mask, static_cast<GLbitfield>(GL_STENCIL_BUFFER_BIT)); in clear() local
447 return clearImpl(context, clearColorBuffers, clearDepth, clearStencil, clearColorValue, in clear()
454 bool clearStencil, in clearImpl() argument
466 ASSERT(!clearStencil || mState.getStencilAttachment() != nullptr); in clearImpl()
472 ASSERT(clearColor || clearDepth || clearStencil); in clearImpl()
482 ASSERT(!clearStencil || stencilMask != 0); in clearImpl()
490 const bool maskedClearStencil = clearStencil && stencilMask != 0xFF; in clearImpl()
494 bool clearStencilWithDraw = clearStencil && (maskedClearStencil || scissoredClear); in clearImpl()
536 clearStencilWithDraw = clearStencil; in clearImpl()
547 clearStencil && !clearStencilWithDraw, clearColorValue, in clearImpl()
[all …]
DFramebufferVk.h194 bool clearStencil,
200 bool clearStencil,
207 bool clearStencil,
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/
DClearTest.cpp125 bool *clearStencil, in ParseMaskedScissoredClearVariationsTestParams() argument
137 *clearStencil = stencilClearInfo > 0; in ParseMaskedScissoredClearVariationsTestParams()
154 bool clearColor, clearDepth, clearStencil; in MaskedScissoredClearVariationsTestPrint() local
158 ParseMaskedScissoredClearVariationsTestParams(params, &clearColor, &clearDepth, &clearStencil, in MaskedScissoredClearVariationsTestPrint()
161 if (scissor || clearColor || clearDepth || clearStencil || maskColor || maskDepth || in MaskedScissoredClearVariationsTestPrint()
172 if (clearColor || clearDepth || clearStencil) in MaskedScissoredClearVariationsTestPrint()
183 if (clearStencil) in MaskedScissoredClearVariationsTestPrint()
1665 bool clearColor, clearDepth, clearStencil; in maskedScissoredColorDepthStencilClear() local
1669 ParseMaskedScissoredClearVariationsTestParams(params, &clearColor, &clearDepth, &clearStencil, in maskedScissoredColorDepthStencilClear()
1692 (clearStencil ? GL_STENCIL_BUFFER_BIT : 0)); in maskedScissoredColorDepthStencilClear()
[all …]
/third_party/vk-gl-cts/modules/glshared/
DglsScissorTests.cpp253 gl.clearStencil(0); in iterate()
274 gl.clearStencil(0); in iterate()
482 gl.clearStencil(123); in render()
835 const int clearStencil = 123; in render() local
845 case CLEAR_STENCIL: gl.clearBufferiv (GL_STENCIL, 0, &clearStencil); break; in render()
846 case CLEAR_DEPTH_STENCIL: gl.clearBufferfi (GL_DEPTH_STENCIL, 0, clearDepth, clearStencil); break; in render()
864 gl.stencilFunc(GL_EQUAL, clearStencil, ~0u); in render()
/third_party/flutter/skia/src/gpu/gl/
DGrGLGpuCommandBuffer.cpp22 fGpu->clearStencil(fRenderTarget, 0x0); in begin()
/third_party/skia/third_party/externals/dawn/src/dawn_native/d3d12/
DRenderPassBuilderD3D12.cpp208 uint8_t clearStencil, in SetStencilAccess() argument
213 .Stencil = clearStencil; in SetStencilAccess()
DRenderPassBuilderD3D12.h73 uint8_t clearStencil,
/third_party/vk-gl-cts/modules/egl/
DteglImageUtil.cpp368 GLU_CHECK_GLW_CALL(gl, clearStencil(0)); in initializeStencilRbo()
370 tcu::clearStencil(ref.getLevel(0), 0); in initializeStencilRbo()
384 GLU_CHECK_GLW_CALL(gl, clearStencil(stencil)); in initializeStencilRbo()
387 tcu::clearStencil(tcu::getSubregion(ref.getLevel(0), 0, 0, size.x(), size.y()), stencil); in initializeStencilRbo()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/metal/
DFrameBufferMtl.mm121 bool clearStencil = IsMaskFlagSet(mask, static_cast<GLbitfield>(GL_STENCIL_BUFFER_BIT));
133 if (clearStencil)
135 clearOpts.clearStencil = contextMtl->getClearStencilValue();
184 clearOpts.clearStencil = values[0] & mtl::kStencilMaskAll;
202 clearOpts.clearStencil = stencil & mtl::kStencilMaskAll;
1147 if (clearOpts.clearStencil.valid())
1150 tempDesc.stencilAttachment.clearStencil = clearOpts.clearStencil.value();
1190 if (clearOpts.clearStencil.valid())
1192 encoder->setStencilLoadAction(MTLLoadActionClear, clearOpts.clearStencil.value());
1218 if (clearOpts.clearDepth.valid() || clearOpts.clearStencil.valid())
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineReferenceRenderer.cpp222 tcu::clearStencil(m_depthStencilBuffer.getAccess(), defaultClearStencil()); in ReferenceRenderer()
225 tcu::clearStencil(m_resolveDepthStencilBuffer.getAccess(), defaultClearStencil()); in ReferenceRenderer()
236 tcu::clearStencil(m_depthStencilBuffer.getAccess(), defaultClearStencil()); in ReferenceRenderer()

1234567