/external/skia/bench/ |
D | RecordingBench.cpp | 17 pic->playback(rec.beginRecording(pic->cullRect(), nullptr, in PictureCentricBench() 31 return SkIPoint::Make(SkScalarCeilToInt(fSrc->cullRect().width()), in onGetSize() 32 SkScalarCeilToInt(fSrc->cullRect().height())); in onGetSize() 45 r.reset(fDL.get(), fSrc->cullRect().roundOut()); in RecordingBench() 55 rec.reset(&dl, fSrc->cullRect().roundOut()); in onDraw() 63 fSrc->playback(recorder.beginRecording(fSrc->cullRect(), fUseBBH ? &factory : nullptr)); in onDraw() 83 fSrc->playback(serializer.beginWrite(fSrc->cullRect(), &stream)); in onDraw()
|
/external/skia/src/core/ |
D | SkPictureRecorder.cpp | 29 const SkRect cullRect = userCullRect.isEmpty() ? SkRect::MakeEmpty() : userCullRect; in beginRecording() local 31 fCullRect = cullRect; in beginRecording() 35 fBBH.reset((*bbhFactory)(cullRect)); in beginRecording() 45 fRecorder->reset(fRecord.get(), cullRect, dpm, &fMiniRecorder); in beginRecording() 99 sk_sp<SkPicture> SkPictureRecorder::finishRecordingAsPictureWithCull(const SkRect& cullRect, in finishRecordingAsPictureWithCull() argument 101 fCullRect = cullRect; in finishRecordingAsPictureWithCull()
|
D | SkPathEffect.cpp | 98 const SkRect* cullRect) const override { in filterPath() 102 if (fPE1->filterPath(&tmp, src, rec, cullRect)) { in filterPath() 105 return fPE0->filterPath(dst, *ptr, rec, cullRect); in filterPath() 168 const SkRect* cullRect) const override { in filterPath() 170 return fPE0->filterPath(dst, src, rec, cullRect) | in filterPath() 171 fPE1->filterPath(dst, src, rec, cullRect); in filterPath()
|
D | SkPictureShader.cpp | 104 , fTile(tile ? *tile : fPicture->cullRect()) in SkPictureShader() 111 if (!picture || picture->cullRect().isEmpty() || (tile && tile->isEmpty())) { in Make() 165 SkASSERT(fPicture && !fPicture->cullRect().isEmpty()); in refBitmapShader() 308 fPicture->cullRect().fLeft, in toString() 309 fPicture->cullRect().fTop, in toString() 310 fPicture->cullRect().fRight, in toString() 311 fPicture->cullRect().fBottom); in toString()
|
D | SkRecordDraw.h | 21 void SkRecordFillBounds(const SkRect& cullRect, const SkRecord&, SkRect bounds[]); 26 void SkRecordComputeLayers(const SkRect& cullRect, const SkRecord&, SkRect bounds[],
|
D | SkBigPicture.cpp | 31 const bool useBBH = !canvas->getLocalClipBounds().contains(this->cullRect()); in playback() 61 SkRect SkBigPicture::cullRect() const { return fCullRect; } in cullRect() function in SkBigPicture
|
D | SkMiniRecorder.cpp | 25 SkRect cullRect() const override { return SkRect::MakeEmpty(); } in cullRect() function in SkEmptyPicture 43 SkRect cullRect() const override { return fCull; } in cullRect() function in SkMiniPicture
|
D | SkRecordDraw.cpp | 172 FillBounds(const SkRect& cullRect, const SkRecord& record, SkRect bounds[]) in FillBounds() argument 174 , fCullRect(cullRect) in FillBounds() 470 SkRect dst = op.picture->cullRect(); in bounds() 476 SkRect dst = op.picture->cullRect(); in bounds() 619 void SkRecordFillBounds(const SkRect& cullRect, const SkRecord& record, SkRect bounds[]) { in SkRecordFillBounds() argument 620 SkRecords::FillBounds visitor(cullRect, record, bounds); in SkRecordFillBounds()
|
/external/skia/tools/ |
D | pinspect.cpp | 42 pic->cullRect().fLeft, pic->cullRect().fTop, in inspect() 43 pic->cullRect().fRight, pic->cullRect().fBottom); in inspect()
|
D | dump_record.cpp | 60 SkDeferredCanvas deferred(recorder.beginRecording(src->cullRect()), in main() 65 const int w = SkScalarCeilToInt(src->cullRect().width()); in main() 66 const int h = SkScalarCeilToInt(src->cullRect().height()); in main()
|
D | gpuveto.cpp | 55 picture->playback(recorder.beginRecording(picture->cullRect().width(), in main() 56 picture->cullRect().height(), in main()
|
/external/skia/src/utils/ |
D | SkDashPath.cpp | 88 const SkRect* cullRect, SkScalar intervalLength, in cull_path() argument 90 if (nullptr == cullRect) { in cull_path() 99 SkRect bounds = *cullRect; in cull_path() 216 const SkRect* cullRect, const SkScalar aIntervals[], in InternalFilter() argument 233 if (cull_path(src, *rec, cullRect, intervalLength, &cullPathStorage)) { in InternalFilter() 317 const SkRect* cullRect, const SkPathEffect::DashInfo& info) { in FilterDashPath() argument 326 return InternalFilter(dst, src, rec, cullRect, info.fIntervals, info.fCount, initialDashLength, in FilterDashPath()
|
D | SkDumpCanvas.cpp | 458 picture->cullRect().fLeft, picture->cullRect().fTop, in onDrawPicture() 459 picture->cullRect().fRight, picture->cullRect().fBottom); in onDrawPicture() 464 picture->cullRect().fLeft, picture->cullRect().fTop, in onDrawPicture() 465 picture->cullRect().fRight, picture->cullRect().fBottom); in onDrawPicture()
|
D | SkDeferredCanvas.cpp | 478 const SkRSXform xform[], const SkRect* cullRect, in onDrawTextRSXform() argument 480 if (cullRect) { in onDrawTextRSXform() 481 SkRect modRect = *cullRect; in onDrawTextRSXform() 487 fCanvas->drawTextRSXform(text, byteLength, xform, cullRect, paint); in onDrawTextRSXform() 501 SkAutoCanvasMatrixPaint acmp(this, matrix, paint, picture->cullRect()); in onDrawPicture()
|
D | SkDashPathPriv.h | 44 const SkRect* cullRect, const SkScalar aIntervals[],
|
/external/skia/src/effects/ |
D | SkDashPathEffect.cpp | 39 SkStrokeRec* rec, const SkRect* cullRect) const { in filterPath() 40 return SkDashPath::InternalFilter(dst, src, rec, cullRect, fIntervals, fCount, in filterPath() 59 const SkMatrix& ctm, const SkRect* cullRect, in cull_line() argument 61 if (nullptr == cullRect) { in cull_line() 73 SkRect bounds = *cullRect; in cull_line() 162 const SkRect* cullRect) const { in asPoints() 197 if (!cull_line(pts, rec, matrix, cullRect, fIntervalLength)) { in asPoints()
|
D | SkPictureImageFilter.cpp | 41 , fCropRect(fPicture ? fPicture->cullRect() : SkRect::MakeEmpty()) in SkPictureImageFilter() 208 fPicture->cullRect().fLeft, fPicture->cullRect().fTop, in toString() 209 fPicture->cullRect().fRight, fPicture->cullRect().fBottom); in toString()
|
D | Sk2DPathEffect.cpp | 89 SkStrokeRec* rec, const SkRect* cullRect) const { in filterPath() 90 if (this->INHERITED::filterPath(dst, src, rec, cullRect)) { in filterPath()
|
D | Sk1DPathEffect.cpp | 67 SkStrokeRec* rec, const SkRect* cullRect) const { in filterPath() 70 return this->INHERITED::filterPath(dst, src, rec, cullRect); in filterPath()
|
/external/skia/tools/skpbench/ |
D | skpbench.cpp | 266 int width = SkTMin(SkScalarCeilToInt(skp->cullRect().width()), 2048), in main() 267 height = SkTMin(SkScalarCeilToInt(skp->cullRect().height()), 2048); in main() 269 (width != skp->cullRect().width() || height != skp->cullRect().height())) { in main() 271 skpname.c_str(), SkScalarCeilToInt(skp->cullRect().width()), in main() 272 SkScalarCeilToInt(skp->cullRect().height()), width, height); in main() 323 canvas->translate(-skp->cullRect().x(), -skp->cullRect().y()); in main()
|
/external/skia/samplecode/ |
D | SamplePictFile.cpp | 185 pic->playback(recorder.beginRecording(pic->cullRect().width(), in LoadPicture() 186 pic->cullRect().height(), in LoadPicture() 214 pic->playback(recorder.beginRecording(pic->cullRect().width(), in LoadPicture() 215 pic->cullRect().height(), in LoadPicture()
|
/external/skia/gm/ |
D | pictureimagefilter.cpp | 86 fPicture->cullRect(), in onDraw() 90 fPicture->cullRect(), in onDraw() 116 fPicture->cullRect(), in onDraw()
|
D | distantclip.cpp | 48 pict->playback(recorder.beginRecording(pict->cullRect().width(), in onDraw() 49 pict->cullRect().height(), in onDraw()
|
/external/skia/include/core/ |
D | SkCanvas.h | 1064 const SkRect* cullRect, const SkPaint& paint); 1244 const SkColor colors[], int count, SkBlendMode, const SkRect* cullRect, 1247 const SkColor colors[], int count, SkBlendMode mode, const SkRect* cullRect, in drawAtlas() argument 1249 this->drawAtlas(atlas.get(), xform, tex, colors, count, mode, cullRect, paint); in drawAtlas() 1252 const SkRect* cullRect, const SkPaint* paint) { in drawAtlas() argument 1253 this->drawAtlas(atlas, xform, tex, nullptr, count, SkBlendMode::kDst, cullRect, paint); in drawAtlas() 1256 int count, const SkRect* cullRect, const SkPaint* paint) { in drawAtlas() argument 1258 cullRect, paint); in drawAtlas() 1440 const SkRect* cullRect, const SkPaint& paint);
|
/external/skia/tools/lua/ |
D | lua_pictures.cpp | 148 new SkLuaCanvas(SkScalarCeilToInt(pic->cullRect().width()), in main() 149 SkScalarCeilToInt(pic->cullRect().height()), in main()
|