Home
last modified time | relevance | path

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

12

/external/skia/include/core/
DSkShader.h102 struct ContextRec { struct
108 ContextRec(const SkPaint& paint, const SkMatrix& matrix, const SkMatrix* localM, in ContextRec() argument
123 Context(const SkShader& shader, const ContextRec&); argument
191 Context* createContext(const ContextRec&, void* storage) const;
199 virtual size_t contextSize(const ContextRec&) const;
415 bool computeTotalInverse(const ContextRec&, SkMatrix* totalInverse) const;
421 virtual Context* onCreateContext(const ContextRec&, void* storage) const;
/external/skia/src/core/
DSkPictureShader.h28 size_t contextSize(const ContextRec&) const override;
43 Context* onCreateContext(const ContextRec&, void* storage) const override;
56 static Context* Create(void* storage, const SkPictureShader&, const ContextRec&,
67 PictureShaderContext(const SkPictureShader&, const ContextRec&, SkShader* bitmapShader);
DSkBitmapProcShader.h26 size_t contextSize(const ContextRec&) const override { return ContextSize(); } in contextSize() argument
41 BitmapProcShaderContext(const SkShader&, const ContextRec&, SkBitmapProcState*);
57 Context* onCreateContext(const ContextRec&, void* storage) const override;
68 const SkBitmapProvider&, const ContextRec&, void* storage);
DSkColorFilterShader.h18 size_t contextSize(const ContextRec&) const override;
30 FilterShaderContext(const SkColorFilterShader&, SkShader::Context*, const ContextRec&);
54 Context* onCreateContext(const ContextRec&, void* storage) const override;
DSkColorShader.h29 size_t contextSize(const ContextRec&) const override { in contextSize() argument
35 ColorShaderContext(const SkColorShader& shader, const ContextRec&);
63 Context* onCreateContext(const ContextRec&, void* storage) const override;
DSkComposeShader.h37 size_t contextSize(const ContextRec&) const override;
50 ComposeShaderContext(const SkComposeShader&, const ContextRec&,
80 Context* onCreateContext(const ContextRec&, void*) const override;
DSkShader.cpp64 bool SkShader::computeTotalInverse(const ContextRec& rec, SkMatrix* totalInverse) const { in computeTotalInverse()
88 SkShader::Context* SkShader::createContext(const ContextRec& rec, void* storage) const { in createContext()
95 SkShader::Context* SkShader::onCreateContext(const ContextRec& rec, void*) const { in onCreateContext()
99 size_t SkShader::contextSize(const ContextRec&) const { in contextSize()
103 SkShader::Context::Context(const SkShader& shader, const ContextRec& rec) in Context()
275 SkShader::Context* SkColorShader::onCreateContext(const ContextRec& rec, void* storage) const { in onCreateContext()
280 const ContextRec& rec) in ColorShaderContext()
DSkEmptyShader.h23 size_t contextSize(const ContextRec&) const override { in contextSize() argument
33 SkShader::Context* onCreateContext(const ContextRec&, void*) const override { in SK_DECLARE_PUBLIC_FLATTENABLE_DESERIALIZATION_PROCS()
DSkColorFilterShader.cpp55 SkShader::Context* SkColorFilterShader::onCreateContext(const ContextRec& rec, in onCreateContext()
65 size_t SkColorFilterShader::contextSize(const ContextRec& rec) const { in contextSize()
72 const ContextRec& rec) in FilterShaderContext()
DSkLocalMatrixShader.h22 size_t contextSize(const ContextRec& rec) const override { in contextSize()
54 Context* onCreateContext(const ContextRec&, void*) const override;
DSkLocalMatrixShader.cpp25 SkShader::Context* SkLocalMatrixShader::onCreateContext(const ContextRec& rec, in onCreateContext()
27 ContextRec newRec(rec); in onCreateContext()
DSkLightingShader.cpp82 size_t contextSize(const ContextRec&) const override;
88 LightingShaderContext(const SkLightingShaderImpl&, const ContextRec&,
109 Context* onCreateContext(const ContextRec&, void*) const override;
110 bool computeNormTotalInverse(const ContextRec& rec, SkMatrix* normTotalInverse) const;
419 size_t SkLightingShaderImpl::contextSize(const ContextRec&) const { in contextSize()
424 const ContextRec& rec, in LightingShaderContext()
645 bool SkLightingShaderImpl::computeNormTotalInverse(const ContextRec& rec, in computeNormTotalInverse()
658 SkShader::Context* SkLightingShaderImpl::onCreateContext(const ContextRec& rec, in onCreateContext()
DSkComposeShader.cpp33 size_t SkComposeShader::contextSize(const ContextRec& rec) const { in contextSize()
78 SkShader::Context* SkComposeShader::onCreateContext(const ContextRec& rec, void* storage) const { in onCreateContext()
93 ContextRec newRec(rec); in onCreateContext()
109 const SkComposeShader& shader, const ContextRec& rec, in ComposeShaderContext()
DSkBlitter.cpp29 bool SkBlitter::resetShaderContext(const SkShader::ContextRec&) { in resetShaderContext() argument
595 size_t contextSize(const ContextRec& rec) const override { in contextSize()
603 Context* onCreateContext(const ContextRec& rec, void* storage) const override { in onCreateContext()
618 Sk3DShaderContext(const Sk3DShader& shader, const ContextRec& rec, in Sk3DShaderContext()
792 SkShader::ContextRec::DstType SkBlitter::PreferredShaderDest(const SkImageInfo& dstInfo) { in PreferredShaderDest()
794 return SkShader::ContextRec::kPM4f_DstType; in PreferredShaderDest()
797 ? SkShader::ContextRec::kPM4f_DstType in PreferredShaderDest()
798 : SkShader::ContextRec::kPMColor_DstType; in PreferredShaderDest()
888 const SkShader::ContextRec rec(*paint, matrix, nullptr, in Choose()
973 SkZeroShaderContext(const SkShader& shader, const SkShader::ContextRec& rec) in SkZeroShaderContext()
[all …]
DSkPictureShader.cpp240 size_t SkPictureShader::contextSize(const ContextRec&) const { in contextSize()
244 SkShader::Context* SkPictureShader::onCreateContext(const ContextRec& rec, void* storage) const { in onCreateContext()
255 const SkPictureShader& shader, const ContextRec& rec, SkShader* bitmapShader) { in Create()
265 const SkPictureShader& shader, const ContextRec& rec, SkShader* bitmapShader) in PictureShaderContext()
DSkBitmapProcShader.cpp78 const ContextRec& rec, void* storage) { in MakeContext()
97 SkShader::Context* SkBitmapProcShader::onCreateContext(const ContextRec& rec, void* storage) const { in onCreateContext()
108 const ContextRec& rec, in BitmapProcShaderContext()
/external/skia/src/effects/gradients/
DSkSweepGradient.h18 size_t contextSize(const ContextRec&) const override;
22 SweepGradientContext(const SkSweepGradient& shader, const ContextRec&);
44 Context* onCreateContext(const ContextRec&, void* storage) const override;
DSkRadialGradient.h18 size_t contextSize(const ContextRec&) const override;
22 RadialGradientContext(const SkRadialGradient&, const ContextRec&);
44 Context* onCreateContext(const ContextRec&, void* storage) const override;
DSkLinearGradient.h36 size_t contextSize(const ContextRec&) const override;
40 LinearGradientContext(const SkLinearGradient&, const ContextRec&);
74 Context* onCreateContext(const ContextRec&, void* storage) const override;
DSkTwoPointConicalGradient.h49 size_t contextSize(const ContextRec&) const override;
53 TwoPointConicalGradientContext(const SkTwoPointConicalGradient&, const ContextRec&);
85 Context* onCreateContext(const ContextRec&, void* storage) const override;
DSkSweepGradient.cpp48 size_t SkSweepGradient::contextSize(const ContextRec&) const { in contextSize()
52 SkShader::Context* SkSweepGradient::onCreateContext(const ContextRec& rec, void* storage) const { in onCreateContext()
57 const SkSweepGradient& shader, const ContextRec& rec) in SweepGradientContext()
/external/skia/include/effects/
DSkPerlinNoiseShader.h75 size_t contextSize(const ContextRec&) const override;
79 PerlinNoiseShaderContext(const SkPerlinNoiseShader& shader, const ContextRec&);
108 Context* onCreateContext(const ContextRec&, void* storage) const override;
/external/skia/experimental/SkPerlinNoiseShader2/
DSkPerlinNoiseShader2.h87 size_t contextSize(const ContextRec&) const override;
91 PerlinNoiseShaderContext(const SkPerlinNoiseShader2& shader, const ContextRec&);
121 Context* onCreateContext(const ContextRec&, void* storage) const override;
/external/skia/src/image/
DSkImageShader.h19 size_t contextSize(const ContextRec&) const override;
31 Context* onCreateContext(const ContextRec&, void* storage) const override;
DSkImageShader.cpp45 size_t SkImageShader::contextSize(const ContextRec&) const { in contextSize()
49 SkShader::Context* SkImageShader::onCreateContext(const ContextRec& rec, void* storage) const { in onCreateContext()

12