Home
last modified time | relevance | path

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

1234567

/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()
/external/skia/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*));
/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/skia/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
172 sk_sp<SkColorFilter> makeColorSpace(SkColorSpaceXformer* xformer) const { in makeColorSpace()
175 virtual sk_sp<SkColorFilter> onMakeColorSpace(SkColorSpaceXformer*) const { in onMakeColorSpace() argument
201 friend class SkColorSpaceXformer; variable
DSkImageFilter.h23 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/
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
DSkLocalMatrixShader.h17 class SkColorSpaceXformer; variable
52 sk_sp<SkShader> onMakeColorSpace(SkColorSpaceXformer* xformer) const override { in onMakeColorSpace()
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;
/external/skia/src/shaders/
DSkShaderBase.h27 class SkColorSpaceXformer; variable
157 sk_sp<SkShader> makeColorSpace(SkColorSpaceXformer* xformer) const { in makeColorSpace()
225 virtual sk_sp<SkShader> onMakeColorSpace(SkColorSpaceXformer*) const { in onMakeColorSpace() argument
DSkLocalMatrixShader.h17 class SkColorSpaceXformer; variable
52 sk_sp<SkShader> onMakeColorSpace(SkColorSpaceXformer* xformer) const override { in onMakeColorSpace()
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;
/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/skia/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*);
/external/skia/src/shaders/gradients/
DSkGradientShaderPriv.h20 class SkColorSpaceXformer; variable
95 AutoXformColors(const SkGradientShaderBase&, SkColorSpaceXformer*);

1234567