• Home
  • Raw
  • Download

Lines Matching refs:bbh

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()
198 REPORTER_ASSERT(r, sloppy_rect_eq(bbh.fEntries[1].bounds, SkRect::MakeLTRB(0, 20, 180, 100))); in DEF_TEST()
251 TestBBH bbh; in DEF_TEST() local
252 SkRecordFillBounds(SkRect::MakeWH(50, 50), record, &bbh); in DEF_TEST()
253 REPORTER_ASSERT(r, bbh.fEntries.count() == 4); in DEF_TEST()
254 REPORTER_ASSERT(r, sloppy_rect_eq(bbh.fEntries[0].bounds, SkRect::MakeLTRB(0, 0, 50, 50))); in DEF_TEST()
255 REPORTER_ASSERT(r, sloppy_rect_eq(bbh.fEntries[1].bounds, SkRect::MakeLTRB(0, 0, 50, 50))); in DEF_TEST()
256 REPORTER_ASSERT(r, sloppy_rect_eq(bbh.fEntries[2].bounds, SkRect::MakeLTRB(0, 0, 40, 40))); in DEF_TEST()
257 REPORTER_ASSERT(r, sloppy_rect_eq(bbh.fEntries[3].bounds, SkRect::MakeLTRB(0, 0, 50, 50))); in DEF_TEST()
275 TestBBH bbh; in DEF_TEST() local
276 SkRecordFillBounds(SkRect::MakeWH(50, 50), record, &bbh); in DEF_TEST()
277 REPORTER_ASSERT(r, bbh.fEntries.count() == 3); in DEF_TEST()
279 … REPORTER_ASSERT(r, sloppy_rect_eq(bbh.fEntries[0].bounds, SkRect::MakeLTRB(10, 10, 40, 40))); in DEF_TEST()
280 … REPORTER_ASSERT(r, sloppy_rect_eq(bbh.fEntries[1].bounds, SkRect::MakeLTRB(20, 20, 30, 30))); in DEF_TEST()
281 … REPORTER_ASSERT(r, sloppy_rect_eq(bbh.fEntries[2].bounds, SkRect::MakeLTRB(10, 10, 40, 40))); in DEF_TEST()