Home
last modified time | relevance | path

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

123

/external/skqp/include/effects/
DSkLayerDrawLooper.h16 class SK_API SkLayerDrawLooper : public SkDrawLooper {
74 SkDrawLooper::Context* makeContext(SkCanvas*, SkArenaAlloc*) const override;
84 sk_sp<SkDrawLooper> onMakeColorSpace(SkColorSpaceXformer*) const override;
100 class LayerDrawLooperContext : public SkDrawLooper::Context {
113 typedef SkDrawLooper INHERITED;
145 sk_sp<SkDrawLooper> detach();
DSkBlurDrawLooper.h19 sk_sp<SkDrawLooper> SK_API Make(SkColor color, SkScalar sigma, SkScalar dx, SkScalar dy);
/external/skia/include/effects/
DSkLayerDrawLooper.h16 class SK_API SkLayerDrawLooper : public SkDrawLooper {
74 SkDrawLooper::Context* makeContext(SkCanvas*, SkArenaAlloc*) const override;
84 sk_sp<SkDrawLooper> onMakeColorSpace(SkColorSpaceXformer*) const override;
100 class LayerDrawLooperContext : public SkDrawLooper::Context {
113 typedef SkDrawLooper INHERITED;
145 sk_sp<SkDrawLooper> detach();
DSkBlurDrawLooper.h19 sk_sp<SkDrawLooper> SK_API Make(SkColor color, SkScalar sigma, SkScalar dx, SkScalar dy);
/external/skia/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.h152 sk_sp<SkDrawLooper> readDrawLooper() { return this->readFlattenable<SkDrawLooper>(); } in readDrawLooper()
/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.h152 sk_sp<SkDrawLooper> readDrawLooper() { return this->readFlattenable<SkDrawLooper>(); } in readDrawLooper()
/external/skqp/include/core/
DSkDrawLooper.h33 class SK_API SkDrawLooper : public SkFlattenable {
101 SK_DEFINE_FLATTENABLE_TYPE(SkDrawLooper) in SK_DEFINE_FLATTENABLE_TYPE() argument
104 sk_sp<SkDrawLooper> makeColorSpace(SkColorSpaceXformer* xformer) const { in SK_DEFINE_FLATTENABLE_TYPE()
107 virtual sk_sp<SkDrawLooper> onMakeColorSpace(SkColorSpaceXformer*) const = 0;
109 SkDrawLooper() {} in SkDrawLooper() function
DSkPaint.h22 class SkDrawLooper; variable
907 SkDrawLooper* getDrawLooper() const { return fDrawLooper.get(); } in getDrawLooper()
914 sk_sp<SkDrawLooper> refDrawLooper() const;
921 SkDrawLooper* getLooper() const { return fDrawLooper.get(); } in getLooper()
931 void setDrawLooper(sk_sp<SkDrawLooper> drawLooper);
938 void setLooper(sk_sp<SkDrawLooper> drawLooper);
1648 sk_sp<SkDrawLooper> fDrawLooper;
/external/skia/include/core/
DSkDrawLooper.h33 class SK_API SkDrawLooper : public SkFlattenable {
101 SK_DEFINE_FLATTENABLE_TYPE(SkDrawLooper) in SK_DEFINE_FLATTENABLE_TYPE() argument
104 sk_sp<SkDrawLooper> makeColorSpace(SkColorSpaceXformer* xformer) const { in SK_DEFINE_FLATTENABLE_TYPE()
107 virtual sk_sp<SkDrawLooper> onMakeColorSpace(SkColorSpaceXformer*) const = 0;
109 SkDrawLooper() {} in SkDrawLooper() function
DSkPaint.h22 class SkDrawLooper; variable
914 SkDrawLooper* getDrawLooper() const { return fDrawLooper.get(); } in getDrawLooper()
921 sk_sp<SkDrawLooper> refDrawLooper() const;
926 SkDrawLooper* getLooper() const { return fDrawLooper.get(); } in getLooper()
936 void setDrawLooper(sk_sp<SkDrawLooper> drawLooper);
941 void setLooper(sk_sp<SkDrawLooper> drawLooper);
1651 sk_sp<SkDrawLooper> fDrawLooper;
/external/skia/tests/
DLayerDrawLooperTest.cpp62 SkDrawLooper::Context* context = looper->makeContext(&canvas, &alloc); in test_frontToBack()
101 SkDrawLooper::Context* context = looper->makeContext(&canvas, &alloc); in test_backToFront()
138 sk_sp<SkDrawLooper> looper(looperBuilder.detach()); in test_mixed()
140 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()
41 class TestDrawLooperContext : public SkDrawLooper::Context {
DBlurTest.cpp358 sk_sp<SkDrawLooper> lp(SkBlurDrawLooper::Make(color, sigma, dx, dy)); in test_blurDrawLooper()
364 SkDrawLooper::BlurShadowRec rec; in test_blurDrawLooper()
378 static void test_looper(skiatest::Reporter* reporter, sk_sp<SkDrawLooper> lp, SkScalar sigma, in test_looper()
380 SkDrawLooper::BlurShadowRec rec; in test_looper()
/external/skqp/tests/
DLayerDrawLooperTest.cpp62 SkDrawLooper::Context* context = looper->makeContext(&canvas, &alloc); in test_frontToBack()
101 SkDrawLooper::Context* context = looper->makeContext(&canvas, &alloc); in test_backToFront()
138 sk_sp<SkDrawLooper> looper(looperBuilder.detach()); in test_mixed()
140 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()
41 class TestDrawLooperContext : public SkDrawLooper::Context {
DBlurTest.cpp357 sk_sp<SkDrawLooper> lp(SkBlurDrawLooper::Make(color, sigma, dx, dy)); in test_blurDrawLooper()
363 SkDrawLooper::BlurShadowRec rec; in test_blurDrawLooper()
377 static void test_looper(skiatest::Reporter* reporter, sk_sp<SkDrawLooper> lp, SkScalar sigma, in test_looper()
379 SkDrawLooper::BlurShadowRec rec; in test_looper()
/external/skqp/src/effects/
DSkLayerDrawLooper.cpp212 sk_sp<SkDrawLooper> SkLayerDrawLooper::onMakeColorSpace(SkColorSpaceXformer* xformer) const { in onMakeColorSpace()
391 sk_sp<SkDrawLooper> SkLayerDrawLooper::Builder::detach() { in detach()
400 return sk_sp<SkDrawLooper>(looper); in detach()
403 sk_sp<SkDrawLooper> SkBlurDrawLooper::Make(SkColor color, SkScalar sigma, SkScalar dx, SkScalar dy) in Make()
/external/skia/src/effects/
DSkLayerDrawLooper.cpp212 sk_sp<SkDrawLooper> SkLayerDrawLooper::onMakeColorSpace(SkColorSpaceXformer* xformer) const { in onMakeColorSpace()
391 sk_sp<SkDrawLooper> SkLayerDrawLooper::Builder::detach() { in detach()
400 return sk_sp<SkDrawLooper>(looper); in detach()
403 sk_sp<SkDrawLooper> SkBlurDrawLooper::Make(SkColor color, SkScalar sigma, SkScalar dx, SkScalar dy) in Make()
/external/skqp/gm/
Dmegalooper.cpp164 sk_sp<SkDrawLooper> create1Looper(SkScalar xOff, SkScalar yOff, SkColor color) { in create1Looper()
207 sk_sp<SkDrawLooper> create4Looper(SkScalar xOff, SkScalar yOff) { in create4Looper()
Dtextbloblooper.cpp110 static sk_sp<SkDrawLooper> setupLooper(SkLayerDrawLooper::BitFlags bits, in setupLooper()
250 SkTArray<sk_sp<SkDrawLooper>, true> fLoopers;
Ddrawlooper.cpp50 sk_sp<SkDrawLooper> fLooper;
/external/skia/gm/
Dmegalooper.cpp164 sk_sp<SkDrawLooper> create1Looper(SkScalar xOff, SkScalar yOff, SkColor color) { in create1Looper()
207 sk_sp<SkDrawLooper> create4Looper(SkScalar xOff, SkScalar yOff) { in create4Looper()
Dtextbloblooper.cpp110 static sk_sp<SkDrawLooper> setupLooper(SkLayerDrawLooper::BitFlags bits, in setupLooper()
250 SkTArray<sk_sp<SkDrawLooper>, true> fLoopers;

123