Lines Matching refs:SkShader
21 sk_sp<SkShader> wrap_lm(sk_sp<SkShader> shader, const SkMatrix* lm) { in wrap_lm()
46 sk_sp<SkShader> SkShaders::Blend(SkBlendMode mode, sk_sp<SkShader> dst, sk_sp<SkShader> src, in Blend()
54 return sk_sp<SkShader>(new SkShader_Blend(mode, std::move(dst), std::move(src), lm)); in Blend()
57 sk_sp<SkShader> SkShaders::Lerp(float weight, sk_sp<SkShader> dst, sk_sp<SkShader> src, in Lerp()
68 return sk_sp<SkShader>(new SkShader_Lerp(weight, std::move(dst), std::move(src), lm)); in Lerp()
71 sk_sp<SkShader> SkShaders::Lerp(sk_sp<SkShader> red, sk_sp<SkShader> dst, sk_sp<SkShader> src, in Lerp()
79 return sk_sp<SkShader>(new SkShader_LerpRed(std::move(red), std::move(dst), std::move(src), in Lerp()
85 static bool append_shader_or_paint(const SkStageRec& rec, SkShader* shader) { in append_shader_or_paint()
97 static float* append_two_shaders(const SkStageRec& rec, SkShader* s0, SkShader* s1) { in append_two_shaders()
117 sk_sp<SkShader> dst(buffer.readShader()); in CreateProc()
118 sk_sp<SkShader> src(buffer.readShader()); in CreateProc()
148 sk_sp<SkShader> dst(buffer.readShader()); in CreateProc()
149 sk_sp<SkShader> src(buffer.readShader()); in CreateProc()
174 sk_sp<SkShader> dst(buffer.readShader()); in CreateProc()
175 sk_sp<SkShader> src(buffer.readShader()); in CreateProc()
176 sk_sp<SkShader> red(buffer.readShader()); in CreateProc()
218 static std::unique_ptr<GrFragmentProcessor> as_fp(const GrFPArgs& args, SkShader* shader) { in as_fp()