Home
last modified time | relevance | path

Searched refs:fDraw (Results 1 – 10 of 10) 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.fBitmap = &fBitmap; 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()
/external/skia/samplecode/
DSampleDraw.cpp259 Draw* fDraw; member in DrawView
265 DrawView() : fDraw(NULL) { 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 = NULL; in onClick()
/external/skia/src/gpu/
DGrSWMaskHelper.cpp116 fDraw.drawRect(rect, paint); in draw()
153 fDraw.drawPathCoverage(path, paint, blitter); in draw()
157 fDraw.drawPath(path, paint, blitter); in draw()
219 sk_bzero(&fDraw, sizeof(fDraw)); in init()
222 fDraw.fRC = &fRasterClip; in init()
223 fDraw.fClip = &fRasterClip.bwRgn(); in init()
224 fDraw.fMatrix = &fMatrix; in init()
225 fDraw.fBitmap = &fBM; in init()
DGrSWMaskHelper.h109 SkDraw fDraw; variable
/external/skia/tools/
DDumpRecord.cpp24 , fDraw(canvas, NULL, NULL, 0, NULL) in Dumper()
36 fDraw(command); in operator ()()
98 SkRecords::Draw fDraw; member in __anonf00a144e0111::Dumper
/external/skia/src/core/
DSkDrawProcs.h19 const SkDraw* fDraw; member
DSkDraw.cpp1536 fDraw = draw; in init()
1578 fDraw->drawSprite(bm, mask.fBounds.x(), mask.fBounds.y(), *fPaint); in blitMaskAsSprite()
/external/skia/dm/
DDMSrcSink.cpp504 ProxySrc(SkISize size, SkFunction<Error(SkCanvas*)> draw) : fSize(size), fDraw(draw) {} in draw_to_canvas()
505 Error draw(SkCanvas* canvas) const override { return fDraw(canvas); } in draw_to_canvas()
510 SkFunction<Error(SkCanvas*)> fDraw; in draw_to_canvas() member in DM::draw_to_canvas::ProxySrc
/external/skia/src/device/xps/
DSkXPSDevice.cpp2056 SkXPSDrawProcs* procs = static_cast<SkXPSDrawProcs*>(state.fDraw->fProcs); in xps_draw_1_glyph()