Home
last modified time | relevance | path

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

123

/external/chromium_org/third_party/skia/src/core/
DSkDrawLooper.cpp15 bool SkDrawLooper::canComputeFastBounds(const SkPaint& paint) const { in canComputeFastBounds()
18 void* buffer = allocator.reserveT<SkDrawLooper::Context>(this->contextSize()); in canComputeFastBounds()
20 SkDrawLooper::Context* context = this->createContext(&canvas, buffer); in canComputeFastBounds()
35 void SkDrawLooper::computeFastBounds(const SkPaint& paint, const SkRect& src, in computeFastBounds()
39 void* buffer = allocator.reserveT<SkDrawLooper::Context>(this->contextSize()); in computeFastBounds()
42 SkDrawLooper::Context* context = this->createContext(&canvas, buffer); in computeFastBounds()
63 bool SkDrawLooper::asABlurShadow(BlurShadowRec*) const { in asABlurShadow()
DSkReadBuffer.h122 SkDrawLooper* readDrawLooper() { return this->readFlattenable<SkDrawLooper>(); } in readDrawLooper()
/external/skia/src/core/
DSkDrawLooper.cpp15 bool SkDrawLooper::canComputeFastBounds(const SkPaint& paint) const { in canComputeFastBounds()
18 void* buffer = allocator.reserveT<SkDrawLooper::Context>(this->contextSize()); in canComputeFastBounds()
20 SkDrawLooper::Context* context = this->createContext(&canvas, buffer); in canComputeFastBounds()
35 void SkDrawLooper::computeFastBounds(const SkPaint& paint, const SkRect& src, in computeFastBounds()
39 void* buffer = allocator.reserveT<SkDrawLooper::Context>(this->contextSize()); in computeFastBounds()
42 SkDrawLooper::Context* context = this->createContext(&canvas, buffer); in computeFastBounds()
63 bool SkDrawLooper::asABlurShadow(BlurShadowRec*) const { in asABlurShadow()
/external/skia/include/core/
DSkDrawLooper.h31 class SK_API SkDrawLooper : public SkFlattenable {
33 SK_DECLARE_INST_COUNT(SkDrawLooper) in SK_DECLARE_INST_COUNT() argument
113 SK_DEFINE_FLATTENABLE_TYPE(SkDrawLooper) in SK_DEFINE_FLATTENABLE_TYPE() argument
116 SkDrawLooper() {} in SK_DEFINE_FLATTENABLE_TYPE()
117 SkDrawLooper(SkReadBuffer& buffer) : INHERITED(buffer) {} in SkDrawLooper() function
DSkPaint.h661 SkDrawLooper* getLooper() const { return fLooper; } in getLooper()
674 SkDrawLooper* setLooper(SkDrawLooper* looper);
1047 SkDrawLooper* fLooper;
DSkReadBuffer.h118 SkDrawLooper* readDrawLooper() { return this->readFlattenable<SkDrawLooper>(); } in readDrawLooper()
/external/chromium_org/third_party/skia/include/core/
DSkDrawLooper.h31 class SK_API SkDrawLooper : public SkFlattenable {
33 SK_DECLARE_INST_COUNT(SkDrawLooper) in SK_DECLARE_INST_COUNT() argument
113 SK_DEFINE_FLATTENABLE_TYPE(SkDrawLooper) in SK_DEFINE_FLATTENABLE_TYPE() argument
116 SkDrawLooper() {} in SK_DEFINE_FLATTENABLE_TYPE()
118 SkDrawLooper(SkReadBuffer& buffer) : INHERITED(buffer) {} in SkDrawLooper() function
DSkPaint.h664 SkDrawLooper* getLooper() const { return fLooper; } in getLooper()
677 SkDrawLooper* setLooper(SkDrawLooper* looper);
1040 SkDrawLooper* fLooper;
/external/skia/include/effects/
DSkBlurDrawLooper.h23 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;
DSkLayerDrawLooper.h16 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/include/effects/
DSkBlurDrawLooper.h23 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;
DSkLayerDrawLooper.h16 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/tests/
DLayerDrawLooperTest.cpp62 void* buffer = allocator.reserveT<SkDrawLooper::Context>(looper->contextSize()); in test_frontToBack()
63 SkDrawLooper::Context* context = looper->createContext(&canvas, buffer); in test_frontToBack()
102 void* buffer = allocator.reserveT<SkDrawLooper::Context>(looper->contextSize()); in test_backToFront()
103 SkDrawLooper::Context* context = looper->createContext(&canvas, buffer); in test_backToFront()
142 void* buffer = allocator.reserveT<SkDrawLooper::Context>(looper->contextSize()); in test_mixed()
143 SkDrawLooper::Context* context = looper->createContext(&canvas, buffer); in test_mixed()
DQuickRejectTest.cpp16 class TestLooper : public SkDrawLooper {
19 virtual SkDrawLooper::Context* createContext(SkCanvas*, void* storage) const SK_OVERRIDE { in createContext()
32 class TestDrawLooperContext : public SkDrawLooper::Context {
DBlurTest.cpp427 SkAutoTUnref<SkDrawLooper> lp(SkBlurDrawLooper::Create(color, sigma, dx, dy, flags)); in test_blurDrawLooper()
435 SkDrawLooper::BlurShadowRec rec; in test_blurDrawLooper()
449 static void test_delete_looper(skiatest::Reporter* reporter, SkDrawLooper* lp, SkScalar sigma, in test_delete_looper()
451 SkDrawLooper::BlurShadowRec rec; in test_delete_looper()
/external/chromium_org/third_party/skia/tests/
DLayerDrawLooperTest.cpp62 void* buffer = allocator.reserveT<SkDrawLooper::Context>(looper->contextSize()); in test_frontToBack()
63 SkDrawLooper::Context* context = looper->createContext(&canvas, buffer); in test_frontToBack()
102 void* buffer = allocator.reserveT<SkDrawLooper::Context>(looper->contextSize()); in test_backToFront()
103 SkDrawLooper::Context* context = looper->createContext(&canvas, buffer); in test_backToFront()
142 void* buffer = allocator.reserveT<SkDrawLooper::Context>(looper->contextSize()); in test_mixed()
143 SkDrawLooper::Context* context = looper->createContext(&canvas, buffer); in test_mixed()
DQuickRejectTest.cpp16 class TestLooper : public SkDrawLooper {
19 virtual SkDrawLooper::Context* createContext(SkCanvas*, void* storage) const SK_OVERRIDE { in createContext()
32 class TestDrawLooperContext : public SkDrawLooper::Context {
DBlurTest.cpp427 SkAutoTUnref<SkDrawLooper> lp(SkBlurDrawLooper::Create(color, sigma, dx, dy, flags)); in test_blurDrawLooper()
435 SkDrawLooper::BlurShadowRec rec; in test_blurDrawLooper()
449 static void test_delete_looper(skiatest::Reporter* reporter, SkDrawLooper* lp, SkScalar sigma, in test_delete_looper()
451 SkDrawLooper::BlurShadowRec rec; in test_delete_looper()
/external/chromium_org/third_party/WebKit/Source/platform/graphics/
DDrawLooperBuilder.h40 class SkDrawLooper; variable
69 PassRefPtr<SkDrawLooper> detachDrawLooper();
DGraphicsContextState.h109 SkDrawLooper* drawLooper() const { return m_looper.get(); } in drawLooper()
110 void setDrawLooper(PassRefPtr<SkDrawLooper>);
167 RefPtr<SkDrawLooper> m_looper;
DDrawLooperBuilder.cpp55 PassRefPtr<SkDrawLooper> DrawLooperBuilder::detachDrawLooper() in detachDrawLooper()
/external/chromium_org/ui/gfx/
Dskia_util.h18 class SkDrawLooper; variable
67 GFX_EXPORT skia::RefPtr<SkDrawLooper> CreateShadowDrawLooper(
Dskia_util.cc112 skia::RefPtr<SkDrawLooper> CreateShadowDrawLooper( in CreateShadowDrawLooper()
115 return skia::RefPtr<SkDrawLooper>(); in CreateShadowDrawLooper()
147 return skia::AdoptRef<SkDrawLooper>(looper_builder.detachLooper()); in CreateShadowDrawLooper()
Drender_text.h34 class SkDrawLooper; variable
53 void SetDrawLooper(SkDrawLooper* draw_looper);
/external/chromium_org/ui/views/
Dshadow_border.cc34 skia::RefPtr<SkDrawLooper> looper = gfx::CreateShadowDrawLooper(shadows); in Paint()

123