Lines Matching defs:reporter
19 static void test_rectanizer_basic(skiatest::Reporter* reporter, GrRectanizer* rectanizer) {
20 REPORTER_ASSERT(reporter, kWidth == rectanizer->width());
21 REPORTER_ASSERT(reporter, kHeight == rectanizer->height());
25 REPORTER_ASSERT(reporter, rectanizer->addRect(50, 50, &loc));
26 REPORTER_ASSERT(reporter, rectanizer->percentFull() > 0.0f);
28 REPORTER_ASSERT(reporter, rectanizer->percentFull() == 0.0f);
45 static void test_skyline(skiatest::Reporter* reporter, const SkTDArray<SkISize>& rects) {
48 test_rectanizer_basic(reporter, &skylineRectanizer);
49 test_rectanizer_inserts(reporter, &skylineRectanizer, rects);
52 static void test_pow2(skiatest::Reporter* reporter, const SkTDArray<SkISize>& rects) {
55 test_rectanizer_basic(reporter, &pow2Rectanizer);
56 test_rectanizer_inserts(reporter, &pow2Rectanizer, rects);
59 DEF_GPUTEST(GpuRectanizer, reporter, factory) {
68 test_skyline(reporter, rects);
69 test_pow2(reporter, rects);