Home
last modified time | relevance | path

Searched refs:SkDrawLooper (Results 1 – 25 of 37) sorted by relevance

12

/external/skia/src/core/
DSkDrawLooper.cpp18 void SkDrawLooper::Context::Info::applyToCTM(SkMatrix* ctm) const { in applyToCTM()
26 void SkDrawLooper::Context::Info::applyToCanvas(SkCanvas* canvas) const { in applyToCanvas()
34 bool SkDrawLooper::canComputeFastBounds(const SkPaint& paint) const { in canComputeFastBounds()
37 SkDrawLooper::Context* context = this->makeContext(&alloc); in canComputeFastBounds()
40 SkDrawLooper::Context::Info info; in canComputeFastBounds()
52 void SkDrawLooper::computeFastBounds(const SkPaint& paint, const SkRect& s, in computeFastBounds()
60 SkDrawLooper::Context* context = this->makeContext(&alloc); in computeFastBounds()
64 SkDrawLooper::Context::Info info; in computeFastBounds()
82 bool SkDrawLooper::asABlurShadow(BlurShadowRec*) const { in asABlurShadow()
86 void SkDrawLooper::apply(SkCanvas* canvas, const SkPaint& paint, in apply()
DSkReadBuffer.h118 sk_sp<SkDrawLooper> readDrawLooper() { return this->readFlattenable<SkDrawLooper>(); } in readDrawLooper()
/external/skqp/include/core/
DSkDrawLooper.h34 class SK_API SkDrawLooper : public SkFlattenable {
108 static sk_sp<SkDrawLooper> Deserialize(const void* data, size_t size,
110 return sk_sp<SkDrawLooper>(static_cast<SkDrawLooper*>(
116 sk_sp<SkDrawLooper> makeColorSpace(SkColorSpaceXformer* xformer) const { in makeColorSpace()
119 virtual sk_sp<SkDrawLooper> onMakeColorSpace(SkColorSpaceXformer*) const = 0;
121 SkDrawLooper() {} in SkDrawLooper() function
DSkPaint.h29 class SkDrawLooper; variable
555 SkDrawLooper* getDrawLooper() const { return fDrawLooper.get(); } in getDrawLooper()
562 sk_sp<SkDrawLooper> refDrawLooper() const;
567 SkDrawLooper* getLooper() const { return fDrawLooper.get(); } in getLooper()
577 void setDrawLooper(sk_sp<SkDrawLooper> drawLooper);
582 void setLooper(sk_sp<SkDrawLooper> drawLooper);
674 sk_sp<SkDrawLooper> fDrawLooper;
/external/skqp/include/effects/
DSkLayerDrawLooper.h16 class SK_API SkLayerDrawLooper : public SkDrawLooper {
75 SkDrawLooper::Context* makeContext(SkCanvas*, SkArenaAlloc*) const override;
80 sk_sp<SkDrawLooper> onMakeColorSpace(SkColorSpaceXformer*) const override;
98 class LayerDrawLooperContext : public SkDrawLooper::Context {
111 typedef SkDrawLooper INHERITED;
143 sk_sp<SkDrawLooper> detach();
DSkBlurDrawLooper.h19 sk_sp<SkDrawLooper> SK_API Make(SkColor4f color, SkColorSpace* cs,
21 sk_sp<SkDrawLooper> SK_API Make(SkColor color, SkScalar sigma, SkScalar dx, SkScalar dy);
/external/skqp/src/core/
DSkDrawLooper.cpp15 bool SkDrawLooper::canComputeFastBounds(const SkPaint& paint) const { in canComputeFastBounds()
19 SkDrawLooper::Context* context = this->makeContext(&canvas, &alloc); in canComputeFastBounds()
34 void SkDrawLooper::computeFastBounds(const SkPaint& paint, const SkRect& s, in computeFastBounds()
43 SkDrawLooper::Context* context = this->makeContext(&canvas, &alloc); in computeFastBounds()
65 bool SkDrawLooper::asABlurShadow(BlurShadowRec*) const { in asABlurShadow()
DSkReadBuffer.h126 sk_sp<SkDrawLooper> readDrawLooper() { return this->readFlattenable<SkDrawLooper>(); } in readDrawLooper()
309 sk_sp<SkDrawLooper> readDrawLooper() { return nullptr; } in readDrawLooper()
/external/skia/include/core/
DSkDrawLooper.h32 class SK_API SkDrawLooper : public SkFlattenable {
118 static sk_sp<SkDrawLooper> Deserialize(const void* data, size_t size,
120 return sk_sp<SkDrawLooper>(static_cast<SkDrawLooper*>(
129 SkDrawLooper() {} in SkDrawLooper() function
/external/skia/include/effects/
DSkLayerDrawLooper.h23 class SK_API SkLayerDrawLooper : public SkDrawLooper {
82 SkDrawLooper::Context* makeContext(SkArenaAlloc*) const override;
103 class LayerDrawLooperContext : public SkDrawLooper::Context {
116 using INHERITED = SkDrawLooper;
149 sk_sp<SkDrawLooper> detach();
DSkBlurDrawLooper.h21 sk_sp<SkDrawLooper> SK_API Make(SkColor4f color, SkColorSpace* cs,
23 sk_sp<SkDrawLooper> SK_API Make(SkColor color, SkScalar sigma, SkScalar dx, SkScalar dy);
/external/skqp/tests/
DLayerDrawLooperTest.cpp63 SkDrawLooper::Context* context = looper->makeContext(&canvas, &alloc); in test_frontToBack()
102 SkDrawLooper::Context* context = looper->makeContext(&canvas, &alloc); in test_backToFront()
139 sk_sp<SkDrawLooper> looper(looperBuilder.detach()); in test_mixed()
141 SkDrawLooper::Context* context = looper->makeContext(&canvas, &alloc); in test_mixed()
DQuickRejectTest.cpp21 class TestLooper : public SkDrawLooper {
24 SkDrawLooper::Context* makeContext(SkCanvas*, SkArenaAlloc* alloc) const override { in makeContext()
28 sk_sp<SkDrawLooper> onMakeColorSpace(SkColorSpaceXformer*) const override { in onMakeColorSpace()
35 class TestDrawLooperContext : public SkDrawLooper::Context {
DBlurTest.cpp368 sk_sp<SkDrawLooper> lp(SkBlurDrawLooper::Make(color, sigma, dx, dy)); in test_blurDrawLooper()
374 SkDrawLooper::BlurShadowRec rec; in test_blurDrawLooper()
387 static void test_looper(skiatest::Reporter* reporter, sk_sp<SkDrawLooper> lp, SkScalar sigma, in test_looper()
389 SkDrawLooper::BlurShadowRec rec; in test_looper()
DFlattenDrawableTest.cpp299 test(SkDrawLooper); in DEF_TEST()
/external/skqp/src/effects/
DSkLayerDrawLooper.cpp210 sk_sp<SkDrawLooper> SkLayerDrawLooper::onMakeColorSpace(SkColorSpaceXformer* xformer) const { in onMakeColorSpace()
334 sk_sp<SkDrawLooper> SkLayerDrawLooper::Builder::detach() { in detach()
343 return sk_sp<SkDrawLooper>(looper); in detach()
346 sk_sp<SkDrawLooper> SkBlurDrawLooper::Make(SkColor color, SkScalar sigma, SkScalar dx, SkScalar dy) in Make()
351 sk_sp<SkDrawLooper> SkBlurDrawLooper::Make(SkColor4f color, SkColorSpace* cs, in Make()
/external/skia/src/effects/
DSkLayerDrawLooper.cpp295 sk_sp<SkDrawLooper> SkLayerDrawLooper::Builder::detach() { in detach()
304 return sk_sp<SkDrawLooper>(looper); in detach()
307 sk_sp<SkDrawLooper> SkBlurDrawLooper::Make(SkColor color, SkScalar sigma, SkScalar dx, SkScalar dy) in Make()
312 sk_sp<SkDrawLooper> SkBlurDrawLooper::Make(SkColor4f color, SkColorSpace* cs, in Make()
/external/skqp/gm/
Dmegalooper.cpp163 sk_sp<SkDrawLooper> create1Looper(SkScalar xOff, SkScalar yOff, SkColor color) { in create1Looper()
206 sk_sp<SkDrawLooper> create4Looper(SkScalar xOff, SkScalar yOff) { in create4Looper()
Ddrawlooper.cpp50 sk_sp<SkDrawLooper> fLooper;
Dtextbloblooper.cpp107 static sk_sp<SkDrawLooper> setupLooper(SkLayerDrawLooper::BitFlags bits, in setupLooper()
244 SkTArray<sk_sp<SkDrawLooper>> fLoopers;
Dshadows.cpp59 sk_sp<SkDrawLooper> shadowLoopers[] = { in onDraw()
/external/skqp/bench/
DRectoriBench.cpp74 sk_sp<SkDrawLooper> createLooper(SkScalar xOff, SkScalar sigma) { in createLooper()
/external/skqp/samplecode/
DSampleTiling.cpp59 sk_sp<SkDrawLooper> fLooper;
/external/skqp/site/user/api/
DSkPaint_Reference.md125 …<a href='undocumented#SkDrawLooper'>SkDrawLooper</a>* <a href='#SkPaint_getDrawLooper'>getDrawLoop…
126 …<a href='undocumented#sk_sp'>sk_sp</a><<a href='undocumented#SkDrawLooper'>SkDrawLooper</a>> <a hr…
127 …>(<a href='undocumented#sk_sp'>sk_sp</a><<a href='undocumented#SkDrawLooper'>SkDrawLooper</a>> dra…
249 …mented#SkColorFilter'>SkColorFilter</a>, <a href='undocumented#SkDrawLooper'>SkDrawLooper</a>, and…
254 <a href='undocumented#SkDrawLooper'>SkDrawLooper</a>, and <a href='undocumented#SkImageFilter'>SkIm…
349 …mented#SkColorFilter'>SkColorFilter</a>, <a href='undocumented#SkDrawLooper'>SkDrawLooper</a>, and…
363 …mented#SkColorFilter'>SkColorFilter</a>, <a href='undocumented#SkDrawLooper'>SkDrawLooper</a>, and…
441 <a href='undocumented#SkDrawLooper'>SkDrawLooper</a>, or <a href='undocumented#SkImageFilter'>SkIma…
484 <a href='undocumented#SkDrawLooper'>SkDrawLooper</a>, or <a href='undocumented#SkImageFilter'>SkIma…
3309 <a href='undocumented#SkDrawLooper'>SkDrawLooper</a>* <a href='#SkPaint_getDrawLooper'>getDrawLoope…
[all …]
/external/skqp/gn/
Dcore.gni101 "$_src/core/SkDrawLooper.cpp",
363 "$_include/core/SkDrawLooper.h",

12