/external/skia/tests/ |
D | RecordDrawTest.cpp | 164 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 …]
|
D | PictureTest.cpp | 1255 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()
|
D | RecordReplaceDrawTest.cpp | 131 SkAutoTUnref<SkBBoxHierarchy> bbh; in test_replacements() local
|
/external/skia/src/core/ |
D | SkPictureRecorder.cpp | 113 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()
|
D | SkRecordDraw.cpp | 17 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 …]
|
D | SkRecordDraw.h | 24 SkBBoxHierarchy* bbh, SkLayerInfo* data);
|
D | SkPicture.cpp | 459 SkBBoxHierarchy* bbh, in SkPicture() argument 466 , fBBH(bbh) // Take ownership of caller's ref. in SkPicture()
|
/external/skia/src/gpu/ |
D | GrRecordReplaceDraw.cpp | 79 const SkBBoxHierarchy* bbh = fPicture->fBBH.get(); in draw() local 89 if (bbh) { in draw() 98 bbh->search(query, &fOps); in draw()
|
/external/skia/tools/ |
D | bench_pictures_cfg_helper.py | 82 return BitmapConfig(bbh='rtree', **kwargs) 86 return BitmapConfig(mode=mode, bbh=['grid', str(tile_x), str(tile_y)],
|
D | PictureRenderingFlags.cpp | 20 DEFINE_string(bbh, "none", "bbhType [width height]: Set the bounding box hierarchy type to "
|
/external/skia/bench/ |
D | PicturePlaybackBench.cpp | 151 TiledPlaybackBench(BBH bbh, Mode mode) : fBBH(bbh), fMode(mode), fName("tiled_playback") { in TiledPlaybackBench() argument
|
D | nanobench.cpp | 87 DEFINE_bool(bbh, true, "Build a BBH for SKPs?");
|