Searched refs:GrStencilTest (Results 1 – 15 of 15) sorted by relevance
/external/skia/src/gpu/ |
D | GrStencilSettings.cpp | 104 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 …]
|
D | GrStencilSettings.h | 17 enum class GrStencilTest : uint16_t { enum 27 static constexpr int kGrStencilTestCount = 1 + (int)GrStencilTest::kNotEqual; 76 struct Face : public GrTStencilFaceSettings<GrStencilTest, GrStencilOp> {
|
/external/skia/src/gpu/mtl/ |
D | GrMtlDepthStencil.mm | 42 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:
|
/external/skqp/src/gpu/ |
D | GrStencilSettings.cpp | 104 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 …]
|
D | GrStencilSettings.h | 17 enum class GrStencilTest : uint16_t { enum 27 static constexpr int kGrStencilTestCount = 1 + (int)GrStencilTest::kNotEqual; 76 struct Face : public GrTStencilFaceSettings<GrStencilTest, GrStencilOp> {
|
/external/skqp/src/gpu/gl/ |
D | GrGLUtil.cpp | 526 GrGLenum GrToGLStencilFunc(GrStencilTest test) { in GrToGLStencilFunc() 537 GR_STATIC_ASSERT(0 == (int)GrStencilTest::kAlways); in GrToGLStencilFunc() 538 GR_STATIC_ASSERT(1 == (int)GrStencilTest::kNever); in GrToGLStencilFunc() 539 GR_STATIC_ASSERT(2 == (int)GrStencilTest::kGreater); in GrToGLStencilFunc() 540 GR_STATIC_ASSERT(3 == (int)GrStencilTest::kGEqual); in GrToGLStencilFunc() 541 GR_STATIC_ASSERT(4 == (int)GrStencilTest::kLess); in GrToGLStencilFunc() 542 GR_STATIC_ASSERT(5 == (int)GrStencilTest::kLEqual); in GrToGLStencilFunc() 543 GR_STATIC_ASSERT(6 == (int)GrStencilTest::kEqual); in GrToGLStencilFunc() 544 GR_STATIC_ASSERT(7 == (int)GrStencilTest::kNotEqual); in GrToGLStencilFunc() 545 SkASSERT(test < (GrStencilTest)kGrStencilTestCount); in GrToGLStencilFunc()
|
D | GrGLUtil.h | 260 GrGLenum GrToGLStencilFunc(GrStencilTest test);
|
D | GrGLPathRendering.cpp | 254 GrStencilTest test = stencilSettings.front().fTest; in flushPathStencilSettings()
|
/external/skqp/src/gpu/mtl/ |
D | GrMtlPipelineState.mm | 222 case GrStencilTest::kAlways: 225 case GrStencilTest::kNever: 228 case GrStencilTest::kGreater: 231 case GrStencilTest::kGEqual: 234 case GrStencilTest::kLess: 237 case GrStencilTest::kLEqual: 240 case GrStencilTest::kEqual: 243 case GrStencilTest::kNotEqual:
|
/external/skia/src/gpu/gl/ |
D | GrGLUtil.cpp | 660 GrGLenum GrToGLStencilFunc(GrStencilTest test) { in GrToGLStencilFunc() 671 static_assert(0 == (int)GrStencilTest::kAlways); in GrToGLStencilFunc() 672 static_assert(1 == (int)GrStencilTest::kNever); in GrToGLStencilFunc() 673 static_assert(2 == (int)GrStencilTest::kGreater); in GrToGLStencilFunc() 674 static_assert(3 == (int)GrStencilTest::kGEqual); in GrToGLStencilFunc() 675 static_assert(4 == (int)GrStencilTest::kLess); in GrToGLStencilFunc() 676 static_assert(5 == (int)GrStencilTest::kLEqual); in GrToGLStencilFunc() 677 static_assert(6 == (int)GrStencilTest::kEqual); in GrToGLStencilFunc() 678 static_assert(7 == (int)GrStencilTest::kNotEqual); in GrToGLStencilFunc() 679 SkASSERT(test < (GrStencilTest)kGrStencilTestCount); in GrToGLStencilFunc()
|
D | GrGLUtil.h | 554 GrGLenum GrToGLStencilFunc(GrStencilTest test);
|
/external/skqp/src/gpu/vk/ |
D | GrVkPipeline.cpp | 198 static VkCompareOp stencil_func_to_vk_compare_op(GrStencilTest test) { in stencil_func_to_vk_compare_op() 210 GR_STATIC_ASSERT(0 == (int)GrStencilTest::kAlways); in stencil_func_to_vk_compare_op() 211 GR_STATIC_ASSERT(1 == (int)GrStencilTest::kNever); in stencil_func_to_vk_compare_op() 212 GR_STATIC_ASSERT(2 == (int)GrStencilTest::kGreater); in stencil_func_to_vk_compare_op() 213 GR_STATIC_ASSERT(3 == (int)GrStencilTest::kGEqual); in stencil_func_to_vk_compare_op() 214 GR_STATIC_ASSERT(4 == (int)GrStencilTest::kLess); in stencil_func_to_vk_compare_op() 215 GR_STATIC_ASSERT(5 == (int)GrStencilTest::kLEqual); in stencil_func_to_vk_compare_op() 216 GR_STATIC_ASSERT(6 == (int)GrStencilTest::kEqual); in stencil_func_to_vk_compare_op() 217 GR_STATIC_ASSERT(7 == (int)GrStencilTest::kNotEqual); in stencil_func_to_vk_compare_op() 218 SkASSERT(test < (GrStencilTest)kGrStencilTestCount); in stencil_func_to_vk_compare_op()
|
/external/skia/src/gpu/vk/ |
D | GrVkPipeline.cpp | 203 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()
|
/external/skia/src/gpu/d3d/ |
D | GrD3DPipelineStateBuilder.cpp | 423 static D3D12_COMPARISON_FUNC stencil_test_to_d3d_func(GrStencilTest test) { in stencil_test_to_d3d_func() 425 case GrStencilTest::kAlways: in stencil_test_to_d3d_func() 427 case GrStencilTest::kNever: in stencil_test_to_d3d_func() 429 case GrStencilTest::kGreater: in stencil_test_to_d3d_func() 431 case GrStencilTest::kGEqual: in stencil_test_to_d3d_func() 433 case GrStencilTest::kLess: in stencil_test_to_d3d_func() 435 case GrStencilTest::kLEqual: in stencil_test_to_d3d_func() 437 case GrStencilTest::kEqual: in stencil_test_to_d3d_func() 439 case GrStencilTest::kNotEqual: in stencil_test_to_d3d_func()
|
/external/skia/src/gpu/dawn/ |
D | GrDawnProgramBuilder.cpp | 83 static wgpu::CompareFunction to_dawn_compare_function(GrStencilTest test) { in to_dawn_compare_function() 85 case GrStencilTest::kAlways: in to_dawn_compare_function() 87 case GrStencilTest::kNever: in to_dawn_compare_function() 89 case GrStencilTest::kGreater: in to_dawn_compare_function() 91 case GrStencilTest::kGEqual: in to_dawn_compare_function() 93 case GrStencilTest::kLess: in to_dawn_compare_function() 95 case GrStencilTest::kLEqual: in to_dawn_compare_function() 97 case GrStencilTest::kEqual: in to_dawn_compare_function() 99 case GrStencilTest::kNotEqual: in to_dawn_compare_function()
|