/third_party/mesa3d/src/mesa/main/ |
D | stencil.c | 118 ctx->Stencil.Clear = (GLuint) s; in _mesa_ClearStencil() 156 if (ctx->Stencil.Function[0] == frontfunc && in _mesa_StencilFuncSeparateATI() 157 ctx->Stencil.Function[1] == backfunc && in _mesa_StencilFuncSeparateATI() 158 ctx->Stencil.ValueMask[0] == mask && in _mesa_StencilFuncSeparateATI() 159 ctx->Stencil.ValueMask[1] == mask && in _mesa_StencilFuncSeparateATI() 160 ctx->Stencil.Ref[0] == ref && in _mesa_StencilFuncSeparateATI() 161 ctx->Stencil.Ref[1] == ref) in _mesa_StencilFuncSeparateATI() 165 ctx->Stencil.Function[0] = frontfunc; in _mesa_StencilFuncSeparateATI() 166 ctx->Stencil.Function[1] = backfunc; in _mesa_StencilFuncSeparateATI() 167 ctx->Stencil.Ref[0] = ctx->Stencil.Ref[1] = ref; in _mesa_StencilFuncSeparateATI() [all …]
|
D | stencil.h | 53 GLint ref = ctx->Stencil.Ref[face]; in _mesa_get_stencil_ref() 60 return ctx->Stencil.Enabled && in _mesa_stencil_is_enabled() 67 const int face = ctx->Stencil._BackFace; in _mesa_stencil_is_two_sided() 70 (ctx->Stencil.Function[0] != ctx->Stencil.Function[face] || in _mesa_stencil_is_two_sided() 71 ctx->Stencil.FailFunc[0] != ctx->Stencil.FailFunc[face] || in _mesa_stencil_is_two_sided() 72 ctx->Stencil.ZPassFunc[0] != ctx->Stencil.ZPassFunc[face] || in _mesa_stencil_is_two_sided() 73 ctx->Stencil.ZFailFunc[0] != ctx->Stencil.ZFailFunc[face] || in _mesa_stencil_is_two_sided() 74 ctx->Stencil.Ref[0] != ctx->Stencil.Ref[face] || in _mesa_stencil_is_two_sided() 75 ctx->Stencil.ValueMask[0] != ctx->Stencil.ValueMask[face] || in _mesa_stencil_is_two_sided() 76 ctx->Stencil.WriteMask[0] != ctx->Stencil.WriteMask[face]); in _mesa_stencil_is_two_sided() [all …]
|
D | attrib.c | 186 attr->Stencil = ctx->Stencil.Enabled; in _mesa_PushAttrib() 187 attr->StencilTwoSide = ctx->Stencil.TestTwoSide; in _mesa_PushAttrib() 252 memcpy(&head->Stencil, &ctx->Stencil, sizeof(head->Stencil)); in _mesa_PushAttrib() 448 TEST_AND_UPDATE(ctx->Stencil.Enabled, enable->Stencil, GL_STENCIL_TEST); in pop_enable_group() 450 TEST_AND_UPDATE(ctx->Stencil.TestTwoSide, enable->StencilTwoSide, in pop_enable_group() 1004 TEST_AND_UPDATE(ctx->Stencil.Enabled, attr->Stencil.Enabled, in _mesa_PopAttrib() 1006 TEST_AND_CALL1(Stencil.Clear, ClearStencil); in _mesa_PopAttrib() 1008 TEST_AND_UPDATE(ctx->Stencil.TestTwoSide, attr->Stencil.TestTwoSide, in _mesa_PopAttrib() 1010 _mesa_ActiveStencilFaceEXT(attr->Stencil.ActiveFace in _mesa_PopAttrib() 1015 attr->Stencil.Function[0], in _mesa_PopAttrib() [all …]
|
D | clear.c | 382 const GLuint clearSave = ctx->Stencil.Clear; in clear_bufferiv() 383 ctx->Stencil.Clear = *value; in clear_bufferiv() 385 ctx->Stencil.Clear = clearSave; in clear_bufferiv() 742 const GLuint clearStencilSave = ctx->Stencil.Clear; in clear_bufferfi() 758 ctx->Stencil.Clear = stencil; in clear_bufferfi() 765 ctx->Stencil.Clear = clearStencilSave; in clear_bufferfi()
|
/third_party/mesa3d/src/mesa/state_tracker/ |
D | st_atom_depth.c | 100 if (ctx->Stencil.Enabled && ctx->DrawBuffer->Visual.stencilBits > 0) { in st_update_depth_stencil_alpha() 102 dsa->stencil[0].func = func_to_gallium(ctx->Stencil.Function[0]); in st_update_depth_stencil_alpha() 103 dsa->stencil[0].fail_op = gl_stencil_op_to_pipe(ctx->Stencil.FailFunc[0]); in st_update_depth_stencil_alpha() 104 dsa->stencil[0].zfail_op = gl_stencil_op_to_pipe(ctx->Stencil.ZFailFunc[0]); in st_update_depth_stencil_alpha() 105 dsa->stencil[0].zpass_op = gl_stencil_op_to_pipe(ctx->Stencil.ZPassFunc[0]); in st_update_depth_stencil_alpha() 106 dsa->stencil[0].valuemask = ctx->Stencil.ValueMask[0] & 0xff; in st_update_depth_stencil_alpha() 107 dsa->stencil[0].writemask = ctx->Stencil.WriteMask[0] & 0xff; in st_update_depth_stencil_alpha() 111 const GLuint back = ctx->Stencil._BackFace; in st_update_depth_stencil_alpha() 113 dsa->stencil[1].func = func_to_gallium(ctx->Stencil.Function[back]); in st_update_depth_stencil_alpha() 114 dsa->stencil[1].fail_op = gl_stencil_op_to_pipe(ctx->Stencil.FailFunc[back]); in st_update_depth_stencil_alpha() [all …]
|
D | st_cb_clear.c | 307 depth_stencil.stencil[0].writemask = ctx->Stencil.WriteMask[0] & 0xff; in clear_with_quad() 308 stencil_ref.ref_value[0] = ctx->Stencil.Clear; in clear_with_quad() 399 return (ctx->Stencil.WriteMask[0] & stencilMax) == 0; in is_stencil_disabled() 412 return (ctx->Stencil.WriteMask[0] & stencilMax) != stencilMax; in is_stencil_masked() 539 ctx->Depth.Clear, ctx->Stencil.Clear); in st_Clear()
|
/third_party/skia/third_party/externals/dawn/src/tests/unittests/ |
D | SubresourceStorageTests.cpp | 296 SubresourceStorage<int> s(Aspect::Depth | Aspect::Stencil, 5, 3); in TEST() 297 FakeStorage<int> f(Aspect::Depth | Aspect::Stencil, 5, 3); in TEST() 299 SubresourceRange range = SubresourceRange::MakeSingle(Aspect::Stencil, 1, 2); in TEST() 303 CheckAspectCompressed(s, Aspect::Stencil, false); in TEST() 304 CheckLayerCompressed(s, Aspect::Stencil, 0, true); in TEST() 305 CheckLayerCompressed(s, Aspect::Stencil, 1, false); in TEST() 306 CheckLayerCompressed(s, Aspect::Stencil, 2, true); in TEST() 313 SubresourceStorage<int> s(Aspect::Depth | Aspect::Stencil, kLayers, kLevels); in TEST() 314 FakeStorage<int> f(Aspect::Depth | Aspect::Stencil, kLayers, kLevels); in TEST() 328 CheckAspectCompressed(s, Aspect::Stencil, true); in TEST() [all …]
|
D | EnumMaskIteratorTests.cpp | 24 Stencil = 4, enumerator 55 TestAspect expected[] = {TestAspect::Color, TestAspect::Depth, TestAspect::Stencil}; in TEST() 57 TestAspect aspects = TestAspect::Color | TestAspect::Depth | TestAspect::Stencil; in TEST() 64 TestAspect expected[] = {TestAspect::Color, TestAspect::Stencil}; in TEST() 66 TestAspect aspects = TestAspect::Stencil | TestAspect::Color; in TEST()
|
/third_party/skia/third_party/externals/dawn/src/tests/end2end/ |
D | DepthStencilSamplingTests.cpp | 55 Stencil, enumerator 96 case TestAspect::Stencil: in GenerateSamplingShader() 285 case TestAspect::Stencil: in DoSamplingTestImpl() 303 case TestAspect::Stencil: in DoSamplingTestImpl() 340 case TestAspect::Stencil: in DoSamplingTestImpl() 358 case TestAspect::Stencil: in DoSamplingTestImpl() 442 CreateSamplingRenderPipeline({TestAspect::Stencil}, {0, 1, 2, 3}), in DoSamplingExtraStencilComponentsRenderTest() 453 CreateSamplingComputePipeline({TestAspect::Stencil}, {0, 1, 2, 3}), in DoSamplingExtraStencilComponentsComputeTest() 607 DoSamplingTest(TestAspect::Stencil, CreateSamplingRenderPipeline({TestAspect::Stencil}, 0), in TEST_P() 610 DoSamplingTest(TestAspect::Stencil, CreateSamplingComputePipeline({TestAspect::Stencil}, 0), in TEST_P() [all …]
|
D | SubresourceRenderAttachmentTests.cpp | 26 enum class Type { Color, Depth, Stencil }; enumerator 62 case Type::Stencil: { in DoSingleTest() 92 case Type::Stencil: { in DoSingleTest() 114 case Type::Stencil: in DoTest() 164 DoTest(Type::Stencil); in TEST_P()
|
/third_party/mesa3d/docs/gallium/cso/ |
D | dsa.rst | 3 Depth, Stencil, & Alpha 15 * Stencil 28 Stencil Members 38 Stencil test value mask; this is ANDed with the value in the stencil 41 Stencil test writemask; this controls which bits of the stencil buffer
|
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/shaders/ |
D | ResolveDepthStencil.hlsl | 21 Texture2DMS<uint2> Stencil : register(t1); 43 depthStencil.g = float(Stencil.Load(coord, 0).g); 52 Stencil.GetDimensions(width, height, samples); 55 stencil.g = float(Stencil.Load(coord, 0).g);
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/shaders/ |
D | ResolveDepthStencil.hlsl | 21 Texture2DMS<uint2> Stencil : register(t1); 43 depthStencil.g = float(Stencil.Load(coord, 0).g); 52 Stencil.GetDimensions(width, height, samples); 55 stencil.g = float(Stencil.Load(coord, 0).g);
|
/third_party/openGLES/extensions/ATI/ |
D | ATI_separate_stencil.txt | 140 Stencil func sets both front and back to the same test." 162 … STENCIL_BACK_FUNC_ATI Z8 GetIntegerv ALWAYS 4.1.4 Stencil-buffer 163 … STENCIL_BACK_FAIL_ATI Z6 GetIntegerv KEEP 4.1.4 Stencil-buffer 164 … STENCIL_BACK_PASS_DEPTH_FAIL_ATI Z6 GetIntegerv KEEP 4.1.4 Stencil-buffer 165 … STENCIL_BACK_PASS_DEPTH_PASS_ATI Z6 GetIntegerv KEEP 4.1.4 Stencil-buffer 166 … STENCIL_OP_SEPARATE_FACE_ATI B IsEnabled FALSE 4.1.4 Stencil-buffer
|
/third_party/skia/third_party/externals/opengl-registry/extensions/ATI/ |
D | ATI_separate_stencil.txt | 140 Stencil func sets both front and back to the same test." 162 … STENCIL_BACK_FUNC_ATI Z8 GetIntegerv ALWAYS 4.1.4 Stencil-buffer 163 … STENCIL_BACK_FAIL_ATI Z6 GetIntegerv KEEP 4.1.4 Stencil-buffer 164 … STENCIL_BACK_PASS_DEPTH_FAIL_ATI Z6 GetIntegerv KEEP 4.1.4 Stencil-buffer 165 … STENCIL_BACK_PASS_DEPTH_PASS_ATI Z6 GetIntegerv KEEP 4.1.4 Stencil-buffer 166 … STENCIL_OP_SEPARATE_FACE_ATI B IsEnabled FALSE 4.1.4 Stencil-buffer
|
/third_party/vk-gl-cts/doc/testspecs/GLES2/ |
D | functional.stencil.txt | 19 Stencil test 25 + Stencil buffer clears 26 + Stencil update with GL_REPLACE in stencil fail, depth fail and depth pass 34 + Stencil compare or update with points and lines
|
/third_party/skia/third_party/externals/dawn/src/dawn_native/ |
D | Subresource.cpp | 56 return format.aspects & Aspect::Stencil; in SelectFormatAspects() 74 case Aspect::Stencil: in GetAspectIndex() 91 ASSERT(aspects == (Aspect::Depth | Aspect::Stencil)); in GetAspectCount()
|
D | Format.cpp | 96 return (aspects & Aspect::Stencil) != 0; in HasStencil() 100 return (aspects & (Aspect::Depth | Aspect::Stencil)) != 0; in HasDepthOrStencil() 226 internalFormat.aspects = Aspect::Stencil; in BuildFormatTable() 337 …Aspect::Depth | Aspect::Stencil, wgpu::TextureFormat::Depth24Plus, wgpu::TextureFormat::Stencil8, … in BuildFormatTable() 340 …Aspect::Depth | Aspect::Stencil, wgpu::TextureFormat::Depth24Plus, wgpu::TextureFormat::Stencil8, … in BuildFormatTable() 344 …Aspect::Depth | Aspect::Stencil, wgpu::TextureFormat::Depth32Float, wgpu::TextureFormat::Stencil8,… in BuildFormatTable()
|
/third_party/openGLES/extensions/EXT/ |
D | EXT_stencil_two_side.txt | 284 -- Section 4.1.5 "Stencil test" 297 Stencil testing may operate in a two-sided mode. Two-sided stencil 324 where face is either FRONT or BACK. Stencil commands (StencilFunc, 353 -- Section 4.3.1 "Writing to the Stencil Buffer or to the Depth and 354 Stencil Buffers" 432 and the EXT_stencil_two_side back stencil state set. Stencil tests and 461 STENCIL_FUNC 2xZ8 GetIntegerv ALWAYS Stencil function 4.1.4 stencil-bu… 462 STENCIL_VALUE_MASK 2xZ+ GetIntegerv 1's Stencil mask 4.1.4 stencil-bu… 463 STENCIL_REF 2xZ+ GetIntegerv 0 Stencil reference 4.1.4 stencil-bu… 465 STENCIL_FAIL 2xZ6 GetIntegerv KEEP Stencil fail action 4.1.4 stencil-bu… [all …]
|
D | EXT_abgr.txt | 51 STENCIL_INDEX Index Stencil value Stencil
|
/third_party/skia/third_party/externals/opengl-registry/extensions/EXT/ |
D | EXT_stencil_two_side.txt | 284 -- Section 4.1.5 "Stencil test" 297 Stencil testing may operate in a two-sided mode. Two-sided stencil 324 where face is either FRONT or BACK. Stencil commands (StencilFunc, 353 -- Section 4.3.1 "Writing to the Stencil Buffer or to the Depth and 354 Stencil Buffers" 432 and the EXT_stencil_two_side back stencil state set. Stencil tests and 461 STENCIL_FUNC 2xZ8 GetIntegerv ALWAYS Stencil function 4.1.4 stencil-bu… 462 STENCIL_VALUE_MASK 2xZ+ GetIntegerv 1's Stencil mask 4.1.4 stencil-bu… 463 STENCIL_REF 2xZ+ GetIntegerv 0 Stencil reference 4.1.4 stencil-bu… 465 STENCIL_FAIL 2xZ6 GetIntegerv KEEP Stencil fail action 4.1.4 stencil-bu… [all …]
|
D | EXT_bgra.txt | 53 STENCIL_INDEX Index Stencil value Stencil
|
/third_party/skia/third_party/externals/dawn/src/dawn_native/opengl/ |
D | TextureGL.cpp | 227 if ((range.aspects & (Aspect::Depth | Aspect::Stencil)) != 0) { in ClearTexture() 233 if (range.aspects & Aspect::Stencil) { in ClearTexture() 238 if (aspects == (Aspect::Depth | Aspect::Stencil)) { in ClearTexture() 242 } else if (aspects == Aspect::Stencil) { in ClearTexture() 254 if (range.aspects == (Aspect::Depth | Aspect::Stencil)) { in ClearTexture() 258 } else if (range.aspects == Aspect::Stencil) { in ClearTexture()
|
/third_party/mesa3d/docs/_extra/specs/OLD/ |
D | MESA_packed_depth_stencil.spec | 85 STENCIL_INDEX Stencil Stencil index 100 Stencil
|
/third_party/skia/third_party/externals/swiftshader/src/Renderer/ |
D | PixelProcessor.hpp | 139 struct Stencil struct in sw::PixelProcessor 323 Stencil stencil; 324 Stencil stencilCCW;
|