Home
last modified time | relevance | path

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

/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/bench/
DRectanizerBench.cpp67 SkASSERT(nullptr == fRectanizer.get()); in onDelayedSetup()
69 fRectanizer.reset(new GrRectanizerSkyline(kWidth, kHeight)); in onDelayedSetup()
89 if (!fRectanizer->addRect(size.fWidth, size.fHeight, &loc)) { in onDraw()
92 fRectanizer->reset(); in onDraw()
97 fRectanizer->reset(); in onDraw()
103 std::unique_ptr<GrRectanizerSkyline> fRectanizer; member in RectanizerBench
/external/skia/src/gpu/
DGrDynamicAtlas.cpp22 : fPrevious(std::move(previous)), fX(l), fY(t), fRectanizer(r - l, b - t) {} in Node()
28 if (w < fRectanizer.width()) { in addRect()
29 w = std::min(w + kPadding, fRectanizer.width()); in addRect()
31 if (h < fRectanizer.height()) { in addRect()
32 h = std::min(h + kPadding, fRectanizer.height()); in addRect()
34 if (!fRectanizer.addRect(w, h, loc)) { in addRect()
45 GrRectanizerSkyline fRectanizer; member in GrDynamicAtlas::Node
DGrDrawOpAtlas.cpp109 , fRectanizer(width, height) in Plot()
131 if (!fRectanizer.addRect(width, height, loc)) { in addSubImage()
193 fRectanizer.reset(); in resetRects()
DGrDrawOpAtlas.h373 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