Searched refs:rectanizer (Results 1 – 3 of 3) sorted by relevance
/external/skqp/tests/ |
D | GpuRectanizerTest.cpp | 19 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/ |
D | GpuRectanizerTest.cpp | 19 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/src/gpu/ |
D | GrDynamicAtlas.cpp | 23 Node(Node* previous, GrRectanizer* rectanizer, int x, int y) in Node() argument 24 : fPrevious(previous), fRectanizer(rectanizer), fX(x), fY(y) {} in Node() 106 GrRectanizer* rectanizer = (fRectanizerAlgorithm == RectanizerAlgorithm::kSkyline) in makeNode() local 109 return fNodeAllocator.make<Node>(previous, rectanizer, l, t); in makeNode()
|