Home
last modified time | relevance | path

Searched refs:FillInversion (Results 1 – 6 of 6) sorted by relevance

/external/skqp/src/gpu/
DGrShape.cpp44 static bool flip_inversion(bool originalIsInverted, GrShape::FillInversion inversion) { in flip_inversion()
46 case GrShape::FillInversion::kPreserve: in flip_inversion()
48 case GrShape::FillInversion::kFlip: in flip_inversion()
50 case GrShape::FillInversion::kForceInverted: in flip_inversion()
52 case GrShape::FillInversion::kForceNoninverted: in flip_inversion()
58 static bool is_inverted(bool originalIsInverted, GrShape::FillInversion inversion) { in is_inverted()
60 case GrShape::FillInversion::kPreserve: in is_inverted()
62 case GrShape::FillInversion::kFlip: in is_inverted()
64 case GrShape::FillInversion::kForceInverted: in is_inverted()
66 case GrShape::FillInversion::kForceNoninverted: in is_inverted()
[all …]
DGrShape.h128 enum class FillInversion { enum
141 static GrShape MakeFilled(const GrShape& original, FillInversion = FillInversion::kPreserve);
/external/skia/src/gpu/geometry/
DGrStyledShape.h117 enum class FillInversion { enum
131 FillInversion = FillInversion::kPreserve);
DGrStyledShape.cpp31 static bool is_inverted(bool originalIsInverted, GrStyledShape::FillInversion inversion) { in is_inverted()
33 case GrStyledShape::FillInversion::kPreserve: in is_inverted()
35 case GrStyledShape::FillInversion::kFlip: in is_inverted()
37 case GrStyledShape::FillInversion::kForceInverted: in is_inverted()
39 case GrStyledShape::FillInversion::kForceNoninverted: in is_inverted()
45 GrStyledShape GrStyledShape::MakeFilled(const GrStyledShape& original, FillInversion inversion) { in MakeFilled()
/external/skqp/tests/
DGrShapeTest.cpp279 GrShape preserve = GrShape::MakeFilled(shape, GrShape::FillInversion::kPreserve); in test_inversions()
283 GrShape flip = GrShape::MakeFilled(shape, GrShape::FillInversion::kFlip); in test_inversions()
287 GrShape inverted = GrShape::MakeFilled(shape, GrShape::FillInversion::kForceInverted); in test_inversions()
291 GrShape noninverted = GrShape::MakeFilled(shape, GrShape::FillInversion::kForceNoninverted); in test_inversions()
309 GrShape doubleFlip = GrShape::MakeFilled(flip, GrShape::FillInversion::kFlip); in test_inversions()
/external/skia/tests/
DGrStyledShapeTest.cpp282 shape, GrStyledShape::FillInversion::kPreserve); in test_inversions()
286 GrStyledShape flip = GrStyledShape::MakeFilled(shape, GrStyledShape::FillInversion::kFlip); in test_inversions()
291 shape, GrStyledShape::FillInversion::kForceInverted); in test_inversions()
296 shape, GrStyledShape::FillInversion::kForceNoninverted); in test_inversions()
314 GrStyledShape doubleFlip = GrStyledShape::MakeFilled(flip, GrStyledShape::FillInversion::kFlip); in test_inversions()