Home
last modified time | relevance | path

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

12

/external/skqp/src/shaders/
DSkShaderBase.h64 struct ContextRec { struct
65 ContextRec(const SkPaint& paint, const SkMatrix& matrix, const SkMatrix* localM, in ContextRec() function
82 Context(const SkShaderBase& shader, const ContextRec&); argument
123 Context* makeContext(const ContextRec&, SkArenaAlloc*) const;
207 virtual Context* onMakeContext(const ContextRec&, SkArenaAlloc*) const { in onMakeContext() argument
214 virtual Context* onMakeBurstPipelineContext(const ContextRec&, SkArenaAlloc*) const { in onMakeBurstPipelineContext() argument
DSkBitmapProcShader.cpp23 BitmapProcInfoContext(const SkShaderBase& shader, const SkShaderBase::ContextRec& rec, in BitmapProcInfoContext()
51 BitmapProcShaderContext(const SkShaderBase& shader, const SkShaderBase::ContextRec& rec, in BitmapProcShaderContext()
97 const SkBitmapProvider& provider, const ContextRec& rec, SkArenaAlloc* alloc) in MakeContext()
DSkPictureShader.h40 Context* onMakeContext(const ContextRec&, SkArenaAlloc*) const override;
57 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()
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()
167 ContextRec cr(*opaquePaint, rec.fCTM, rec.fLocalM, rec.fDstColorType, rec.fDstCS); in onAppendStages()
DSkBitmapProcShader.h20 const SkBitmapProvider&, const ContextRec&, SkArenaAlloc* alloc);
DSkEmptyShader.h25 Context* onMakeContext(const ContextRec&, SkArenaAlloc*) const override { in onMakeContext() argument
DSkLightingShader.cpp66 LightingShaderContext(const SkLightingShaderImpl&, const ContextRec&,
86 Context* onMakeContext(const ContextRec&, SkArenaAlloc*) const override;
318 const SkLightingShaderImpl& shader, const ContextRec& rec, in LightingShaderContext()
457 const ContextRec& rec, SkArenaAlloc* alloc) const in onMakeContext()
DSkImageShader.h41 Context* onMakeContext(const ContextRec&, SkArenaAlloc* storage) const override;
/external/skia/src/shaders/
DSkShaderBase.h85 struct ContextRec { struct
86 ContextRec(const SkPaint& paint, const SkMatrix& matrix, const SkMatrix* localM, in ContextRec() argument
108 Context(const SkShaderBase& shader, const ContextRec&); argument
149 Context* makeContext(const ContextRec&, SkArenaAlloc*) const;
233 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.cpp78 SkShaderBase::Context* SkShaderBase::makeContext(const ContextRec& rec, SkArenaAlloc* alloc) const { in makeContext()
94 SkShaderBase::Context::Context(const SkShaderBase& shader, const ContextRec& rec) in Context()
111 bool SkShaderBase::ContextRec::isLegacyCompatible(SkColorSpace* shaderColorSpace) const { in isLegacyCompatible()
164 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.cpp44 const ContextRec& rec, SkArenaAlloc* alloc) const in onMakeContext()
51 ContextRec newRec(rec); in onMakeContext()
142 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
/external/skqp/src/shaders/gradients/
DSkLinearGradient.h26 Context* onMakeContext(const ContextRec&, SkArenaAlloc*) const override;
27 Context* onMakeBurstPipelineContext(const ContextRec&, SkArenaAlloc*) const override;
DSkLinearGradient.cpp57 const ContextRec& rec, SkArenaAlloc* alloc) const in onMakeContext()
65 const ContextRec& rec, SkArenaAlloc* alloc) const { in onMakeBurstPipelineContext()
DSk4fLinearGradient.h17 LinearGradient4fContext(const SkLinearGradient&, const ContextRec&);
/external/skqp/src/core/
DSkNormalMapSource.h23 SkNormalSource::Provider* asProvider(const SkShaderBase::ContextRec& rec,
29 bool computeNormTotalInverse(const SkShaderBase::ContextRec& rec,
DSkNormalMapSource.cpp142 SkNormalSource::Provider* SkNormalMapSourceImpl::asProvider(const SkShaderBase::ContextRec &rec, in asProvider()
152 SkShaderBase::ContextRec overrideRec(overridePaint, *(rec.fMatrix), rec.fLocalMatrix, in asProvider()
163 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;
/external/skia/src/shaders/gradients/
DSk4fLinearGradient.h17 LinearGradient4fContext(const SkLinearGradient&, const ContextRec&);
DSkLinearGradient.h26 Context* onMakeContext(const ContextRec&, SkArenaAlloc*) const override;

12