Home
last modified time | relevance | path

Searched refs:bbh (Results 1 – 12 of 12) sorted by relevance

/external/skia/tests/
DRecordDrawTest.cpp164 TestBBH bbh; in DEF_TEST() local
165 SkRecordFillBounds(SkRect::MakeWH(SkIntToScalar(W), SkIntToScalar(H)), record, &bbh); in DEF_TEST()
167 REPORTER_ASSERT(r, bbh.fEntries.count() == 5); in DEF_TEST()
168 for (int i = 0; i < bbh.fEntries.count(); i++) { in DEF_TEST()
169 REPORTER_ASSERT(r, bbh.fEntries[i].opIndex == (unsigned)i); in DEF_TEST()
171 REPORTER_ASSERT(r, sloppy_rect_eq(SkRect::MakeWH(400, 480), bbh.fEntries[i].bounds)); in DEF_TEST()
190 TestBBH bbh; in DEF_TEST() local
191 SkRecordFillBounds(SkRect::MakeWH(SkIntToScalar(W), SkIntToScalar(H)), record, &bbh); in DEF_TEST()
192 REPORTER_ASSERT(r, bbh.fEntries.count() == 2); in DEF_TEST()
197 REPORTER_ASSERT(r, sloppy_rect_eq(bbh.fEntries[0].bounds, SkRect::MakeLTRB(0, 0, 140, 60))); in DEF_TEST()
[all …]
DPictureTest.cpp1255 explicit SpoonFedBBHFactory(SkBBoxHierarchy* bbh) : fBBH(bbh) {} in SpoonFedBBHFactory() argument
1266 CountingBBH bbh(bound); in DEF_TEST() local
1267 SpoonFedBBHFactory factory(&bbh); in DEF_TEST()
1276 REPORTER_ASSERT(r, bbh.searchCalls == 0); in DEF_TEST()
1279 REPORTER_ASSERT(r, bbh.searchCalls == 1); in DEF_TEST()
DRecordReplaceDrawTest.cpp131 SkAutoTUnref<SkBBoxHierarchy> bbh; in test_replacements() local
/external/skia/src/core/
DSkPictureRecorder.cpp113 SkRecordedDrawable(SkRecord* record, SkBBoxHierarchy* bbh, SkDrawableList* drawableList, in SkRecordedDrawable() argument
116 , fBBH(SkSafeRef(bbh)) in SkRecordedDrawable()
150 SkBBoxHierarchy* bbh = NULL; // we've already computed fBBH (received in constructor) in onNewPictureSnapshot() local
153 SkRecordComputeLayers(fBounds, *fRecord, pictList, bbh, saveLayerData); in onNewPictureSnapshot()
DSkRecordDraw.cpp17 const SkBBoxHierarchy* bbh, in SkRecordDraw() argument
21 if (bbh) { in SkRecordDraw()
33 bbh->search(query, &ops); in SkRecordDraw()
166 void cleanUp(SkBBoxHierarchy* bbh) { in cleanUp() argument
179 if (bbh) { in cleanUp()
180 bbh->insert(fBounds.get(), fNumRecords); in cleanUp()
599 void cleanUp(SkBBoxHierarchy* bbh) { in cleanUp() argument
603 fFillBounds.cleanUp(bbh); in cleanUp()
784 void SkRecordFillBounds(const SkRect& cullRect, const SkRecord& record, SkBBoxHierarchy* bbh) { in SkRecordFillBounds() argument
792 visitor.cleanUp(bbh); in SkRecordFillBounds()
[all …]
DSkRecordDraw.h24 SkBBoxHierarchy* bbh, SkLayerInfo* data);
DSkPicture.cpp459 SkBBoxHierarchy* bbh, in SkPicture() argument
466 , fBBH(bbh) // Take ownership of caller's ref. in SkPicture()
/external/skia/src/gpu/
DGrRecordReplaceDraw.cpp79 const SkBBoxHierarchy* bbh = fPicture->fBBH.get(); in draw() local
89 if (bbh) { in draw()
98 bbh->search(query, &fOps); in draw()
/external/skia/tools/
Dbench_pictures_cfg_helper.py82 return BitmapConfig(bbh='rtree', **kwargs)
86 return BitmapConfig(mode=mode, bbh=['grid', str(tile_x), str(tile_y)],
DPictureRenderingFlags.cpp20 DEFINE_string(bbh, "none", "bbhType [width height]: Set the bounding box hierarchy type to "
/external/skia/bench/
DPicturePlaybackBench.cpp151 TiledPlaybackBench(BBH bbh, Mode mode) : fBBH(bbh), fMode(mode), fName("tiled_playback") { in TiledPlaybackBench() argument
Dnanobench.cpp87 DEFINE_bool(bbh, true, "Build a BBH for SKPs?");