Home
last modified time | relevance | path

Searched refs:fDraw (Results 1 – 9 of 9) sorted by relevance

/external/skia/src/animator/
DSkDrawExtraPathEffect.cpp89 fDraw(draw), fMaker(maker) { in SkShape1DPathEffect()
101 engine.evaluate(fDraw->phase.c_str(), &value, SkType_Float); in begin()
106 fMaker->setExtraPropertyCallBack(fDraw->fType, GetDistance, &distance); in next()
108 if (fDraw->addPath->isPath()) { in next()
109 drawPath = (SkDrawPath*) fDraw->addPath; in next()
111 SkApply* apply = (SkApply*) fDraw->addPath; in next()
119 if (fDraw->addMatrix) { in next()
121 if (fDraw->addMatrix->getType() == SkType_Matrix) in next()
122 matrix = (SkDrawMatrix*) fDraw->addMatrix; in next()
124 SkApply* apply = (SkApply*) fDraw->addMatrix; in next()
[all …]
/external/skia/bench/
DCoverageBench.cpp24 SkDraw fDraw; member in DrawPathBench
40 fDraw.fDst = fPixmap; in DrawPathBench()
41 fDraw.fMatrix = &fIdentity; in DrawPathBench()
42 fDraw.fClip = &fRC.bwRgn(); in DrawPathBench()
43 fDraw.fRC = &fRC; in DrawPathBench()
54 fDraw.drawPathCoverage(fPath, fPaint); in onDraw()
58 fDraw.drawPath(fPath, fPaint); in onDraw()
DShapesBench.cpp180 fShapes[i].fDraw = bind(&SkCanvas::drawRect, _1, cref(fRect.rect()), _2); in onDelayedSetup()
183 fShapes[i].fDraw = bind(&SkCanvas::drawOval, _1, cref(fOval.rect()), _2); in onDelayedSetup()
186 fShapes[i].fDraw = bind(&SkCanvas::drawRRect, _1, cref(fRRect), _2); in onDelayedSetup()
202 fShapes[i].fDraw = std::bind(&SkCanvas::drawDRRect, std::placeholders::_1, in onDelayedSetup()
217 fShapes[i].fDraw(canvas, paint); in onDraw()
231 std::function<void(SkCanvas*, const SkPaint&)> fDraw; member
/external/skia/src/gpu/
DGrSWMaskHelper.cpp116 fDraw.drawRect(rect, paint); in draw()
154 fDraw.drawPathCoverage(path, paint, blitter); in draw()
158 fDraw.drawPath(path, paint, blitter); in draw()
205 sk_bzero(&fDraw, sizeof(fDraw)); in init()
220 fDraw.fDst = fPixels; in init()
222 fDraw.fRC = &fRasterClip; in init()
223 fDraw.fClip = &fRasterClip.bwRgn(); in init()
224 fDraw.fMatrix = &fMatrix; in init()
DGrSWMaskHelper.h109 SkDraw fDraw; variable
/external/skia/samplecode/
DSampleDraw.cpp259 Draw* fDraw; member in DrawView
265 DrawView() : fDraw(nullptr) { in DrawView()
271 SkSafeUnref(fDraw); in ~DrawView()
276 SkRefCnt_SafeAssign(fDraw, d); in setDraw()
318 if (fDraw) { in onDraw()
319 fDraw->draw(canvas); in onDraw()
343 *fList.append() = fDraw; in onClick()
345 fDraw->unref(); in onClick()
347 fDraw = nullptr; in onClick()
/external/skia/tools/
DDumpRecord.cpp24 , fDraw(canvas, nullptr, nullptr, 0, nullptr) in Dumper()
35 fDraw(command); in operator ()()
111 SkRecords::Draw fDraw; member in __anonbd72140f0111::Dumper
/external/skia/dm/
DDMSrcSink.cpp1063 ProxySrc(SkISize size, const Fn& draw) : fSize(size), fDraw(draw) {} in draw_to_canvas()
1064 Error draw(SkCanvas* canvas) const override { return fDraw(canvas); } in draw_to_canvas()
1069 const Fn& fDraw; in draw_to_canvas() member in DM::draw_to_canvas::ProxySrc
/external/skia/src/core/
DSkDraw.cpp1452 , fDraw(draw) in DrawOneGlyph()
1542 fDraw.drawSprite(bm, mask.fBounds.x(), mask.fBounds.y(), fPaint); in blitMask()
1552 const SkDraw& fDraw; member in DrawOneGlyph