Home
last modified time | relevance | path

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

/external/skia/bench/
DRectanizerBench.cpp76 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/
DRectanizerBench.cpp74 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/
DGrDynamicAtlas.cpp24 : 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
DGrDrawOpAtlas.cpp98 , fRectanizer(width, height) in Plot()
122 if (!fRectanizer.addRect(width, height, &loc)) { in addSubImage()
186 fRectanizer.reset(); in resetRects()
DGrDrawOpAtlas.h452 GrRectanizerSkyline fRectanizer; variable
/external/skqp/src/gpu/ccpr/
DGrCCAtlas.cpp25 : 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