Home
last modified time | relevance | path

Searched refs:SkShaderBase (Results 1 – 25 of 71) sorted by relevance

123

/third_party/flutter/skia/src/shaders/
DSkShader.cpp29 SkShaderBase::SkShaderBase(const SkMatrix* localMatrix) in SkShaderBase() function in SkShaderBase
35 SkShaderBase::~SkShaderBase() {} in ~SkShaderBase()
37 void SkShaderBase::flatten(SkWriteBuffer& buffer) const { in flatten()
47 SkShaderBase::totalLocalMatrix(const SkMatrix* preLocalMatrix, in totalLocalMatrix()
62 bool SkShaderBase::computeTotalInverse(const SkMatrix& ctm, in computeTotalInverse()
68 bool SkShaderBase::asLuminanceColor(SkColor* colorPtr) const { in asLuminanceColor()
80 SkShaderBase::Context* SkShaderBase::makeContext(const ContextRec& rec, SkArenaAlloc* alloc) const { in makeContext()
96 SkShaderBase::Context::Context(const SkShaderBase& shader, const ContextRec& rec) in Context()
111 SkShaderBase::Context::~Context() {} in ~Context()
113 bool SkShaderBase::ContextRec::isLegacyCompatible(SkColorSpace* shaderColorSpace) const { in isLegacyCompatible()
[all …]
DSkShaderBase.h49 class SkShaderBase : public SkShader {
51 ~SkShaderBase() override;
100 Context(const SkShaderBase& shader, const ContextRec&);
122 const SkShaderBase& fShader;
192 static sk_sp<SkShaderBase> Deserialize(const void* data, size_t size,
194 return sk_sp<SkShaderBase>(static_cast<SkShaderBase*>(
210 SkShaderBase(const SkMatrix* localMatrix = nullptr);
240 inline SkShaderBase* as_SB(SkShader* shader) { in as_SB()
241 return static_cast<SkShaderBase*>(shader); in as_SB()
244 inline const SkShaderBase* as_SB(const SkShader* shader) { in as_SB()
[all …]
DSkBitmapProcShader.cpp19 class BitmapProcInfoContext : public SkShaderBase::Context {
22 BitmapProcInfoContext(const SkShaderBase& shader, const SkShaderBase::ContextRec& rec, in BitmapProcInfoContext()
29 fFlags |= SkShaderBase::kOpaqueAlpha_Flag; in BitmapProcInfoContext()
33 fFlags |= SkShaderBase::kConstInY32_Flag; in BitmapProcInfoContext()
43 typedef SkShaderBase::Context INHERITED;
50 BitmapProcShaderContext(const SkShaderBase& shader, const SkShaderBase::ContextRec& rec, in BitmapProcShaderContext()
94 SkShaderBase::Context* SkBitmapProcLegacyShader::MakeContext( in MakeContext()
95 const SkShaderBase& shader, SkTileMode tmx, SkTileMode tmy, in MakeContext()
DSkComposeShader.h14 class SkShader_Blend final : public SkShaderBase {
39 typedef SkShaderBase INHERITED;
42 class SkShader_Lerp final : public SkShaderBase {
69 typedef SkShaderBase INHERITED;
72 class SkShader_LerpRed final : public SkShaderBase {
98 typedef SkShaderBase INHERITED;
DSkBitmapProcShader.h15 class SkBitmapProcLegacyShader : public SkShaderBase {
19 static Context* MakeContext(const SkShaderBase&, SkTileMode tmx, SkTileMode tmy,
22 typedef SkShaderBase INHERITED;
DSkImageShader.h18 class SkImageShader : public SkShaderBase {
57 friend class SkShaderBase; variable
58 typedef SkShaderBase INHERITED;
DSkPictureShader.h25 class SkPictureShader : public SkShaderBase {
65 SkShaderBase::Context* fBitmapShaderContext;
78 typedef SkShaderBase INHERITED;
DSkLightingShader.cpp40 class SkLightingShaderImpl : public SkShaderBase {
66 SkShaderBase::Context* diffuseContext, SkNormalSource::Provider*,
74 SkShaderBase::Context* fDiffuseContext;
97 typedef SkShaderBase INHERITED;
315 SkShaderBase::Context* diffuseContext, SkNormalSource::Provider* normalProvider, in LightingShaderContext()
432 diffuseShader = buf.readFlattenable<SkShaderBase>(); in CreateProc()
452 SkShaderBase::Context* SkLightingShaderImpl::onMakeContext( in onMakeContext()
455 SkShaderBase::Context *diffuseContext = nullptr; in onMakeContext()
DSkEmptyShader.h19 class SkEmptyShader : public SkShaderBase {
43 typedef SkShaderBase INHERITED;
DSkColorFilterShader.h16 class SkColorFilterShader : public SkShaderBase {
34 typedef SkShaderBase INHERITED;
DSkRTShader.h23 class SkRTShader : public SkShaderBase {
48 typedef SkShaderBase INHERITED;
/third_party/skia/src/shaders/
DSkShader.cpp33 SkShaderBase::SkShaderBase(const SkMatrix* localMatrix) in SkShaderBase() function in SkShaderBase
39 SkShaderBase::~SkShaderBase() {} in ~SkShaderBase()
41 void SkShaderBase::flatten(SkWriteBuffer& buffer) const { in flatten()
51 SkShaderBase::totalLocalMatrix(const SkMatrix* preLocalMatrix) const { in totalLocalMatrix()
61 bool SkShaderBase::computeTotalInverse(const SkMatrix& ctm, in computeTotalInverse()
67 bool SkShaderBase::asLuminanceColor(SkColor* colorPtr) const { in asLuminanceColor()
79 SkShaderBase::Context* SkShaderBase::makeContext(const ContextRec& rec, SkArenaAlloc* alloc) const { in makeContext()
95 SkShaderBase::Context::Context(const SkShaderBase& shader, const ContextRec& rec) in Context()
110 SkShaderBase::Context::~Context() {} in ~Context()
112 bool SkShaderBase::ContextRec::isLegacyCompatible(SkColorSpace* shaderColorSpace) const { in isLegacyCompatible()
[all …]
DSkShaderBase.h37 class SkShaderBase : public SkShader {
39 ~SkShaderBase() override;
94 Context(const SkShaderBase& shader, const ContextRec&);
116 const SkShaderBase& fShader;
187 static sk_sp<SkShaderBase> Deserialize(const void* data, size_t size,
189 return sk_sp<SkShaderBase>(static_cast<SkShaderBase*>(
213 SkShaderBase(const SkMatrix* localMatrix = nullptr);
269 class SkUpdatableShader : public SkShaderBase, public SkStageUpdater {
276 inline SkShaderBase* as_SB(SkShader* shader) { in as_SB()
277 return static_cast<SkShaderBase*>(shader); in as_SB()
[all …]
DSkBitmapProcShader.cpp15 class BitmapProcShaderContext : public SkShaderBase::Context {
17 BitmapProcShaderContext(const SkShaderBase& shader, const SkShaderBase::ContextRec& rec, in BitmapProcShaderContext()
24 fFlags |= SkShaderBase::kOpaqueAlpha_Flag; in BitmapProcShaderContext()
33 fFlags |= SkShaderBase::kConstInY32_Flag; in BitmapProcShaderContext()
73 using INHERITED = SkShaderBase::Context;
78 SkShaderBase::Context* SkBitmapProcLegacyShader::MakeContext( in MakeContext()
79 const SkShaderBase& shader, SkTileMode tmx, SkTileMode tmy, const SkSamplingOptions& sampling, in MakeContext()
DSkBitmapProcShader.h15 class SkBitmapProcLegacyShader : public SkShaderBase {
19 static Context* MakeContext(const SkShaderBase&, SkTileMode tmx, SkTileMode tmy,
23 using INHERITED = SkShaderBase;
DSkPictureShader.h25 class SkPictureShader : public SkShaderBase {
65 SkShaderBase::Context* fBitmapShaderContext;
76 using INHERITED = SkShaderBase;
DSkImageShader.h15 class SkImageShader : public SkShaderBase {
71 friend class SkShaderBase; variable
72 using INHERITED = SkShaderBase;
DSkEmptyShader.h19 class SkEmptyShader : public SkShaderBase {
47 using INHERITED = SkShaderBase;
DSkLocalMatrixShader.cpp42 SkShaderBase::Context* SkLocalMatrixShader::onMakeContext( in onMakeContext()
122 class SkCTMShader final : public SkShaderBase {
175 using INHERITED = SkShaderBase;
207 sk_sp<SkShader> SkShaderBase::makeWithCTM(const SkMatrix& postM) const { in makeWithCTM()
DSkColorFilterShader.h16 class SkColorFilterShader : public SkShaderBase {
39 using INHERITED = SkShaderBase;
DSkTransformShader.h18 explicit SkTransformShader(const SkShaderBase& shader);
40 const SkShaderBase& fShader;
/third_party/flutter/skia/src/core/
DSkNormalMapSource.h23 SkNormalSource::Provider* asProvider(const SkShaderBase::ContextRec& rec,
29 bool computeNormTotalInverse(const SkShaderBase::ContextRec& rec,
37 Provider(const SkNormalMapSourceImpl& source, SkShaderBase::Context* mapContext); in SK_FLATTENABLE_HOOKS()
43 SkShaderBase::Context* fMapContext; in SK_FLATTENABLE_HOOKS()
DSkNormalMapSource.cpp139 SkShaderBase::Context* mapContext) in Provider()
143 SkNormalSource::Provider* SkNormalMapSourceImpl::asProvider(const SkShaderBase::ContextRec &rec, in asProvider()
157 SkShaderBase::ContextRec overrideRec(overridePaint, *(rec.fMatrix), rec.fLocalMatrix, in asProvider()
168 bool SkNormalMapSourceImpl::computeNormTotalInverse(const SkShaderBase::ContextRec& rec, in computeNormTotalInverse()
232 sk_sp<SkShader> mapShader = buf.readFlattenable<SkShaderBase>(); in CreateProc()
DSkCoreBlitters.h37 SkShaderBase::Context* shaderContext);
43 SkShaderBase::Context* fShaderContext;
123 SkShaderBase::Context* shaderContext);
150 SkRGB565_Shader_Blitter(const SkPixmap& device, const SkPaint&, SkShaderBase::Context*);
/third_party/skia/src/core/
DSkCoreBlitters.h37 SkShaderBase::Context* shaderContext);
43 SkShaderBase::Context* fShaderContext;
123 SkShaderBase::Context* shaderContext);
150 SkRGB565_Shader_Blitter(const SkPixmap& device, const SkPaint&, SkShaderBase::Context*);

123