Lines Matching refs:GrConvexPolyEffect
8 #include "GrConvexPolyEffect.h"
183 SkScalar fPrevEdges[3 * GrConvexPolyEffect::kMaxEdges];
188 const GrConvexPolyEffect& cpe = args.fFp.cast<GrConvexPolyEffect>();
221 const GrConvexPolyEffect& cpe = effect.cast<GrConvexPolyEffect>();
231 const GrConvexPolyEffect& cpe = processor.cast<GrConvexPolyEffect>();
239 GrFragmentProcessor* GrConvexPolyEffect::Create(GrPrimitiveEdgeType type, const SkPath& path,
290 GrFragmentProcessor* GrConvexPolyEffect::Create(GrPrimitiveEdgeType edgeType, const SkRect& rect) {
297 GrConvexPolyEffect::~GrConvexPolyEffect() {}
299 void GrConvexPolyEffect::onComputeInvariantOutput(GrInvariantOutput* inout) const {
303 void GrConvexPolyEffect::onGetGLSLProcessorKey(const GrGLSLCaps& caps,
308 GrGLSLFragmentProcessor* GrConvexPolyEffect::onCreateGLSLInstance() const {
312 GrConvexPolyEffect::GrConvexPolyEffect(GrPrimitiveEdgeType edgeType, int n, const SkScalar edges[])
315 this->initClassID<GrConvexPolyEffect>();
327 bool GrConvexPolyEffect::onIsEqual(const GrFragmentProcessor& other) const {
328 const GrConvexPolyEffect& cpe = other.cast<GrConvexPolyEffect>();
336 GR_DEFINE_FRAGMENT_PROCESSOR_TEST(GrConvexPolyEffect);
338 const GrFragmentProcessor* GrConvexPolyEffect::TestCreate(GrProcessorTestData* d) {
349 fp = GrConvexPolyEffect::Create(edgeType, count, edges);