Lines Matching refs:fWidth
85 fWidth = std::min(SkNextPow2(initialSize.width()), fMaxAtlasSize); in reset()
94 {fWidth, fHeight}, format, GrRenderable::kYes, sampleCount, in reset()
113 fDrawBounds.fWidth = std::max(fDrawBounds.width(), location.x() + devIBounds.width()); in addRect()
128 if (w > fWidth) { in internalPlaceRect()
129 fWidth = std::min(SkNextPow2(w), fMaxAtlasSize); in internalPlaceRect()
134 fTopNode = std::make_unique<Node>(nullptr, 0, 0, fWidth, fHeight); in internalPlaceRect()
145 if (fWidth >= fMaxAtlasSize && fHeight >= fMaxAtlasSize) { in internalPlaceRect()
148 if (fHeight <= fWidth) { in internalPlaceRect()
151 fTopNode = std::make_unique<Node>(std::move(fTopNode), 0, top, fWidth, fHeight); in internalPlaceRect()
153 int left = fWidth; in internalPlaceRect()
154 fWidth = std::min(fWidth * 2, fMaxAtlasSize); in internalPlaceRect()
155 fTopNode = std::make_unique<Node>(std::move(fTopNode), left, 0, fWidth, fHeight); in internalPlaceRect()
167 SkASSERT(std::max(fHeight, fWidth) <= fMaxAtlasSize); in instantiate()
180 SkASSERT(backingRT->width() == fWidth); in instantiate()
190 fWidth, fHeight).c_str()); in instantiate()