Searched refs:SkDrawLooper (Results 1 - 25 of 50) sorted by relevance

12

/external/chromium_org/third_party/skia/include/core/
H A DSkDrawLooper.h23 /** \class SkDrawLooper
24 Subclasses of SkDrawLooper can be attached to a SkPaint. Where they are,
31 class SK_API SkDrawLooper : public SkFlattenable { class in inherits:SkFlattenable
33 SK_DECLARE_INST_COUNT(SkDrawLooper)
38 * Subclasses of SkDrawLooper should create a subclass of this object to
47 * Called in a loop on objects returned by SkDrawLooper::createContext().
75 * corresponding SkDrawLooper subclass).
113 SK_DEFINE_FLATTENABLE_TYPE(SkDrawLooper)
116 SkDrawLooper() {} function in class:SkDrawLooper
118 SkDrawLooper(SkReadBuffe function in class:SkDrawLooper
[all...]
H A DSkPaint.h15 #include "SkDrawLooper.h"
661 * Return the paint's SkDrawLooper (if any). Does not affect the looper's
664 SkDrawLooper* getLooper() const { return fLooper; }
677 SkDrawLooper* setLooper(SkDrawLooper* looper);
1040 SkDrawLooper* fLooper;
/external/skia/include/core/
H A DSkDrawLooper.h23 /** \class SkDrawLooper
24 Subclasses of SkDrawLooper can be attached to a SkPaint. Where they are,
31 class SK_API SkDrawLooper : public SkFlattenable { class in inherits:SkFlattenable
33 SK_DECLARE_INST_COUNT(SkDrawLooper)
38 * Subclasses of SkDrawLooper should create a subclass of this object to
47 * Called in a loop on objects returned by SkDrawLooper::createContext().
75 * corresponding SkDrawLooper subclass).
113 SK_DEFINE_FLATTENABLE_TYPE(SkDrawLooper)
116 SkDrawLooper() {} function in class:SkDrawLooper
117 SkDrawLooper(SkReadBuffe function in class:SkDrawLooper
[all...]
H A DSkPaint.h15 #include "SkDrawLooper.h"
658 * Return the paint's SkDrawLooper (if any). Does not affect the looper's
661 SkDrawLooper* getLooper() const { return fLooper; }
674 SkDrawLooper* setLooper(SkDrawLooper* looper);
1047 SkDrawLooper* fLooper;
H A DSkReadBuffer.h14 #include "SkDrawLooper.h"
118 SkDrawLooper* readDrawLooper() { return this->readFlattenable<SkDrawLooper>(); }
/external/chromium_org/third_party/skia/src/core/
H A DSkDrawLooper.cpp8 #include "SkDrawLooper.h"
15 bool SkDrawLooper::canComputeFastBounds(const SkPaint& paint) const {
18 void* buffer = allocator.reserveT<SkDrawLooper::Context>(this->contextSize());
20 SkDrawLooper::Context* context = this->createContext(&canvas, buffer);
35 void SkDrawLooper::computeFastBounds(const SkPaint& paint, const SkRect& src,
39 void* buffer = allocator.reserveT<SkDrawLooper::Context>(this->contextSize());
42 SkDrawLooper::Context* context = this->createContext(&canvas, buffer);
63 bool SkDrawLooper::asABlurShadow(BlurShadowRec*) const {
H A DSkReadBuffer.h14 #include "SkDrawLooper.h"
122 SkDrawLooper* readDrawLooper() { return this->readFlattenable<SkDrawLooper>(); }
/external/skia/src/core/
H A DSkDrawLooper.cpp8 #include "SkDrawLooper.h"
15 bool SkDrawLooper::canComputeFastBounds(const SkPaint& paint) const {
18 void* buffer = allocator.reserveT<SkDrawLooper::Context>(this->contextSize());
20 SkDrawLooper::Context* context = this->createContext(&canvas, buffer);
35 void SkDrawLooper::computeFastBounds(const SkPaint& paint, const SkRect& src,
39 void* buffer = allocator.reserveT<SkDrawLooper::Context>(this->contextSize());
42 SkDrawLooper::Context* context = this->createContext(&canvas, buffer);
63 bool SkDrawLooper::asABlurShadow(BlurShadowRec*) const {
/external/chromium_org/third_party/WebKit/Source/platform/graphics/
H A DDrawLooperBuilder.h40 class SkDrawLooper;
67 // Creates the SkDrawLooper and passes ownership to the caller. The builder
69 PassRefPtr<SkDrawLooper> detachDrawLooper();
H A DGraphicsContextState.h109 SkDrawLooper* drawLooper() const { return m_looper.get(); }
110 void setDrawLooper(PassRefPtr<SkDrawLooper>);
167 RefPtr<SkDrawLooper> m_looper;
H A DDrawLooperBuilder.cpp38 #include "third_party/skia/include/core/SkDrawLooper.h"
55 PassRefPtr<SkDrawLooper> DrawLooperBuilder::detachDrawLooper()
/external/chromium_org/third_party/skia/include/effects/
H A DSkBlurDrawLooper.h12 #include "SkDrawLooper.h"
23 class SK_API SkBlurDrawLooper : public SkDrawLooper {
45 virtual SkDrawLooper::Context* createContext(SkCanvas*, void* storage) const SK_OVERRIDE;
76 class BlurDrawLooperContext : public SkDrawLooper::Context {
90 typedef SkDrawLooper INHERITED;
H A DSkLayerDrawLooper.h11 #include "SkDrawLooper.h"
16 class SK_API SkLayerDrawLooper : public SkDrawLooper {
76 virtual SkDrawLooper::Context* createContext(SkCanvas*, void* storage) const SK_OVERRIDE;
110 class LayerDrawLooperContext : public SkDrawLooper::Context {
128 typedef SkDrawLooper INHERITED;
/external/skia/include/effects/
H A DSkBlurDrawLooper.h12 #include "SkDrawLooper.h"
23 class SK_API SkBlurDrawLooper : public SkDrawLooper {
45 virtual SkDrawLooper::Context* createContext(SkCanvas*, void* storage) const SK_OVERRIDE;
74 class BlurDrawLooperContext : public SkDrawLooper::Context {
88 typedef SkDrawLooper INHERITED;
H A DSkLayerDrawLooper.h11 #include "SkDrawLooper.h"
16 class SK_API SkLayerDrawLooper : public SkDrawLooper {
76 virtual SkDrawLooper::Context* createContext(SkCanvas*, void* storage) const SK_OVERRIDE;
104 class LayerDrawLooperContext : public SkDrawLooper::Context {
122 typedef SkDrawLooper INHERITED;
/external/chromium_org/third_party/skia/tests/
H A DQuickRejectTest.cpp9 #include "SkDrawLooper.h"
16 class TestLooper : public SkDrawLooper {
19 virtual SkDrawLooper::Context* createContext(SkCanvas*, void* storage) const SK_OVERRIDE {
32 class TestDrawLooperContext : public SkDrawLooper::Context {
H A DLayerDrawLooperTest.cpp62 void* buffer = allocator.reserveT<SkDrawLooper::Context>(looper->contextSize());
63 SkDrawLooper::Context* context = looper->createContext(&canvas, buffer);
102 void* buffer = allocator.reserveT<SkDrawLooper::Context>(looper->contextSize());
103 SkDrawLooper::Context* context = looper->createContext(&canvas, buffer);
142 void* buffer = allocator.reserveT<SkDrawLooper::Context>(looper->contextSize());
143 SkDrawLooper::Context* context = looper->createContext(&canvas, buffer);
H A DBlurTest.cpp427 SkAutoTUnref<SkDrawLooper> lp(SkBlurDrawLooper::Create(color, sigma, dx, dy, flags));
435 SkDrawLooper::BlurShadowRec rec;
449 static void test_delete_looper(skiatest::Reporter* reporter, SkDrawLooper* lp, SkScalar sigma,
451 SkDrawLooper::BlurShadowRec rec;
/external/skia/tests/
H A DQuickRejectTest.cpp9 #include "SkDrawLooper.h"
16 class TestLooper : public SkDrawLooper {
19 virtual SkDrawLooper::Context* createContext(SkCanvas*, void* storage) const SK_OVERRIDE {
32 class TestDrawLooperContext : public SkDrawLooper::Context {
H A DLayerDrawLooperTest.cpp62 void* buffer = allocator.reserveT<SkDrawLooper::Context>(looper->contextSize());
63 SkDrawLooper::Context* context = looper->createContext(&canvas, buffer);
102 void* buffer = allocator.reserveT<SkDrawLooper::Context>(looper->contextSize());
103 SkDrawLooper::Context* context = looper->createContext(&canvas, buffer);
142 void* buffer = allocator.reserveT<SkDrawLooper::Context>(looper->contextSize());
143 SkDrawLooper::Context* context = looper->createContext(&canvas, buffer);
H A DBlurTest.cpp427 SkAutoTUnref<SkDrawLooper> lp(SkBlurDrawLooper::Create(color, sigma, dx, dy, flags));
435 SkDrawLooper::BlurShadowRec rec;
449 static void test_delete_looper(skiatest::Reporter* reporter, SkDrawLooper* lp, SkScalar sigma,
451 SkDrawLooper::BlurShadowRec rec;
/external/chromium_org/ui/gfx/
H A Dskia_util.h18 class SkDrawLooper;
67 GFX_EXPORT skia::RefPtr<SkDrawLooper> CreateShadowDrawLooper(
H A Dskia_util.cc112 skia::RefPtr<SkDrawLooper> CreateShadowDrawLooper(
115 return skia::RefPtr<SkDrawLooper>();
147 return skia::AdoptRef<SkDrawLooper>(looper_builder.detachLooper());
/external/chromium_org/ui/views/
H A Dshadow_border.cc34 skia::RefPtr<SkDrawLooper> looper = gfx::CreateShadowDrawLooper(shadows);
/external/skia/src/effects/
H A DSkBlurDrawLooper.cpp108 SkDrawLooper::Context* SkBlurDrawLooper::createContext(SkCanvas*, void* storage) const {

Completed in 911 milliseconds

12