Lines Matching refs:SkShaderBase
33 class SkShaderBase : public SkShader {
35 ~SkShaderBase() override;
84 Context(const SkShaderBase& shader, const ContextRec&);
106 const SkShaderBase& fShader;
192 static sk_sp<SkShaderBase> Deserialize(const void* data, size_t size,
194 return sk_sp<SkShaderBase>(static_cast<SkShaderBase*>(
200 SkShaderBase(const SkMatrix* localMatrix = nullptr);
226 return sk_ref_sp(const_cast<SkShaderBase*>(this)); in onMakeColorSpace()
239 inline SkShaderBase* as_SB(SkShader* shader) { in as_SB()
240 return static_cast<SkShaderBase*>(shader); in as_SB()
243 inline const SkShaderBase* as_SB(const SkShader* shader) { in as_SB()
244 return static_cast<const SkShaderBase*>(shader); in as_SB()
247 inline const SkShaderBase* as_SB(const sk_sp<SkShader>& shader) { in as_SB()
248 return static_cast<SkShaderBase*>(shader.get()); in as_SB()