/third_party/skia/src/core/ |
D | SkPictureRecorder.cpp | 32 const SkRect cullRect = userCullRect.isEmpty() ? SkRect::MakeEmpty() : userCullRect; in beginRecording() local 34 fCullRect = cullRect; in beginRecording() 40 fRecorder->reset(fRecord.get(), cullRect, fMiniRecorder.get()); in beginRecording() 60 SkRect bounds = pic->cullRect(); // actually the computed bounds, not fCullRect. in finishRecordingAsPicture() 105 sk_sp<SkPicture> SkPictureRecorder::finishRecordingAsPictureWithCull(const SkRect& cullRect) { in finishRecordingAsPictureWithCull() argument 106 fCullRect = cullRect; in finishRecordingAsPictureWithCull()
|
D | SkPathEffect.cpp | 102 const SkRect* cullRect, const SkMatrix& ctm) const override { in onFilterPath() argument 106 if (fPE1->filterPath(&tmp, src, rec, cullRect, ctm)) { in onFilterPath() 109 return fPE0->filterPath(dst, *ptr, rec, cullRect, ctm); in onFilterPath() 163 const SkRect* cullRect, const SkMatrix& ctm) const override { in onFilterPath() argument 165 bool filteredFirst = fPE0->filterPath(dst, src, rec, cullRect, ctm); in onFilterPath() 166 bool filteredSecond = fPE1->filterPath(dst, src, rec, cullRect, ctm); in onFilterPath()
|
D | SkRecordDraw.h | 21 void SkRecordFillBounds(const SkRect& cullRect, const SkRecord&, 27 void SkRecordComputeLayers(const SkRect& cullRect, const SkRecord&, SkRect bounds[],
|
D | SkBigPicture.cpp | 31 const bool useBBH = !canvas->getLocalClipBounds().contains(this->cullRect()); in playback() 67 SkRect SkBigPicture::cullRect() const { return fCullRect; } in cullRect() function in SkBigPicture
|
/third_party/flutter/skia/bench/ |
D | RecordingBench.cpp | 15 pic->playback(rec.beginRecording(pic->cullRect(), nullptr, in PictureCentricBench() 29 return SkIPoint::Make(SkScalarCeilToInt(fSrc->cullRect().width()), in onGetSize() 30 SkScalarCeilToInt(fSrc->cullRect().height())); in onGetSize() 44 fSrc->playback(recorder.beginRecording(fSrc->cullRect(), fUseBBH ? &factory : nullptr)); in onDraw()
|
/third_party/skia/bench/ |
D | RecordingBench.cpp | 15 pic->playback(rec.beginRecording(pic->cullRect(), nullptr /*, in PictureCentricBench() 29 return SkIPoint::Make(SkScalarCeilToInt(fSrc->cullRect().width()), in onGetSize() 30 SkScalarCeilToInt(fSrc->cullRect().height())); in onGetSize() 44 fSrc->playback(recorder.beginRecording(fSrc->cullRect(), fUseBBH ? &factory : nullptr)); in onDraw()
|
/third_party/flutter/skia/src/core/ |
D | SkPathEffect.cpp | 102 const SkRect* cullRect) const override { in onFilterPath() 106 if (fPE1->filterPath(&tmp, src, rec, cullRect)) { in onFilterPath() 109 return fPE0->filterPath(dst, *ptr, rec, cullRect); in onFilterPath() 160 const SkRect* cullRect) const override { in onFilterPath() 162 return fPE0->filterPath(dst, src, rec, cullRect) | in onFilterPath() 163 fPE1->filterPath(dst, src, rec, cullRect); in onFilterPath()
|
D | SkPictureRecorder.cpp | 31 const SkRect cullRect = userCullRect.isEmpty() ? SkRect::MakeEmpty() : userCullRect; in beginRecording() local 33 fCullRect = cullRect; in beginRecording() 47 fRecorder->reset(fRecord.get(), cullRect, dpm, fMiniRecorder.get()); in beginRecording() 94 sk_sp<SkPicture> SkPictureRecorder::finishRecordingAsPictureWithCull(const SkRect& cullRect, in finishRecordingAsPictureWithCull() argument 96 fCullRect = cullRect; in finishRecordingAsPictureWithCull()
|
D | SkBigPicture.cpp | 34 const bool useBBH = !canvas->getLocalClipBounds().contains(this->cullRect()); in playback() 60 SkRect SkBigPicture::cullRect() const { return fCullRect; } in cullRect() function in SkBigPicture
|
D | SkRecordDraw.h | 21 void SkRecordFillBounds(const SkRect& cullRect, const SkRecord&, SkRect bounds[]); 26 void SkRecordComputeLayers(const SkRect& cullRect, const SkRecord&, SkRect bounds[],
|
/third_party/skia/tests/ |
D | PictureTest.cpp | 150 SaveCountingCanvas canvas(SkScalarCeilToInt(picture->cullRect().width()), in check_save_state() 151 SkScalarCeilToInt(picture->cullRect().height())); in check_save_state() 441 SkRect finalCullRect = picture->cullRect(); in test_cull_rect_reset() 724 REPORTER_ASSERT(r, deserializedPicture->cullRect().left() == 1); in DEF_TEST() 725 REPORTER_ASSERT(r, deserializedPicture->cullRect().top() == 2); in DEF_TEST() 726 REPORTER_ASSERT(r, deserializedPicture->cullRect().right() == 3); in DEF_TEST() 727 REPORTER_ASSERT(r, deserializedPicture->cullRect().bottom() == 4); in DEF_TEST() 742 REPORTER_ASSERT(r, pic->cullRect() == SkRect::MakeWH(20,20)); in DEF_TEST() 747 REPORTER_ASSERT(r, pic->cullRect() == SkRectPriv::MakeLargest()); in DEF_TEST() 758 REPORTER_ASSERT(r, pic->cullRect() == SkRect::MakeWH(20,40)); in DEF_TEST() [all …]
|
/third_party/flutter/engine/flutter/lib/web_ui/lib/src/engine/compositor/ |
D | picture_recorder.dart | 9 ui.Rect cullRect; 15 cullRect = bounds; 28 return SkPicture(skPicture, cullRect);
|
D | picture.dart | 10 SkPicture(this.skPicture, this.cullRect); 16 final ui.Rect cullRect;
|
/third_party/skia/src/effects/ |
D | SkDashPathEffect.cpp | 43 const SkRect* cullRect, const SkMatrix&) const { in onFilterPath() argument 44 return SkDashPath::InternalFilter(dst, src, rec, cullRect, fIntervals, fCount, in onFilterPath() 63 const SkMatrix& ctm, const SkRect* cullRect, in cull_line() argument 65 if (nullptr == cullRect) { in cull_line() 77 SkRect bounds = *cullRect; in cull_line() 167 const SkMatrix& matrix, const SkRect* cullRect) const { in onAsPoints() 202 if (!cull_line(pts, rec, matrix, cullRect, fIntervalLength)) { in onAsPoints()
|
D | Sk2DPathEffect.cpp | 67 const SkRect* cullRect, const SkMatrix&) const override { in onFilterPath() argument 118 const SkRect* cullRect, const SkMatrix& ctm) const override { in onFilterPath() argument 119 if (this->INHERITED::onFilterPath(dst, src, rec, cullRect, ctm)) { in onFilterPath()
|
/third_party/flutter/skia/src/effects/ |
D | SkDashPathEffect.cpp | 43 const SkRect* cullRect) const { in onFilterPath() 44 return SkDashPath::InternalFilter(dst, src, rec, cullRect, fIntervals, fCount, in onFilterPath() 63 const SkMatrix& ctm, const SkRect* cullRect, in cull_line() argument 65 if (nullptr == cullRect) { in cull_line() 77 SkRect bounds = *cullRect; in cull_line() 167 const SkMatrix& matrix, const SkRect* cullRect) const { in onAsPoints() 202 if (!cull_line(pts, rec, matrix, cullRect, fIntervalLength)) { in onAsPoints()
|
/third_party/flutter/skia/tests/ |
D | PictureTest.cpp | 152 SaveCountingCanvas canvas(SkScalarCeilToInt(picture->cullRect().width()), in check_save_state() 153 SkScalarCeilToInt(picture->cullRect().height())); in check_save_state() 466 SkRect finalCullRect = picture->cullRect(); in test_cull_rect_reset() 785 REPORTER_ASSERT(r, deserializedPicture->cullRect().left() == 1); in DEF_TEST() 786 REPORTER_ASSERT(r, deserializedPicture->cullRect().top() == 2); in DEF_TEST() 787 REPORTER_ASSERT(r, deserializedPicture->cullRect().right() == 3); in DEF_TEST() 788 REPORTER_ASSERT(r, deserializedPicture->cullRect().bottom() == 4); in DEF_TEST() 803 REPORTER_ASSERT(r, pic->cullRect() == SkRect::MakeWH(20,20)); in DEF_TEST() 808 REPORTER_ASSERT(r, pic->cullRect() == SkRectPriv::MakeLargest()); in DEF_TEST() 819 REPORTER_ASSERT(r, pic->cullRect() == SkRect::MakeWH(20,40)); in DEF_TEST() [all …]
|
/third_party/skia/src/utils/ |
D | SkDashPath.cpp | 159 const SkRect* cullRect, SkScalar intervalLength, SkPath* dstPath) { in cull_path() argument 160 if (!cullRect) { in cull_path() 172 bounds = *cullRect; in cull_path() 292 const SkRect* cullRect, const SkScalar aIntervals[], in InternalFilter() argument 311 if (cull_path(src, *rec, cullRect, intervalLength, &cullPathStorage)) { in InternalFilter() 441 const SkRect* cullRect, const SkPathEffect::DashInfo& info) { in FilterDashPath() argument 450 return InternalFilter(dst, src, rec, cullRect, info.fIntervals, info.fCount, initialDashLength, in FilterDashPath()
|
/third_party/flutter/skia/src/utils/ |
D | SkDashPath.cpp | 158 const SkRect* cullRect, SkScalar intervalLength, SkPath* dstPath) { in cull_path() argument 159 if (!cullRect) { in cull_path() 171 bounds = *cullRect; in cull_path() 287 const SkRect* cullRect, const SkScalar aIntervals[], in InternalFilter() argument 306 if (cull_path(src, *rec, cullRect, intervalLength, &cullPathStorage)) { in InternalFilter() 435 const SkRect* cullRect, const SkPathEffect::DashInfo& info) { in FilterDashPath() argument 444 return InternalFilter(dst, src, rec, cullRect, info.fIntervals, info.fCount, initialDashLength, in FilterDashPath()
|
/third_party/skia/gm/ |
D | distantclip.cpp | 46 pict->playback(recorder.beginRecording(pict->cullRect().width(), in onDraw() 47 pict->cullRect().height())); in onDraw()
|
/third_party/flutter/skia/gm/ |
D | distantclip.cpp | 48 pict->playback(recorder.beginRecording(pict->cullRect().width(), in onDraw() 49 pict->cullRect().height(), in onDraw()
|
/third_party/flutter/skia/tools/ |
D | dump_record.cpp | 59 const int w = SkScalarCeilToInt(src->cullRect().width()); in main() 60 const int h = SkScalarCeilToInt(src->cullRect().height()); in main()
|
D | remote_demo.cpp | 137 const SkIRect bounds = pic.cullRect().round(); in push_font_data() 160 auto cullRect = pic->cullRect(); in final_draw() local 161 auto r = cullRect.round(); in final_draw()
|
/third_party/flutter/skia/tools/skpbench/ |
D | skpbench.cpp | 453 int width = SkTMin(SkScalarCeilToInt(skp->cullRect().width()), 2048), in main() 454 height = SkTMin(SkScalarCeilToInt(skp->cullRect().height()), 2048); in main() 456 (width != skp->cullRect().width() || height != skp->cullRect().height())) { in main() 458 srcname.c_str(), SkScalarCeilToInt(skp->cullRect().width()), in main() 459 SkScalarCeilToInt(skp->cullRect().height()), width, height); in main() 523 canvas->translate(-skp->cullRect().x(), -skp->cullRect().y()); in main()
|
/third_party/skia/tools/ |
D | remote_demo.cpp | 137 const SkIRect bounds = pic.cullRect().round(); in push_font_data() 160 auto cullRect = pic->cullRect(); in final_draw() local 161 auto r = cullRect.round(); in final_draw()
|