Home
last modified time | relevance | path

Searched refs:GrStencilTest (Results 1 – 16 of 16) sorted by relevance

/third_party/skia/src/gpu/
DGrStencilSettings.cpp104 static constexpr GrStencilTest gUserStencilTestToRaw[kGrUserStencilTestCount] = {
106 GrStencilTest::kAlways, // kAlwaysIfInClip (This is only for when there is not a stencil clip).
107 GrStencilTest::kEqual, // kEqualIfInClip.
108 GrStencilTest::kLess, // kLessIfInClip.
109 GrStencilTest::kLEqual, // kLEqualIfInClip.
112 GrStencilTest::kAlways,
113 GrStencilTest::kNever,
114 GrStencilTest::kGreater,
115 GrStencilTest::kGEqual,
116 GrStencilTest::kLess,
[all …]
DGrStencilSettings.h17 enum class GrStencilTest : uint16_t { enum
27 static constexpr int kGrStencilTestCount = 1 + (int)GrStencilTest::kNotEqual;
76 struct Face : public GrTStencilFaceSettings<GrStencilTest, GrStencilOp> {
/third_party/flutter/skia/src/gpu/
DGrStencilSettings.cpp104 static constexpr GrStencilTest gUserStencilTestToRaw[kGrUserStencilTestCount] = {
106 GrStencilTest::kAlways, // kAlwaysIfInClip (This is only for when there is not a stencil clip).
107 GrStencilTest::kEqual, // kEqualIfInClip.
108 GrStencilTest::kLess, // kLessIfInClip.
109 GrStencilTest::kLEqual, // kLEqualIfInClip.
112 GrStencilTest::kAlways,
113 GrStencilTest::kNever,
114 GrStencilTest::kGreater,
115 GrStencilTest::kGEqual,
116 GrStencilTest::kLess,
[all …]
DGrStencilSettings.h17 enum class GrStencilTest : uint16_t { enum
27 static constexpr int kGrStencilTestCount = 1 + (int)GrStencilTest::kNotEqual;
76 struct Face : public GrTStencilFaceSettings<GrStencilTest, GrStencilOp> {
/third_party/skia/src/gpu/mtl/
DGrMtlDepthStencil.mm42 case GrStencilTest::kAlways:
45 case GrStencilTest::kNever:
48 case GrStencilTest::kGreater:
51 case GrStencilTest::kGEqual:
54 case GrStencilTest::kLess:
57 case GrStencilTest::kLEqual:
60 case GrStencilTest::kEqual:
63 case GrStencilTest::kNotEqual:
/third_party/flutter/skia/src/gpu/mtl/
DGrMtlDepthStencil.mm40 case GrStencilTest::kAlways:
43 case GrStencilTest::kNever:
46 case GrStencilTest::kGreater:
49 case GrStencilTest::kGEqual:
52 case GrStencilTest::kLess:
55 case GrStencilTest::kLEqual:
58 case GrStencilTest::kEqual:
61 case GrStencilTest::kNotEqual:
/third_party/flutter/skia/src/gpu/gl/
DGrGLUtil.cpp577 GrGLenum GrToGLStencilFunc(GrStencilTest test) { in GrToGLStencilFunc()
588 GR_STATIC_ASSERT(0 == (int)GrStencilTest::kAlways); in GrToGLStencilFunc()
589 GR_STATIC_ASSERT(1 == (int)GrStencilTest::kNever); in GrToGLStencilFunc()
590 GR_STATIC_ASSERT(2 == (int)GrStencilTest::kGreater); in GrToGLStencilFunc()
591 GR_STATIC_ASSERT(3 == (int)GrStencilTest::kGEqual); in GrToGLStencilFunc()
592 GR_STATIC_ASSERT(4 == (int)GrStencilTest::kLess); in GrToGLStencilFunc()
593 GR_STATIC_ASSERT(5 == (int)GrStencilTest::kLEqual); in GrToGLStencilFunc()
594 GR_STATIC_ASSERT(6 == (int)GrStencilTest::kEqual); in GrToGLStencilFunc()
595 GR_STATIC_ASSERT(7 == (int)GrStencilTest::kNotEqual); in GrToGLStencilFunc()
596 SkASSERT(test < (GrStencilTest)kGrStencilTestCount); in GrToGLStencilFunc()
DGrGLPathRendering.cpp253 GrStencilTest test = stencilSettings.frontAndBack().fTest; in flushPathStencilSettings()
DGrGLUtil.h368 GrGLenum GrToGLStencilFunc(GrStencilTest test);
/third_party/flutter/skia/src/gpu/vk/
DGrVkPipeline.cpp205 static VkCompareOp stencil_func_to_vk_compare_op(GrStencilTest test) { in stencil_func_to_vk_compare_op()
217 GR_STATIC_ASSERT(0 == (int)GrStencilTest::kAlways); in stencil_func_to_vk_compare_op()
218 GR_STATIC_ASSERT(1 == (int)GrStencilTest::kNever); in stencil_func_to_vk_compare_op()
219 GR_STATIC_ASSERT(2 == (int)GrStencilTest::kGreater); in stencil_func_to_vk_compare_op()
220 GR_STATIC_ASSERT(3 == (int)GrStencilTest::kGEqual); in stencil_func_to_vk_compare_op()
221 GR_STATIC_ASSERT(4 == (int)GrStencilTest::kLess); in stencil_func_to_vk_compare_op()
222 GR_STATIC_ASSERT(5 == (int)GrStencilTest::kLEqual); in stencil_func_to_vk_compare_op()
223 GR_STATIC_ASSERT(6 == (int)GrStencilTest::kEqual); in stencil_func_to_vk_compare_op()
224 GR_STATIC_ASSERT(7 == (int)GrStencilTest::kNotEqual); in stencil_func_to_vk_compare_op()
225 SkASSERT(test < (GrStencilTest)kGrStencilTestCount); in stencil_func_to_vk_compare_op()
/third_party/skia/src/gpu/vk/
DGrVkPipeline.cpp203 static VkCompareOp stencil_func_to_vk_compare_op(GrStencilTest test) { in stencil_func_to_vk_compare_op()
215 static_assert(0 == (int)GrStencilTest::kAlways); in stencil_func_to_vk_compare_op()
216 static_assert(1 == (int)GrStencilTest::kNever); in stencil_func_to_vk_compare_op()
217 static_assert(2 == (int)GrStencilTest::kGreater); in stencil_func_to_vk_compare_op()
218 static_assert(3 == (int)GrStencilTest::kGEqual); in stencil_func_to_vk_compare_op()
219 static_assert(4 == (int)GrStencilTest::kLess); in stencil_func_to_vk_compare_op()
220 static_assert(5 == (int)GrStencilTest::kLEqual); in stencil_func_to_vk_compare_op()
221 static_assert(6 == (int)GrStencilTest::kEqual); in stencil_func_to_vk_compare_op()
222 static_assert(7 == (int)GrStencilTest::kNotEqual); in stencil_func_to_vk_compare_op()
223 SkASSERT(test < (GrStencilTest)kGrStencilTestCount); in stencil_func_to_vk_compare_op()
/third_party/skia/src/gpu/gl/
DGrGLUtil.cpp712 GrGLenum GrToGLStencilFunc(GrStencilTest test) { in GrToGLStencilFunc()
723 static_assert(0 == (int)GrStencilTest::kAlways); in GrToGLStencilFunc()
724 static_assert(1 == (int)GrStencilTest::kNever); in GrToGLStencilFunc()
725 static_assert(2 == (int)GrStencilTest::kGreater); in GrToGLStencilFunc()
726 static_assert(3 == (int)GrStencilTest::kGEqual); in GrToGLStencilFunc()
727 static_assert(4 == (int)GrStencilTest::kLess); in GrToGLStencilFunc()
728 static_assert(5 == (int)GrStencilTest::kLEqual); in GrToGLStencilFunc()
729 static_assert(6 == (int)GrStencilTest::kEqual); in GrToGLStencilFunc()
730 static_assert(7 == (int)GrStencilTest::kNotEqual); in GrToGLStencilFunc()
731 SkASSERT(test < (GrStencilTest)kGrStencilTestCount); in GrToGLStencilFunc()
DGrGLUtil.h628 GrGLenum GrToGLStencilFunc(GrStencilTest test);
/third_party/skia/src/gpu/d3d/
DGrD3DPipelineStateBuilder.cpp420 static D3D12_COMPARISON_FUNC stencil_test_to_d3d_func(GrStencilTest test) { in stencil_test_to_d3d_func()
422 case GrStencilTest::kAlways: in stencil_test_to_d3d_func()
424 case GrStencilTest::kNever: in stencil_test_to_d3d_func()
426 case GrStencilTest::kGreater: in stencil_test_to_d3d_func()
428 case GrStencilTest::kGEqual: in stencil_test_to_d3d_func()
430 case GrStencilTest::kLess: in stencil_test_to_d3d_func()
432 case GrStencilTest::kLEqual: in stencil_test_to_d3d_func()
434 case GrStencilTest::kEqual: in stencil_test_to_d3d_func()
436 case GrStencilTest::kNotEqual: in stencil_test_to_d3d_func()
/third_party/flutter/skia/src/gpu/dawn/
DGrDawnProgramBuilder.cpp106 static dawn::CompareFunction to_dawn_compare_function(GrStencilTest test) { in to_dawn_compare_function()
108 case GrStencilTest::kAlways: in to_dawn_compare_function()
110 case GrStencilTest::kNever: in to_dawn_compare_function()
112 case GrStencilTest::kGreater: in to_dawn_compare_function()
114 case GrStencilTest::kGEqual: in to_dawn_compare_function()
116 case GrStencilTest::kLess: in to_dawn_compare_function()
118 case GrStencilTest::kLEqual: in to_dawn_compare_function()
120 case GrStencilTest::kEqual: in to_dawn_compare_function()
122 case GrStencilTest::kNotEqual: in to_dawn_compare_function()
/third_party/skia/src/gpu/dawn/
DGrDawnProgramBuilder.cpp84 static wgpu::CompareFunction to_dawn_compare_function(GrStencilTest test) { in to_dawn_compare_function()
86 case GrStencilTest::kAlways: in to_dawn_compare_function()
88 case GrStencilTest::kNever: in to_dawn_compare_function()
90 case GrStencilTest::kGreater: in to_dawn_compare_function()
92 case GrStencilTest::kGEqual: in to_dawn_compare_function()
94 case GrStencilTest::kLess: in to_dawn_compare_function()
96 case GrStencilTest::kLEqual: in to_dawn_compare_function()
98 case GrStencilTest::kEqual: in to_dawn_compare_function()
100 case GrStencilTest::kNotEqual: in to_dawn_compare_function()