Home
last modified time | relevance | path

Searched refs:GrSweepGradient (Results 1 – 1 of 1) sorted by relevance

/external/skia/src/shaders/gradients/
DSkSweepGradient.cpp61 class GrSweepGradient : public GrGradientEffect { class
66 auto processor = sk_sp<GrSweepGradient>(new GrSweepGradient(args)); in Make()
70 ~GrSweepGradient() override {} in ~GrSweepGradient()
75 GrSweepGradient(const CreateArgs& args) : INHERITED(args, args.fShader->colorsAreOpaque()) { in GrSweepGradient() function in GrSweepGradient
76 this->initClassID<GrSweepGradient>(); in GrSweepGradient()
91 class GrSweepGradient::GLSLSweepProcessor : public GrGradientEffect::GLSLProcessor {
109 GrGLSLFragmentProcessor* GrSweepGradient::onCreateGLSLInstance() const { in onCreateGLSLInstance()
110 return new GrSweepGradient::GLSLSweepProcessor(*this); in onCreateGLSLInstance()
113 void GrSweepGradient::onGetGLSLProcessorKey(const GrShaderCaps& caps, in onGetGLSLProcessorKey()
115 GrSweepGradient::GLSLSweepProcessor::GenKey(*this, caps, b); in onGetGLSLProcessorKey()
[all …]