Home
last modified time | relevance | path

Searched refs:SkLayerDrawLooper (Results 1 – 15 of 15) sorted by relevance

/external/skia/gm/
Dtextbloblooper.cpp111 static SkLayerDrawLooper* setupLooper(SkLayerDrawLooper::BitFlags bits, in setupLooper()
115 SkLayerDrawLooper::Builder looperBuilder; in setupLooper()
117 SkLayerDrawLooper::LayerInfo info; in setupLooper()
190 fLoopers.push_back().reset(setupLooper(SkLayerDrawLooper::kMaskFilter_Bit | in onOnceBeforeDraw()
191 SkLayerDrawLooper::kXfermode_Bit | in onOnceBeforeDraw()
192 SkLayerDrawLooper::kStyle_Bit, &mask_filter, in onOnceBeforeDraw()
194 fLoopers.push_back().reset(setupLooper(SkLayerDrawLooper::kPathEffect_Bit | in onOnceBeforeDraw()
195 SkLayerDrawLooper::kXfermode_Bit, &path_effect, in onOnceBeforeDraw()
197 fLoopers.push_back().reset(setupLooper(SkLayerDrawLooper::kShader_Bit | in onOnceBeforeDraw()
198 SkLayerDrawLooper::kColorFilter_Bit | in onOnceBeforeDraw()
[all …]
Dmegalooper.cpp164 SkLayerDrawLooper* create1Looper(SkScalar xOff, SkScalar yOff, SkColor color) { in create1Looper()
165 SkLayerDrawLooper::Builder looperBuilder; in create1Looper()
166 SkLayerDrawLooper::LayerInfo info; in create1Looper()
168 info.fPaintBits = SkLayerDrawLooper::kColorFilter_Bit | in create1Looper()
169 SkLayerDrawLooper::kMaskFilter_Bit; in create1Looper()
208 SkLayerDrawLooper* create4Looper(SkScalar xOff, SkScalar yOff) { in create4Looper()
209 SkLayerDrawLooper::Builder looperBuilder; in create4Looper()
210 SkLayerDrawLooper::LayerInfo info; in create4Looper()
212 info.fPaintBits = SkLayerDrawLooper::kColorFilter_Bit | in create4Looper()
213 SkLayerDrawLooper::kMaskFilter_Bit; in create4Looper()
Ddrawlooper.cpp58 SkLayerDrawLooper* fLooper;
76 SkLayerDrawLooper::Builder looperBuilder; in init()
78 SkLayerDrawLooper::LayerInfo info; in init()
79 info.fPaintBits = SkLayerDrawLooper::kStyle_Bit | SkLayerDrawLooper::kMaskFilter_Bit; in init()
Dblurroundrect.cpp49 SkLayerDrawLooper::Builder looperBuilder; in onDraw()
51 SkLayerDrawLooper::LayerInfo info; in onDraw()
52 info.fPaintBits = SkLayerDrawLooper::kMaskFilter_Bit in onDraw()
53 | SkLayerDrawLooper::kColorFilter_Bit; in onDraw()
70 SkLayerDrawLooper::LayerInfo info; in onDraw()
/external/skia/src/effects/
DSkLayerDrawLooper.cpp17 SkLayerDrawLooper::LayerInfo::LayerInfo() { in LayerInfo()
24 SkLayerDrawLooper::SkLayerDrawLooper() in SkLayerDrawLooper() function in SkLayerDrawLooper
29 SkLayerDrawLooper::~SkLayerDrawLooper() { in ~SkLayerDrawLooper()
38 SkLayerDrawLooper::Context* SkLayerDrawLooper::createContext(SkCanvas* canvas, void* storage) const… in createContext()
61 void SkLayerDrawLooper::LayerDrawLooperContext::ApplyInfo( in ApplyInfo()
130 SkLayerDrawLooper::LayerDrawLooperContext::LayerDrawLooperContext( in LayerDrawLooperContext()
131 const SkLayerDrawLooper* looper) : fCurrRec(looper->fRecs) {} in LayerDrawLooperContext()
133 bool SkLayerDrawLooper::LayerDrawLooperContext::next(SkCanvas* canvas, in next()
155 bool SkLayerDrawLooper::asABlurShadow(BlurShadowRec* bsRec) const { in asABlurShadow()
201 void SkLayerDrawLooper::flatten(SkWriteBuffer& buffer) const { in flatten()
[all …]
/external/skia/tests/
DLayerDrawLooperTest.cpp46 SkLayerDrawLooper::Builder looperBuilder; in test_frontToBack()
47 SkLayerDrawLooper::LayerInfo layerInfo; in test_frontToBack()
54 layerInfo.fPaintBits |= SkLayerDrawLooper::kXfermode_Bit; in test_frontToBack()
61 SkAutoTUnref<SkLayerDrawLooper> looper(looperBuilder.detachLooper()); in test_frontToBack()
86 SkLayerDrawLooper::Builder looperBuilder; in test_backToFront()
87 SkLayerDrawLooper::LayerInfo layerInfo; in test_backToFront()
94 layerInfo.fPaintBits |= SkLayerDrawLooper::kXfermode_Bit; in test_backToFront()
101 SkAutoTUnref<SkLayerDrawLooper> looper(looperBuilder.detachLooper()); in test_backToFront()
126 SkLayerDrawLooper::Builder looperBuilder; in test_mixed()
127 SkLayerDrawLooper::LayerInfo layerInfo; in test_mixed()
[all …]
DBlurTest.cpp459 static void make_noop_layer(SkLayerDrawLooper::Builder* builder) { in make_noop_layer()
460 SkLayerDrawLooper::LayerInfo info; in make_noop_layer()
467 static void make_blur_layer(SkLayerDrawLooper::Builder* builder, SkMaskFilter* mf) { in make_blur_layer()
468 SkLayerDrawLooper::LayerInfo info; in make_blur_layer()
470 info.fPaintBits = SkLayerDrawLooper::kMaskFilter_Bit; in make_blur_layer()
479 SkLayerDrawLooper::LayerInfo info; in test_layerDrawLooper()
480 SkLayerDrawLooper::Builder builder; in test_layerDrawLooper()
DPaintTest.cpp148 SkLayerDrawLooper::Builder looperBuilder; in DEF_TEST()
149 SkLayerDrawLooper* looper = looperBuilder.detachLooper(); in DEF_TEST()
/external/skia/include/effects/
DSkLayerDrawLooper.h16 class SK_API SkLayerDrawLooper : public SkDrawLooper {
18 virtual ~SkLayerDrawLooper();
86 SkLayerDrawLooper();
102 explicit LayerDrawLooperContext(const SkLayerDrawLooper* looper);
145 SkLayerDrawLooper* detachLooper();
/external/skia/bench/
DBlurRoundRectBench.cpp43 SkLayerDrawLooper::Builder looperBuilder; in onDraw()
45 SkLayerDrawLooper::LayerInfo info; in onDraw()
46 info.fPaintBits = SkLayerDrawLooper::kMaskFilter_Bit in onDraw()
47 | SkLayerDrawLooper::kColorFilter_Bit; in onDraw()
63 SkLayerDrawLooper::LayerInfo info; in onDraw()
DRectoriBench.cpp74 SkLayerDrawLooper* createLooper(SkScalar xOff, SkScalar sigma) { in createLooper()
75 SkLayerDrawLooper::Builder looperBuilder; in createLooper()
78 SkLayerDrawLooper::LayerInfo info; in createLooper()
82 SkLayerDrawLooper::kMaskFilter_Bit; in createLooper()
/external/skia/src/ports/
DSkGlobalInitialization_default.cpp75 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkLayerDrawLooper) in InitEffects()
/external/skia/gyp/
Deffects.gypi47 '<(skia_src_path)/effects/SkLayerDrawLooper.cpp',
110 '<(skia_include_path)/effects/SkLayerDrawLooper.h',
/external/skia/experimental/iOSSampleApp/iOSSampleApp.xcodeproj/
Dproject.pbxproj169 …3B122A30064D447 /* SkLayerDrawLooper.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 260E034C13…
835 …0064D447 /* SkLayerDrawLooper.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType …
863 …4D447 /* SkLayerDrawLooper.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType =…
1907 260E032F13B122A30064D447 /* SkLayerDrawLooper.h */,
1943 260E034C13B122A30064D447 /* SkLayerDrawLooper.cpp */,
3066 260E036513B122A30064D447 /* SkLayerDrawLooper.cpp in Sources */,
/external/skia/
DAndroid.mk341 src/effects/SkLayerDrawLooper.cpp \