Home
last modified time | relevance | path

Searched refs:ContextRec (Results 1 – 25 of 45) sorted by relevance

12

/third_party/flutter/skia/src/shaders/
DSkShaderBase.h80 struct ContextRec { struct
81 ContextRec(const SkPaint& paint, const SkMatrix& matrix, const SkMatrix* localM, in ContextRec() argument
100 Context(const SkShaderBase& shader, const ContextRec&); argument
141 Context* makeContext(const ContextRec&, SkArenaAlloc*) const;
219 virtual Context* onMakeContext(const ContextRec&, SkArenaAlloc*) const { in onMakeContext() argument
DSkBitmapProcShader.cpp22 BitmapProcInfoContext(const SkShaderBase& shader, const SkShaderBase::ContextRec& rec, in BitmapProcInfoContext()
50 BitmapProcShaderContext(const SkShaderBase& shader, const SkShaderBase::ContextRec& rec, in BitmapProcShaderContext()
96 const SkImage_Base* image, const ContextRec& rec, SkArenaAlloc* alloc) in MakeContext()
DSkShader.cpp80 SkShaderBase::Context* SkShaderBase::makeContext(const ContextRec& rec, SkArenaAlloc* alloc) const { in makeContext()
96 SkShaderBase::Context::Context(const SkShaderBase& shader, const ContextRec& rec) in Context()
113 bool SkShaderBase::ContextRec::isLegacyCompatible(SkColorSpace* shaderColorSpace) const { in isLegacyCompatible()
162 ContextRec cr(*opaquePaint, rec.fCTM, rec.fLocalM, rec.fDstColorType, sk_srgb_singleton()); in onAppendStages()
DSkPictureShader.h43 Context* onMakeContext(const ContextRec&, SkArenaAlloc*) const override;
58 const SkPictureShader&, const ContextRec&, sk_sp<SkShader> bitmapShader, SkArenaAlloc*);
DSkLocalMatrixShader.cpp40 const ContextRec& rec, SkArenaAlloc* alloc) const in onMakeContext()
47 ContextRec newRec(rec); in onMakeContext()
DSkLightingShader.cpp65 LightingShaderContext(const SkLightingShaderImpl&, const ContextRec&,
85 Context* onMakeContext(const ContextRec&, SkArenaAlloc*) const override;
314 const SkLightingShaderImpl& shader, const ContextRec& rec, in LightingShaderContext()
453 const ContextRec& rec, SkArenaAlloc* alloc) const in onMakeContext()
DSkBitmapProcShader.h20 const SkImage_Base*, const ContextRec&, SkArenaAlloc* alloc);
DSkEmptyShader.h25 Context* onMakeContext(const ContextRec&, SkArenaAlloc*) const override { in onMakeContext() argument
DSkImageShader.h43 Context* onMakeContext(const ContextRec&, SkArenaAlloc* storage) const override;
DSkPictureShader.cpp293 SkShaderBase::Context* SkPictureShader::onMakeContext(const ContextRec& rec, SkArenaAlloc* alloc) in onMakeContext()
302 ContextRec localRec = rec; in onMakeContext()
317 const SkPictureShader& shader, const ContextRec& rec, sk_sp<SkShader> bitmapShader, in PictureShaderContext()
/third_party/skia/src/shaders/
DSkShaderBase.h71 struct ContextRec { struct
72 ContextRec(const SkPaint& paint, const SkMatrix& matrix, const SkMatrix* localM, in ContextRec() function
94 Context(const SkShaderBase& shader, const ContextRec&); argument
135 Context* makeContext(const ContextRec&, SkArenaAlloc*) const;
222 virtual Context* onMakeContext(const ContextRec&, SkArenaAlloc*) const { in onMakeContext() argument
DSkPictureShader.h43 Context* onMakeContext(const ContextRec&, SkArenaAlloc*) const override;
58 const SkPictureShader&, const ContextRec&, sk_sp<SkShader> bitmapShader, SkArenaAlloc*);
DSkShader.cpp79 SkShaderBase::Context* SkShaderBase::makeContext(const ContextRec& rec, SkArenaAlloc* alloc) const { in makeContext()
95 SkShaderBase::Context::Context(const SkShaderBase& shader, const ContextRec& rec) in Context()
112 bool SkShaderBase::ContextRec::isLegacyCompatible(SkColorSpace* shaderColorSpace) const { in isLegacyCompatible()
177 ContextRec cr(*opaquePaint, rec.fMatrixProvider.localToDevice(), rec.fLocalM, rec.fDstColorType, in onAppendStages()
DSkBitmapProcShader.cpp17 BitmapProcShaderContext(const SkShaderBase& shader, const SkShaderBase::ContextRec& rec, in BitmapProcShaderContext()
80 const SkImage_Base* image, const ContextRec& rec, SkArenaAlloc* alloc) in MakeContext()
DSkLocalMatrixShader.cpp43 const ContextRec& rec, SkArenaAlloc* alloc) const in onMakeContext()
50 ContextRec newRec(rec); in onMakeContext()
141 Context* onMakeContext(const ContextRec&, SkArenaAlloc*) const override { return nullptr; } in onMakeContext() argument
DSkBitmapProcShader.h21 const ContextRec&, SkArenaAlloc* alloc);
DSkEmptyShader.h25 Context* onMakeContext(const ContextRec&, SkArenaAlloc*) const override { in onMakeContext() argument
/third_party/flutter/skia/src/core/
DSkNormalMapSource.h23 SkNormalSource::Provider* asProvider(const SkShaderBase::ContextRec& rec,
29 bool computeNormTotalInverse(const SkShaderBase::ContextRec& rec,
DSkNormalMapSource.cpp143 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()
DSkNormalFlatSource.h21 SkNormalSource::Provider* asProvider(const SkShaderBase::ContextRec& rec,
DSkNormalSource.h47 virtual Provider* asProvider(const SkShaderBase::ContextRec&, SkArenaAlloc*) const = 0;
/third_party/skia/src/shaders/gradients/
DSk4fLinearGradient.h17 LinearGradient4fContext(const SkLinearGradient&, const ContextRec&);
DSkLinearGradient.h26 Context* onMakeContext(const ContextRec&, SkArenaAlloc*) const override;
/third_party/flutter/skia/src/shaders/gradients/
DSkLinearGradient.h26 Context* onMakeContext(const ContextRec&, SkArenaAlloc*) const override;
DSk4fLinearGradient.h17 LinearGradient4fContext(const SkLinearGradient&, const ContextRec&);

12