Lines Matching refs:GrConvexPolyEffect
9 #include "GrConvexPolyEffect.h"
200 SkScalar fPrevEdges[3 * GrConvexPolyEffect::kMaxEdges];
217 const GrConvexPolyEffect& cpe = fp.cast<GrConvexPolyEffect>();
253 const GrConvexPolyEffect& cpe = effect.cast<GrConvexPolyEffect>();
263 const GrConvexPolyEffect& cpe = processor.cast<GrConvexPolyEffect>();
271 GrFragmentProcessor* GrConvexPolyEffect::Create(GrPrimitiveEdgeType type, const SkPath& path,
322 GrFragmentProcessor* GrConvexPolyEffect::Create(GrPrimitiveEdgeType edgeType, const SkRect& rect) {
329 GrConvexPolyEffect::~GrConvexPolyEffect() {}
331 void GrConvexPolyEffect::getConstantColorComponents(GrColor* color, uint32_t* validFlags) const {
335 const GrBackendFragmentProcessorFactory& GrConvexPolyEffect::getFactory() const {
336 return GrTBackendFragmentProcessorFactory<GrConvexPolyEffect>::getInstance();
339 GrConvexPolyEffect::GrConvexPolyEffect(GrPrimitiveEdgeType edgeType, int n, const SkScalar edges[])
353 bool GrConvexPolyEffect::onIsEqual(const GrProcessor& other) const {
354 const GrConvexPolyEffect& cpe = other.cast<GrConvexPolyEffect>();
362 GR_DEFINE_FRAGMENT_PROCESSOR_TEST(GrConvexPolyEffect);
364 GrFragmentProcessor* GrConvexPolyEffect::TestCreate(SkRandom* random,
378 fp = GrConvexPolyEffect::Create(edgeType, count, edges);