Searched refs:fRectanizer (Results 1 – 6 of 6) sorted by relevance
/external/skia/bench/ |
D | RectanizerBench.cpp | 76 SkASSERT(nullptr == fRectanizer.get()); in onDelayedSetup() 79 fRectanizer = std::make_unique<GrRectanizerPow2>(kWidth, kHeight); in onDelayedSetup() 82 fRectanizer = std::make_unique<GrRectanizerSkyline>(kWidth, kHeight); in onDelayedSetup() 103 if (!fRectanizer->addRect(size.fWidth, size.fHeight, &loc)) { in onDraw() 106 fRectanizer->reset(); in onDraw() 111 fRectanizer->reset(); in onDraw() 118 std::unique_ptr<GrRectanizer> fRectanizer; member in RectanizerBench
|
/external/skqp/bench/ |
D | RectanizerBench.cpp | 74 SkASSERT(nullptr == fRectanizer.get()); in onDelayedSetup() 77 fRectanizer.reset(new GrRectanizerPow2(kWidth, kHeight)); in onDelayedSetup() 80 fRectanizer.reset(new GrRectanizerSkyline(kWidth, kHeight)); in onDelayedSetup() 101 if (!fRectanizer->addRect(size.fWidth, size.fHeight, &loc)) { in onDraw() 104 fRectanizer->reset(); in onDraw() 109 fRectanizer->reset(); in onDraw() 116 std::unique_ptr<GrRectanizer> fRectanizer; member in RectanizerBench
|
/external/skia/src/gpu/ |
D | GrDynamicAtlas.cpp | 24 : fPrevious(previous), fRectanizer(rectanizer), fX(x), fY(y) {} in Node() 30 if (w < fRectanizer->width()) { in addRect() 31 w = std::min(w + kPadding, fRectanizer->width()); in addRect() 33 if (h < fRectanizer->height()) { in addRect() 34 h = std::min(h + kPadding, fRectanizer->height()); in addRect() 36 if (!fRectanizer->addRect(w, h, loc)) { in addRect() 46 GrRectanizer* const fRectanizer; member in GrDynamicAtlas::Node
|
D | GrDrawOpAtlas.cpp | 98 , fRectanizer(width, height) in Plot() 122 if (!fRectanizer.addRect(width, height, &loc)) { in addSubImage() 186 fRectanizer.reset(); in resetRects()
|
D | GrDrawOpAtlas.h | 452 GrRectanizerSkyline fRectanizer; variable
|
/external/skqp/src/gpu/ccpr/ |
D | GrCCAtlas.cpp | 25 : fPrevious(std::move(previous)), fX(l), fY(t), fRectanizer(r - l, b - t) {} in Node() 37 if (!fRectanizer.addRect(w, h, loc)) { in addRect() 48 GrRectanizerSkyline fRectanizer; member in GrCCAtlas::Node
|