Searched refs:GrStencilTest (Results 1 – 6 of 6) 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/gl/ |
D | GrGLUtil.cpp | 375 GrGLenum GrToGLStencilFunc(GrStencilTest test) { in GrToGLStencilFunc() 386 GR_STATIC_ASSERT(0 == (int)GrStencilTest::kAlways); in GrToGLStencilFunc() 387 GR_STATIC_ASSERT(1 == (int)GrStencilTest::kNever); in GrToGLStencilFunc() 388 GR_STATIC_ASSERT(2 == (int)GrStencilTest::kGreater); in GrToGLStencilFunc() 389 GR_STATIC_ASSERT(3 == (int)GrStencilTest::kGEqual); in GrToGLStencilFunc() 390 GR_STATIC_ASSERT(4 == (int)GrStencilTest::kLess); in GrToGLStencilFunc() 391 GR_STATIC_ASSERT(5 == (int)GrStencilTest::kLEqual); in GrToGLStencilFunc() 392 GR_STATIC_ASSERT(6 == (int)GrStencilTest::kEqual); in GrToGLStencilFunc() 393 GR_STATIC_ASSERT(7 == (int)GrStencilTest::kNotEqual); in GrToGLStencilFunc() 394 SkASSERT(test < (GrStencilTest)kGrStencilTestCount); in GrToGLStencilFunc()
|
D | GrGLUtil.h | 222 GrGLenum GrToGLStencilFunc(GrStencilTest test);
|
D | GrGLPathRendering.cpp | 323 GrStencilTest test = stencilSettings.front().fTest; in flushPathStencilSettings()
|
/external/skia/src/gpu/vk/ |
D | GrVkPipeline.cpp | 153 static VkCompareOp stencil_func_to_vk_compare_op(GrStencilTest test) { in stencil_func_to_vk_compare_op() 165 GR_STATIC_ASSERT(0 == (int)GrStencilTest::kAlways); in stencil_func_to_vk_compare_op() 166 GR_STATIC_ASSERT(1 == (int)GrStencilTest::kNever); in stencil_func_to_vk_compare_op() 167 GR_STATIC_ASSERT(2 == (int)GrStencilTest::kGreater); in stencil_func_to_vk_compare_op() 168 GR_STATIC_ASSERT(3 == (int)GrStencilTest::kGEqual); in stencil_func_to_vk_compare_op() 169 GR_STATIC_ASSERT(4 == (int)GrStencilTest::kLess); in stencil_func_to_vk_compare_op() 170 GR_STATIC_ASSERT(5 == (int)GrStencilTest::kLEqual); in stencil_func_to_vk_compare_op() 171 GR_STATIC_ASSERT(6 == (int)GrStencilTest::kEqual); in stencil_func_to_vk_compare_op() 172 GR_STATIC_ASSERT(7 == (int)GrStencilTest::kNotEqual); in stencil_func_to_vk_compare_op() 173 SkASSERT(test < (GrStencilTest)kGrStencilTestCount); in stencil_func_to_vk_compare_op()
|