Lines Matching refs:rectanizer
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);
27 rectanizer->reset();
28 REPORTER_ASSERT(reporter, rectanizer->percentFull() == 0.0f);
32 GrRectanizer* rectanizer,
37 if (!rectanizer->addRect(rects[i].fWidth, rects[i].fHeight, &loc)) {
42 //SkDebugf("\n***%d %f\n", i, rectanizer->percentFull());