Home
last modified time | relevance | path

Searched refs:cullRect (Results 1 – 25 of 124) sorted by relevance

12345

/third_party/skia/src/core/
DSkPictureRecorder.cpp32 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()
DSkPathEffect.cpp102 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()
DSkRecordDraw.h21 void SkRecordFillBounds(const SkRect& cullRect, const SkRecord&,
27 void SkRecordComputeLayers(const SkRect& cullRect, const SkRecord&, SkRect bounds[],
DSkBigPicture.cpp31 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/
DRecordingBench.cpp15 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/
DRecordingBench.cpp15 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/
DSkPathEffect.cpp102 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()
DSkPictureRecorder.cpp31 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()
DSkBigPicture.cpp34 const bool useBBH = !canvas->getLocalClipBounds().contains(this->cullRect()); in playback()
60 SkRect SkBigPicture::cullRect() const { return fCullRect; } in cullRect() function in SkBigPicture
DSkRecordDraw.h21 void SkRecordFillBounds(const SkRect& cullRect, const SkRecord&, SkRect bounds[]);
26 void SkRecordComputeLayers(const SkRect& cullRect, const SkRecord&, SkRect bounds[],
/third_party/skia/tests/
DPictureTest.cpp150 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/
Dpicture_recorder.dart9 ui.Rect cullRect;
15 cullRect = bounds;
28 return SkPicture(skPicture, cullRect);
Dpicture.dart10 SkPicture(this.skPicture, this.cullRect);
16 final ui.Rect cullRect;
/third_party/skia/src/effects/
DSkDashPathEffect.cpp43 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()
DSk2DPathEffect.cpp67 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/
DSkDashPathEffect.cpp43 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/
DPictureTest.cpp152 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/
DSkDashPath.cpp159 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/
DSkDashPath.cpp158 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/
Ddistantclip.cpp46 pict->playback(recorder.beginRecording(pict->cullRect().width(), in onDraw()
47 pict->cullRect().height())); in onDraw()
/third_party/flutter/skia/gm/
Ddistantclip.cpp48 pict->playback(recorder.beginRecording(pict->cullRect().width(), in onDraw()
49 pict->cullRect().height(), in onDraw()
/third_party/flutter/skia/tools/
Ddump_record.cpp59 const int w = SkScalarCeilToInt(src->cullRect().width()); in main()
60 const int h = SkScalarCeilToInt(src->cullRect().height()); in main()
Dremote_demo.cpp137 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/
Dskpbench.cpp453 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/
Dremote_demo.cpp137 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()

12345