Lines Matching refs:SkShaderBase
33 class SkShaderBase : public SkShader {
35 ~SkShaderBase() override;
82 Context(const SkShaderBase& shader, const ContextRec&);
104 const SkShaderBase& fShader;
190 static sk_sp<SkShaderBase> Deserialize(const void* data, size_t size,
192 return sk_sp<SkShaderBase>(static_cast<SkShaderBase*>(
198 SkShaderBase(const SkMatrix* localMatrix = nullptr);
224 return sk_ref_sp(const_cast<SkShaderBase*>(this)); in onMakeColorSpace()
237 inline SkShaderBase* as_SB(SkShader* shader) { in as_SB()
238 return static_cast<SkShaderBase*>(shader); in as_SB()
241 inline const SkShaderBase* as_SB(const SkShader* shader) { in as_SB()
242 return static_cast<const SkShaderBase*>(shader); in as_SB()
245 inline const SkShaderBase* as_SB(const sk_sp<SkShader>& shader) { in as_SB()
246 return static_cast<SkShaderBase*>(shader.get()); in as_SB()