Home
last modified time | relevance | path

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

/external/skia/tests/
DGpuRectanizerTest.cpp21 static void test_rectanizer_basic(skiatest::Reporter* reporter, GrRectanizer* rectanizer) { in test_rectanizer_basic() argument
22 REPORTER_ASSERT(reporter, kWidth == rectanizer->width()); in test_rectanizer_basic()
23 REPORTER_ASSERT(reporter, kHeight == rectanizer->height()); in test_rectanizer_basic()
27 REPORTER_ASSERT(reporter, rectanizer->addRect(50, 50, &loc)); in test_rectanizer_basic()
28 REPORTER_ASSERT(reporter, rectanizer->percentFull() > 0.0f); in test_rectanizer_basic()
29 rectanizer->reset(); in test_rectanizer_basic()
30 REPORTER_ASSERT(reporter, rectanizer->percentFull() == 0.0f); in test_rectanizer_basic()
34 GrRectanizer* rectanizer, in test_rectanizer_inserts() argument
39 if (!rectanizer->addRect(rects[i].fWidth, rects[i].fHeight, &loc)) { in test_rectanizer_inserts()