Home
last modified time | relevance | path

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

/external/skqp/tests/
DGpuRectanizerTest.cpp19 static void test_rectanizer_basic(skiatest::Reporter* reporter, GrRectanizer* rectanizer) { in test_rectanizer_basic() argument
20 REPORTER_ASSERT(reporter, kWidth == rectanizer->width()); in test_rectanizer_basic()
21 REPORTER_ASSERT(reporter, kHeight == rectanizer->height()); in test_rectanizer_basic()
25 REPORTER_ASSERT(reporter, rectanizer->addRect(50, 50, &loc)); in test_rectanizer_basic()
26 REPORTER_ASSERT(reporter, rectanizer->percentFull() > 0.0f); in test_rectanizer_basic()
27 rectanizer->reset(); in test_rectanizer_basic()
28 REPORTER_ASSERT(reporter, rectanizer->percentFull() == 0.0f); in test_rectanizer_basic()
32 GrRectanizer* rectanizer, in test_rectanizer_inserts() argument
37 if (!rectanizer->addRect(rects[i].fWidth, rects[i].fHeight, &loc)) { in test_rectanizer_inserts()
/external/skia/tests/
DGpuRectanizerTest.cpp19 static void test_rectanizer_basic(skiatest::Reporter* reporter, GrRectanizer* rectanizer) { in test_rectanizer_basic() argument
20 REPORTER_ASSERT(reporter, kWidth == rectanizer->width()); in test_rectanizer_basic()
21 REPORTER_ASSERT(reporter, kHeight == rectanizer->height()); in test_rectanizer_basic()
25 REPORTER_ASSERT(reporter, rectanizer->addRect(50, 50, &loc)); in test_rectanizer_basic()
26 REPORTER_ASSERT(reporter, rectanizer->percentFull() > 0.0f); in test_rectanizer_basic()
27 rectanizer->reset(); in test_rectanizer_basic()
28 REPORTER_ASSERT(reporter, rectanizer->percentFull() == 0.0f); in test_rectanizer_basic()
32 GrRectanizer* rectanizer, in test_rectanizer_inserts() argument
37 if (!rectanizer->addRect(rects[i].fWidth, rects[i].fHeight, &loc)) { in test_rectanizer_inserts()