Home | History | Annotate | Download | only in effects

Lines Matching refs:GrConvexPolyEffect

8 #include "GrConvexPolyEffect.h"
36 SkScalar fPrevEdges[3 * GrConvexPolyEffect::kMaxEdges];
41 const GrConvexPolyEffect& cpe = args.fFp.cast<GrConvexPolyEffect>();
72 const GrConvexPolyEffect& cpe = effect.cast<GrConvexPolyEffect>();
82 const GrConvexPolyEffect& cpe = processor.cast<GrConvexPolyEffect>();
90 std::unique_ptr<GrFragmentProcessor> GrConvexPolyEffect::Make(GrClipEdgeType type,
161 std::unique_ptr<GrFragmentProcessor> GrConvexPolyEffect::Make(GrClipEdgeType edgeType,
169 GrConvexPolyEffect::~GrConvexPolyEffect() {}
171 void GrConvexPolyEffect::onGetGLSLProcessorKey(const GrShaderCaps& caps,
176 GrGLSLFragmentProcessor* GrConvexPolyEffect::onCreateGLSLInstance() const {
180 GrConvexPolyEffect::GrConvexPolyEffect(GrClipEdgeType edgeType, int n, const SkScalar edges[])
194 GrConvexPolyEffect::GrConvexPolyEffect(const GrConvexPolyEffect& that)
201 std::unique_ptr<GrFragmentProcessor> GrConvexPolyEffect::clone() const {
202 return std::unique_ptr<GrFragmentProcessor>(new GrConvexPolyEffect(*this));
205 bool GrConvexPolyEffect::onIsEqual(const GrFragmentProcessor& other) const {
206 const GrConvexPolyEffect& cpe = other.cast<GrConvexPolyEffect>();
214 GR_DEFINE_FRAGMENT_PROCESSOR_TEST(GrConvexPolyEffect);
217 std::unique_ptr<GrFragmentProcessor> GrConvexPolyEffect::TestCreate(GrProcessorTestData* d) {
228 fp = GrConvexPolyEffect::Make(edgeType, count, edges);