Home
last modified time | relevance | path

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

/external/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> {
/external/skqp/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> {
/external/skqp/src/gpu/gl/
DGrGLUtil.cpp526 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()
DGrGLUtil.h260 GrGLenum GrToGLStencilFunc(GrStencilTest test);
DGrGLPathRendering.cpp254 GrStencilTest test = stencilSettings.front().fTest; in flushPathStencilSettings()
/external/skia/src/gpu/gl/
DGrGLUtil.cpp526 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()
DGrGLUtil.h260 GrGLenum GrToGLStencilFunc(GrStencilTest test);
DGrGLPathRendering.cpp254 GrStencilTest test = stencilSettings.front().fTest; in flushPathStencilSettings()
/external/skia/src/gpu/mtl/
DGrMtlPipelineState.mm222 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/skqp/src/gpu/mtl/
DGrMtlPipelineState.mm222 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/skqp/src/gpu/vk/
DGrVkPipeline.cpp198 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/
DGrVkPipeline.cpp202 static VkCompareOp stencil_func_to_vk_compare_op(GrStencilTest test) { in stencil_func_to_vk_compare_op()
214 GR_STATIC_ASSERT(0 == (int)GrStencilTest::kAlways); in stencil_func_to_vk_compare_op()
215 GR_STATIC_ASSERT(1 == (int)GrStencilTest::kNever); in stencil_func_to_vk_compare_op()
216 GR_STATIC_ASSERT(2 == (int)GrStencilTest::kGreater); in stencil_func_to_vk_compare_op()
217 GR_STATIC_ASSERT(3 == (int)GrStencilTest::kGEqual); in stencil_func_to_vk_compare_op()
218 GR_STATIC_ASSERT(4 == (int)GrStencilTest::kLess); in stencil_func_to_vk_compare_op()
219 GR_STATIC_ASSERT(5 == (int)GrStencilTest::kLEqual); in stencil_func_to_vk_compare_op()
220 GR_STATIC_ASSERT(6 == (int)GrStencilTest::kEqual); in stencil_func_to_vk_compare_op()
221 GR_STATIC_ASSERT(7 == (int)GrStencilTest::kNotEqual); in stencil_func_to_vk_compare_op()
222 SkASSERT(test < (GrStencilTest)kGrStencilTestCount); in stencil_func_to_vk_compare_op()