/external/skia/src/gpu/effects/ |
D | GrConvexPolyEffect.cpp | 21 static GrFragmentProcessor* Create(GrPrimitiveEdgeType edgeType, const SkRect& rect) { in Create() argument 22 return new AARectEffect(edgeType, rect); in Create() 32 AARectEffect(GrPrimitiveEdgeType edgeType, const SkRect& rect) in AARectEffect() argument 33 : fRect(rect), fEdgeType(edgeType) { in AARectEffect() 72 GrPrimitiveEdgeType edgeType = static_cast<GrPrimitiveEdgeType>( in TestCreate() local 75 fp = AARectEffect::Create(edgeType, rect); in TestCreate() 290 GrFragmentProcessor* GrConvexPolyEffect::Create(GrPrimitiveEdgeType edgeType, const SkRect& rect) { in Create() argument 291 if (kHairlineAA_GrProcessorEdgeType == edgeType){ in Create() 294 return AARectEffect::Create(edgeType, rect); in Create() 312 GrConvexPolyEffect::GrConvexPolyEffect(GrPrimitiveEdgeType edgeType, int n, const SkScalar edges[]) in GrConvexPolyEffect() argument [all …]
|
D | GrRRectEffect.cpp | 81 GrFragmentProcessor* CircularRRectEffect::Create(GrPrimitiveEdgeType edgeType, in Create() argument 84 if (kFillAA_GrProcessorEdgeType != edgeType && kInverseFillAA_GrProcessorEdgeType != edgeType) { in Create() 87 return new CircularRRectEffect(edgeType, circularCornerFlags, rrect); in Create() 94 CircularRRectEffect::CircularRRectEffect(GrPrimitiveEdgeType edgeType, uint32_t circularCornerFlags, in CircularRRectEffect() argument 97 , fEdgeType(edgeType) in CircularRRectEffect() 420 EllipticalRRectEffect::Create(GrPrimitiveEdgeType edgeType, const SkRRect& rrect) { in Create() argument 421 if (kFillAA_GrProcessorEdgeType != edgeType && kInverseFillAA_GrProcessorEdgeType != edgeType) { in Create() 424 return new EllipticalRRectEffect(edgeType, rrect); in Create() 431 EllipticalRRectEffect::EllipticalRRectEffect(GrPrimitiveEdgeType edgeType, const SkRRect& rrect) in EllipticalRRectEffect() argument 433 , fEdgeType(edgeType) { in EllipticalRRectEffect() [all …]
|
D | GrConvexPolyEffect.h | 41 static GrFragmentProcessor* Create(GrPrimitiveEdgeType edgeType, int n, in Create() argument 43 if (n <= 0 || n > kMaxEdges || kHairlineAA_GrProcessorEdgeType == edgeType) { in Create() 46 return new GrConvexPolyEffect(edgeType, n, edges); in Create() 73 GrConvexPolyEffect(GrPrimitiveEdgeType edgeType, int n, const SkScalar edges[]);
|
D | GrOvalEffect.cpp | 53 GrFragmentProcessor* CircleEffect::Create(GrPrimitiveEdgeType edgeType, const SkPoint& center, in Create() argument 56 return new CircleEffect(edgeType, center, radius); in Create() 63 CircleEffect::CircleEffect(GrPrimitiveEdgeType edgeType, const SkPoint& c, SkScalar r) in CircleEffect() argument 66 , fEdgeType(edgeType) { in CircleEffect() 218 GrFragmentProcessor* EllipseEffect::Create(GrPrimitiveEdgeType edgeType, in Create() argument 223 return new EllipseEffect(edgeType, center, rx, ry); in Create() 230 EllipseEffect::EllipseEffect(GrPrimitiveEdgeType edgeType, const SkPoint& c, SkScalar rx, SkScalar … in EllipseEffect() argument 233 , fEdgeType(edgeType) { in EllipseEffect() 394 GrFragmentProcessor* GrOvalEffect::Create(GrPrimitiveEdgeType edgeType, const SkRect& oval) { in Create() argument 395 if (kHairlineAA_GrProcessorEdgeType == edgeType) { in Create() [all …]
|
D | GrBezierEffect.h | 63 const GrPrimitiveEdgeType edgeType, 68 switch (edgeType) { 143 const GrPrimitiveEdgeType edgeType, 148 switch (edgeType) { 225 const GrPrimitiveEdgeType edgeType, in Create() argument 227 switch (edgeType) { in Create()
|
D | GrBezierEffect.cpp | 256 GrPrimitiveEdgeType edgeType, const SkMatrix& localMatrix, in GrConicEffect() argument 263 , fEdgeType(edgeType) { in GrConicEffect() 278 GrPrimitiveEdgeType edgeType = in TestCreate() local 282 edgeType, *d->fCaps, in TestCreate() 472 GrPrimitiveEdgeType edgeType, const SkMatrix& localMatrix, in GrQuadEffect() argument 479 , fEdgeType(edgeType) { in GrQuadEffect() 494 GrPrimitiveEdgeType edgeType = static_cast<GrPrimitiveEdgeType>( in TestCreate() local 498 edgeType, *d->fCaps, in TestCreate() 704 GrPrimitiveEdgeType edgeType) in GrCubicEffect() argument 707 , fEdgeType(edgeType) { in GrCubicEffect() [all …]
|
/external/skia/include/gpu/ |
D | GrTypesPriv.h | 338 static inline bool GrProcessorEdgeTypeIsFill(const GrPrimitiveEdgeType edgeType) { in GrProcessorEdgeTypeIsFill() argument 339 return (kFillAA_GrProcessorEdgeType == edgeType || kFillBW_GrProcessorEdgeType == edgeType); in GrProcessorEdgeTypeIsFill() 342 static inline bool GrProcessorEdgeTypeIsInverseFill(const GrPrimitiveEdgeType edgeType) { in GrProcessorEdgeTypeIsInverseFill() argument 343 return (kInverseFillAA_GrProcessorEdgeType == edgeType || in GrProcessorEdgeTypeIsInverseFill() 344 kInverseFillBW_GrProcessorEdgeType == edgeType); in GrProcessorEdgeTypeIsInverseFill() 347 static inline bool GrProcessorEdgeTypeIsAA(const GrPrimitiveEdgeType edgeType) { in GrProcessorEdgeTypeIsAA() argument 348 …return (kFillBW_GrProcessorEdgeType != edgeType && kInverseFillBW_GrProcessorEdgeType != edgeType); in GrProcessorEdgeTypeIsAA() 351 static inline GrPrimitiveEdgeType GrInvertProcessorEdgeType(const GrPrimitiveEdgeType edgeType) { in GrInvertProcessorEdgeType() argument 352 switch (edgeType) { in GrInvertProcessorEdgeType()
|
/external/skia/gm/ |
D | beziereffects.cpp | 162 for(int edgeType = 0; edgeType < kGrProcessorEdgeTypeCnt; ++edgeType) { in onDraw() local 164 GrPrimitiveEdgeType et = (GrPrimitiveEdgeType)edgeType; in onDraw() 305 for(int edgeType = 0; edgeType < kGrProcessorEdgeTypeCnt; ++edgeType) { in onDraw() local 307 GrPrimitiveEdgeType et = (GrPrimitiveEdgeType)edgeType; in onDraw() 542 for(int edgeType = 0; edgeType < kGrProcessorEdgeTypeCnt; ++edgeType) { in onDraw() local 544 GrPrimitiveEdgeType et = (GrPrimitiveEdgeType)edgeType; in onDraw()
|
D | convexpolyeffect.cpp | 189 GrPrimitiveEdgeType edgeType = (GrPrimitiveEdgeType) et; in onDraw() local 190 SkAutoTUnref<GrFragmentProcessor> fp(GrConvexPolyEffect::Create(edgeType, p)); in onDraw() 235 GrPrimitiveEdgeType edgeType = (GrPrimitiveEdgeType) et; in onDraw() local 236 SkAutoTUnref<GrFragmentProcessor> fp(GrConvexPolyEffect::Create(edgeType, rect)); in onDraw()
|
D | bigrrectaaeffect.cpp | 75 GrPrimitiveEdgeType edgeType = kEdgeTypes[et]; in onDraw() local 90 SkAutoTUnref<GrFragmentProcessor> fp(GrRRectEffect::Create(edgeType, rrect)); in onDraw()
|
D | rrects.cpp | 127 GrPrimitiveEdgeType edgeType = (GrPrimitiveEdgeType) et; in onDraw() local 128 SkAutoTUnref<GrFragmentProcessor> fp(GrRRectEffect::Create(edgeType, in onDraw()
|
/external/skia/src/gpu/ |
D | GrClipMaskManager.cpp | 235 GrPrimitiveEdgeType edgeType; in getAnalyticClipProcessor() local 241 edgeType = in getAnalyticClipProcessor() 244 edgeType = in getAnalyticClipProcessor() 250 fps[fpCnt] = GrConvexPolyEffect::Create(edgeType, iter.get()->getPath(), in getAnalyticClipProcessor() 256 fps[fpCnt] = GrRRectEffect::Create(edgeType, rrect); in getAnalyticClipProcessor() 262 fps[fpCnt] = GrConvexPolyEffect::Create(edgeType, rect); in getAnalyticClipProcessor()
|