Home
last modified time | relevance | path

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

123

/external/skia/src/core/
DSkBitmapProcShader.cpp23 BitmapProcInfoContext(const SkShader& shader, const SkShader::ContextRec& rec, in BitmapProcInfoContext()
51 BitmapProcShaderContext(const SkShader& shader, const SkShader::ContextRec& rec, in BitmapProcShaderContext()
107 LinearPipelineContext(const SkShader& shader, const SkShader::ContextRec& rec, in LinearPipelineContext()
186 static bool choose_linear_pipeline(const SkShader::ContextRec& rec, const SkImageInfo& srcInfo) { in choose_linear_pipeline()
191 return SkShader::ContextRec::kPM4f_DstType == rec.fPreferredDstType in choose_linear_pipeline()
195 size_t SkBitmapProcLegacyShader::ContextSize(const ContextRec& rec, const SkImageInfo& srcInfo) { in ContextSize()
204 const SkBitmapProvider& provider, const ContextRec& rec, SkArenaAlloc* alloc) in MakeContext()
DSkColorShader.h32 ColorShaderContext(const SkColorShader& shader, const ContextRec&);
62 Context* onMakeContext(const ContextRec&, SkArenaAlloc* storage) const override;
89 Color4Context(const SkColor4Shader& shader, const ContextRec&);
119 Context* onMakeContext(const ContextRec&, SkArenaAlloc*) const override;
DSkRadialShadowMapShader.cpp41 ShadowMapRadialShaderContext(const SkRadialShadowMapShaderImpl&, const ContextRec&,
65 size_t onContextSize(const ContextRec&) const override;
66 Context* onCreateContext(const ContextRec&, void*) const override;
275 const SkRadialShadowMapShaderImpl& shader, const ContextRec& rec, in ShadowMapRadialShaderContext()
380 size_t SkRadialShadowMapShaderImpl::onContextSize(const ContextRec& rec) const { in onContextSize()
384 SkShader::Context* SkRadialShadowMapShaderImpl::onCreateContext(const ContextRec& rec, in onCreateContext()
DSkBitmapProcShader.h19 static size_t ContextSize(const ContextRec&, const SkImageInfo& srcInfo);
21 const SkBitmapProvider&, const ContextRec&, SkArenaAlloc* alloc);
DSkShader.cpp72 bool SkShader::computeTotalInverse(const ContextRec& rec, SkMatrix* totalInverse) const { in computeTotalInverse()
93 SkShader::Context* SkShader::makeContext(const ContextRec& rec, SkArenaAlloc* alloc) const { in makeContext()
100 SkShader::Context::Context(const SkShader& shader, const ContextRec& rec) in Context()
276 ContextRec rec(*opaquePaint, ctm, localM, ContextRec::kPM4f_DstType, cs); in onAppendStages()
DSkNormalMapSource.h23 SkNormalSource::Provider* asProvider(const SkShader::ContextRec& rec,
31 bool computeNormTotalInverse(const SkShader::ContextRec& rec, SkMatrix* normTotalInverse) const;
DSkColorFilterShader.h27 FilterShaderContext(const SkColorFilterShader&, SkShader::Context*, const ContextRec&);
50 Context* onMakeContext(const ContextRec&, SkArenaAlloc* alloc) const override;
DSkMipMap.h36 static SkDestinationSurfaceColorMode DeduceColorMode(const SkShader::ContextRec& rec) { in DeduceColorMode()
37 return (SkShader::ContextRec::kPMColor_DstType == rec.fPreferredDstType) in DeduceColorMode()
DSkComposeShader.h45 ComposeShaderContext(const SkComposeShader&, const ContextRec&,
70 Context* onMakeContext(const ContextRec&, SkArenaAlloc*) const override;
DSkPictureShader.h40 Context* onMakeContext(const ContextRec&, SkArenaAlloc*) const override;
56 const SkPictureShader&, const ContextRec&, sk_sp<SkShader> bitmapShader, SkArenaAlloc*);
DSkLocalMatrixShader.cpp41 const ContextRec& rec, SkArenaAlloc* alloc) const in onMakeContext()
43 ContextRec newRec(rec); in onMakeContext()
DSkComposeShader.cpp73 const ContextRec& rec, SkArenaAlloc* alloc) const in onMakeContext()
86 ContextRec newRec(rec); in onMakeContext()
100 const SkComposeShader& shader, const ContextRec& rec, in ComposeShaderContext()
DSkNormalMapSource.cpp139 SkNormalSource::Provider* SkNormalMapSourceImpl::asProvider(const SkShader::ContextRec &rec, in asProvider()
149 SkShader::ContextRec overrideRec(overridePaint, *(rec.fMatrix), rec.fLocalMatrix, in asProvider()
160 bool SkNormalMapSourceImpl::computeNormTotalInverse(const SkShader::ContextRec& rec, in computeNormTotalInverse()
DSkColorFilterShader.cpp56 SkShader::Context* SkColorFilterShader::onMakeContext(const ContextRec& rec, in onMakeContext()
69 const ContextRec& rec) in FilterShaderContext()
DSkLightingShader.cpp63 LightingShaderContext(const SkLightingShaderImpl&, const ContextRec&,
85 Context* onMakeContext(const ContextRec&, SkArenaAlloc*) const override;
297 const SkLightingShaderImpl& shader, const ContextRec& rec, in LightingShaderContext()
439 const ContextRec& rec, SkArenaAlloc* alloc) const in onMakeContext()
DSkColorShader.cpp34 SkShader::Context* SkColorShader::onMakeContext(const ContextRec& rec, SkArenaAlloc* alloc) const { in onMakeContext()
39 const ContextRec& rec) in ColorShaderContext()
152 SkShader::Context* SkColor4Shader::onMakeContext(const ContextRec& rec, SkArenaAlloc* alloc) const { in onMakeContext()
157 const ContextRec& rec) in Color4Context()
DSkBlitter.cpp589 Context* onMakeContext(const ContextRec& rec, SkArenaAlloc* alloc) const override { in onMakeContext()
603 Sk3DShaderContext(const Sk3DShader& shader, const ContextRec& rec, in Sk3DShaderContext()
775 SkShader::ContextRec::DstType SkBlitter::PreferredShaderDest(const SkImageInfo& dstInfo) { in PreferredShaderDest()
777 return SkShader::ContextRec::kPM4f_DstType; in PreferredShaderDest()
780 ? SkShader::ContextRec::kPM4f_DstType in PreferredShaderDest()
781 : SkShader::ContextRec::kPMColor_DstType; in PreferredShaderDest()
883 const SkShader::ContextRec rec(*paint, matrix, nullptr, in Choose()
958 SkZeroShaderContext(const SkShader& shader, const SkShader::ContextRec& rec) in SkZeroShaderContext()
960 : INHERITED(shader, SkShader::ContextRec(*rec.fPaint, SkMatrix::I(), nullptr, in SkZeroShaderContext()
DSkEmptyShader.h27 SkShader::Context* onMakeContext(const ContextRec&, SkArenaAlloc*) const override { in SK_DECLARE_PUBLIC_FLATTENABLE_DESERIALIZATION_PROCS()
/external/skia/include/core/
DSkShader.h112 struct ContextRec { struct
118 ContextRec(const SkPaint& paint, const SkMatrix& matrix, const SkMatrix* localM, in ContextRec() argument
135 Context(const SkShader& shader, const ContextRec&); argument
236 Context* makeContext(const ContextRec&, SkArenaAlloc*) const;
472 bool computeTotalInverse(const ContextRec&, SkMatrix* totalInverse) const;
478 virtual Context* onMakeContext(const ContextRec&, SkArenaAlloc*) const { in onMakeContext() argument
/external/skia/src/effects/gradients/
DSkSweepGradient.h19 SweepGradientContext(const SkSweepGradient& shader, const ContextRec&);
38 Context* onMakeContext(const ContextRec&, SkArenaAlloc*) const override;
DSkRadialGradient.h19 RadialGradientContext(const SkRadialGradient&, const ContextRec&);
38 Context* onMakeContext(const ContextRec&, SkArenaAlloc*) const override;
DSkLinearGradient.h38 LinearGradientContext(const SkLinearGradient&, const ContextRec&);
69 Context* onMakeContext(const ContextRec&, SkArenaAlloc*) const override;
DSkTwoPointConicalGradient.h49 TwoPointConicalGradientContext(const SkTwoPointConicalGradient&, const ContextRec&);
78 Context* onMakeContext(const ContextRec&, SkArenaAlloc*) const override;
/external/skia/include/effects/
DSkPerlinNoiseShader.h67 PerlinNoiseShaderContext(const SkPerlinNoiseShader& shader, const ContextRec&);
95 Context* onMakeContext(const ContextRec&, SkArenaAlloc* storage) const override;
/external/skia/experimental/SkPerlinNoiseShader2/
DSkPerlinNoiseShader2.h88 PerlinNoiseShaderContext(const SkPerlinNoiseShader2& shader, const ContextRec&);
117 Context* onMakeContext(const ContextRec&, SkArenaAlloc*) const override;

123