Lines Matching refs:GrSweepGradient
127 class GrSweepGradient : public GrGradientEffect { class
132 return sk_sp<GrFragmentProcessor>(new GrSweepGradient(args)); in Make()
134 ~GrSweepGradient() override {} in ~GrSweepGradient()
139 GrSweepGradient(const CreateArgs& args) : INHERITED(args, args.fShader->colorsAreOpaque()) { in GrSweepGradient() function in GrSweepGradient
140 this->initClassID<GrSweepGradient>(); in GrSweepGradient()
155 class GrSweepGradient::GLSLSweepProcessor : public GrGradientEffect::GLSLProcessor {
173 GrGLSLFragmentProcessor* GrSweepGradient::onCreateGLSLInstance() const { in onCreateGLSLInstance()
174 return new GrSweepGradient::GLSLSweepProcessor(*this); in onCreateGLSLInstance()
177 void GrSweepGradient::onGetGLSLProcessorKey(const GrShaderCaps& caps, in onGetGLSLProcessorKey()
179 GrSweepGradient::GLSLSweepProcessor::GenKey(*this, caps, b); in onGetGLSLProcessorKey()
185 GR_DEFINE_FRAGMENT_PROCESSOR_TEST(GrSweepGradient);
188 sk_sp<GrFragmentProcessor> GrSweepGradient::TestCreate(GrProcessorTestData* d) { in TestCreate()
206 void GrSweepGradient::GLSLSweepProcessor::emitCode(EmitArgs& args) { in emitCode()
207 const GrSweepGradient& ge = args.fFp.cast<GrSweepGradient>(); in emitCode()
252 sk_sp<GrFragmentProcessor> inner(GrSweepGradient::Make( in asFragmentProcessor()