Home
last modified time | relevance | path

Searched refs:SkColorSpaceXformer (Results 1 – 25 of 81) sorted by relevance

1234

/external/skqp/src/core/
DSkColorSpaceXformer.cpp19 SkColorSpaceXformer::SkColorSpaceXformer(sk_sp<SkColorSpace> dst) in SkColorSpaceXformer() function in SkColorSpaceXformer
34 SkColorSpaceXformer::~SkColorSpaceXformer() {} in ~SkColorSpaceXformer()
36 std::unique_ptr<SkColorSpaceXformer> SkColorSpaceXformer::Make(sk_sp<SkColorSpace> dst) { in Make()
37 return std::unique_ptr<SkColorSpaceXformer>(new SkColorSpaceXformer{std::move(dst)}); in Make()
58 class SkColorSpaceXformer::AutoCachePurge {
60 AutoCachePurge(SkColorSpaceXformer* xformer) in AutoCachePurge()
73 SkColorSpaceXformer* fXformer;
77 sk_sp<T> SkColorSpaceXformer::cachedApply(const T* src, Cache<T>* cache, in cachedApply()
78 sk_sp<T> (*applyFunc)(const T*, SkColorSpaceXformer*)) { in cachedApply() argument
94 void SkColorSpaceXformer::purgeCaches() { in purgeCaches()
[all …]
DSkColorSpaceXformer.h26 class SkColorSpaceXformer : public SkNoncopyable {
28 static std::unique_ptr<SkColorSpaceXformer> Make(sk_sp<SkColorSpace> dst);
30 ~SkColorSpaceXformer();
46 explicit SkColorSpaceXformer(sk_sp<SkColorSpace> dst);
52 sk_sp<T> cachedApply(const T*, Cache<T>*, sk_sp<T> (*)(const T*, SkColorSpaceXformer*));
DSkColorSpaceXformCanvas.cpp26 MaybePaint(const SkPaint* p, SkColorSpaceXformer* xformer) { in MaybePaint()
36 std::unique_ptr<SkColorSpaceXformer> xformer) in SkColorSpaceXformCanvas()
344 std::unique_ptr<SkColorSpaceXformer> fXformer;
349 std::unique_ptr<SkColorSpaceXformer> xformer = SkColorSpaceXformer::Make(targetCS); in SkCreateColorSpaceXformCanvas()
DSkLocalMatrixImageFilter.h26 sk_sp<SkImageFilter> onMakeColorSpace(SkColorSpaceXformer*) const override;
DSkModeColorFilter.h36 sk_sp<SkColorFilter> onMakeColorSpace(SkColorSpaceXformer*) const override;
DSkMatrixImageFilter.h43 sk_sp<SkImageFilter> onMakeColorSpace(SkColorSpaceXformer*) const override;
/external/skqp/include/core/
DSkDrawLooper.h21 class SkColorSpaceXformer; variable
116 sk_sp<SkDrawLooper> makeColorSpace(SkColorSpaceXformer* xformer) const { in makeColorSpace()
119 virtual sk_sp<SkDrawLooper> onMakeColorSpace(SkColorSpaceXformer*) const = 0;
124 friend class SkColorSpaceXformer;
DSkColorFilter.h22 class SkColorSpaceXformer; variable
161 sk_sp<SkColorFilter> makeColorSpace(SkColorSpaceXformer* xformer) const { in makeColorSpace()
164 virtual sk_sp<SkColorFilter> onMakeColorSpace(SkColorSpaceXformer*) const { in onMakeColorSpace() argument
190 friend class SkColorSpaceXformer; variable
DSkImageFilter.h24 class SkColorSpaceXformer; variable
439 sk_sp<SkImageFilter> makeColorSpace(SkColorSpaceXformer* xformer) const { in makeColorSpace()
442 virtual sk_sp<SkImageFilter> onMakeColorSpace(SkColorSpaceXformer*) const = 0;
459 friend class SkColorSpaceXformer;
/external/skqp/src/shaders/
DSkLocalMatrixShader.h17 class SkColorSpaceXformer; variable
52 sk_sp<SkShader> onMakeColorSpace(SkColorSpaceXformer* xformer) const override { in onMakeColorSpace()
DSkShaderBase.h27 class SkColorSpaceXformer; variable
155 sk_sp<SkShader> makeColorSpace(SkColorSpaceXformer* xformer) const { in makeColorSpace()
223 virtual sk_sp<SkShader> onMakeColorSpace(SkColorSpaceXformer*) const { in onMakeColorSpace() argument
DSkColorShader.h48 sk_sp<SkShader> onMakeColorSpace(SkColorSpaceXformer* xformer) const override { in onMakeColorSpace()
71 sk_sp<SkShader> onMakeColorSpace(SkColorSpaceXformer* xformer) const override;
DSkLights.cpp52 static SkColor3f xform_color(const SkColor3f& color, SkColorSpaceXformer* xformer) { in xform_color()
63 sk_sp<SkLights> SkLights::makeColorSpace(SkColorSpaceXformer* xformer) const { in makeColorSpace()
DSkLights.h16 class SkColorSpaceXformer; variable
187 sk_sp<SkLights> makeColorSpace(SkColorSpaceXformer* xformer) const;
DSkColorFilterShader.h26 sk_sp<SkShader> onMakeColorSpace(SkColorSpaceXformer* xformer) const override;
/external/skqp/bench/
DColorSpaceXformBench.cpp23 std::unique_ptr<SkColorSpaceXformer> fXformer;
42 fXformer = SkColorSpaceXformer::Make(dst); // src is implicitly sRGB, what we want anyway in onDelayedSetup()
/external/skqp/src/shaders/gradients/
DSkGradientShaderPriv.h20 class SkColorSpaceXformer; variable
95 AutoXformColors(const SkGradientShaderBase&, SkColorSpaceXformer*);
DSkRadialGradient.h25 sk_sp<SkShader> onMakeColorSpace(SkColorSpaceXformer* xformer) const override;
DSkSweepGradient.h29 sk_sp<SkShader> onMakeColorSpace(SkColorSpaceXformer* xformer) const override;
/external/skqp/include/effects/
DSkPaintImageFilter.h34 sk_sp<SkImageFilter> onMakeColorSpace(SkColorSpaceXformer* xformer) const override;
DSkMagnifierImageFilter.h30 sk_sp<SkImageFilter> onMakeColorSpace(SkColorSpaceXformer*) const override;
DSkColorFilterImageFilter.h24 sk_sp<SkImageFilter> onMakeColorSpace(SkColorSpaceXformer*) const override;
DSkPictureImageFilter.h39 sk_sp<SkImageFilter> onMakeColorSpace(SkColorSpaceXformer*) const override;
DSkComposeImageFilter.h27 sk_sp<SkImageFilter> onMakeColorSpace(SkColorSpaceXformer*) const override;
DSkOffsetImageFilter.h27 sk_sp<SkImageFilter> onMakeColorSpace(SkColorSpaceXformer*) const override;

1234