Home
last modified time | relevance | path

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

/third_party/skia/src/gpu/
DGrSWMaskHelper.cpp54 fDraw.fMatrixProvider = &matrixProvider; in drawRect()
56 fDraw.drawRect(rect, get_paint(op, aa, alpha)); in drawRect()
64 fDraw.fMatrixProvider = &matrixProvider; in drawRRect()
66 fDraw.drawRRect(rrect, get_paint(op, aa, alpha)); in drawRRect()
81 fDraw.fMatrixProvider = &matrixProvider; in drawShape()
87 fDraw.drawPathCoverage(path, paint); in drawShape()
89 fDraw.drawPath(path, paint); in drawShape()
100 fDraw.fMatrixProvider = &matrixProvider; in drawShape()
105 fDraw.drawPaint(paint); in drawShape()
113 fDraw.drawRect(shape.rect(), paint); in drawShape()
[all …]
DGrSWMaskHelper.h74 SkDraw fDraw; variable
/third_party/skia/bench/
DCoverageBench.cpp26 SkDraw fDraw; member in DrawPathBench
47 fDraw.fDst = fPixmap; in DrawPathBench()
48 fDraw.fMatrixProvider = &fIdentityMatrixProvider; in DrawPathBench()
49 fDraw.fRC = &fRC; in DrawPathBench()
60 fDraw.drawPathCoverage(fPath, fPaint); in onDraw()
64 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
/third_party/skia/tools/skottie_ios_app/
DSkottieViewController.mm129 SkAnimationDraw fDraw;
134 fDraw.load((const void*)[data bytes], (size_t)[data length]);
135 fClock.setDuration(fDraw.duration());
136 return (bool)fDraw;
143 - (float)currentTime { return fDraw ? fClock.currentTime() : 0; }
146 if (fDraw) {
151 - (CGSize)size { return {(CGFloat)fDraw.size().width(), (CGFloat)fDraw.size().height()}; }
162 if (rect.size.width > 0 && rect.size.height > 0 && fDraw && canvas) {
164 fDraw.seek(fClock.currentTime());
166 fDraw.draw(SkSize{(float)size.width, (float)size.height}, canvas);
/third_party/skia/src/core/
DSkBitmapDevice.cpp54 SkDraw fDraw; member in SkDrawTiler
109 fDraw.fRC = &fTileRC; in SkDrawTiler()
114 fDraw.fDst = fRootPixmap; in SkDrawTiler()
115 fDraw.fMatrixProvider = dev; in SkDrawTiler()
116 fDraw.fRC = &dev->fRCStack.rc(); in SkDrawTiler()
119 fDraw.fCoverage = dev->accessCoverage(); in SkDrawTiler()
142 return &fDraw; in next()
163 bool success = fRootPixmap.extractSubset(&fDraw.fDst, bounds); in stepAndSetupTileDraw()
167 fDraw.fMatrixProvider = fTileMatrixProvider.init(fDevice->asMatrixProvider(), in stepAndSetupTileDraw()
171 fTileRC.op(SkIRect::MakeWH(fDraw.fDst.width(), fDraw.fDst.height()), in stepAndSetupTileDraw()
/third_party/skia/samplecode/
DSampleSG.cpp22 sksg::Draw* fDraw; member
36 if (fSideCar[i].fDraw == key) { in findInfo()
46 sc->fDraw = d.get(); in appendNode()
/third_party/skia/tools/
Ddump_record.cpp36 , fDraw(canvas, nullptr, nullptr, 0, nullptr) in Dumper()
47 fDraw(command); in operator ()()
140 SkRecords::Draw fDraw; member in Dumper
/third_party/skia/experimental/graphite/src/
DDrawPass.cpp87 , fDraw(draw) {
96 const DrawList::Draw* draw() const { return fDraw; } in draw()
122 const DrawList::Draw* fDraw; member in skgpu::DrawPass::SortKey
/third_party/skia/dm/
DDMSrcSink.cpp2208 ProxySrc(SkISize size, const DrawToCanvasFn& draw) : fSize(size), fDraw(draw) {} in draw_to_canvas()
2210 return fDraw(context, canvas); in draw_to_canvas()
2216 const DrawToCanvasFn& fDraw; in draw_to_canvas() member in DM::draw_to_canvas::ProxySrc