/third_party/skia/src/gpu/ |
D | GrSWMaskHelper.cpp | 54 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 …]
|
D | GrSWMaskHelper.h | 74 SkDraw fDraw; variable
|
/third_party/skia/bench/ |
D | CoverageBench.cpp | 26 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()
|
D | ShapesBench.cpp | 180 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/ |
D | SkottieViewController.mm | 129 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/ |
D | SkBitmapDevice.cpp | 54 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/ |
D | SampleSG.cpp | 22 sksg::Draw* fDraw; member 36 if (fSideCar[i].fDraw == key) { in findInfo() 46 sc->fDraw = d.get(); in appendNode()
|
/third_party/skia/tools/ |
D | dump_record.cpp | 36 , 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/ |
D | DrawPass.cpp | 87 , 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/ |
D | DMSrcSink.cpp | 2208 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
|