Home | History | Annotate | Download | only in effects

Lines Matching refs:GrConvexPolyEffect

8 #include "GrConvexPolyEffect.h"
196 SkScalar fPrevEdges[3 * GrConvexPolyEffect::kMaxEdges];
213 const GrConvexPolyEffect& cpe = drawEffect.castEffect<GrConvexPolyEffect>();
248 const GrConvexPolyEffect& cpe = drawEffect.castEffect<GrConvexPolyEffect>();
258 const GrConvexPolyEffect& cpe = drawEffect.castEffect<GrConvexPolyEffect>();
265 GrEffectRef* GrConvexPolyEffect::Create(GrEffectEdgeType type, const SkPath& path, const SkVector* offset) {
315 GrEffectRef* GrConvexPolyEffect::Create(GrEffectEdgeType edgeType, const SkRect& rect) {
322 GrConvexPolyEffect::~GrConvexPolyEffect() {}
324 void GrConvexPolyEffect::getConstantColorComponents(GrColor* color, uint32_t* validFlags) const {
328 const GrBackendEffectFactory& GrConvexPolyEffect::getFactory() const {
329 return GrTBackendEffectFactory<GrConvexPolyEffect>::getInstance();
332 GrConvexPolyEffect::GrConvexPolyEffect(GrEffectEdgeType edgeType, int n, const SkScalar edges[])
346 bool GrConvexPolyEffect::onIsEqual(const GrEffect& other) const {
347 const GrConvexPolyEffect& cpe = CastEffect<GrConvexPolyEffect>(other);
355 GR_DEFINE_EFFECT_TEST(GrConvexPolyEffect);
357 GrEffectRef* GrConvexPolyEffect::TestCreate(SkRandom* random,
371 effect = GrConvexPolyEffect::Create(edgeType, count, edges);