Home
last modified time | relevance | path

Searched refs:devIBounds (Results 1 – 14 of 14) sorted by relevance

/external/skia/src/gpu/ccpr/
DGrCCAtlas.cpp107 bool GrCCAtlas::addRect(const SkIRect& devIBounds, SkIVector* offset) { in addRect() argument
112 if (!this->internalPlaceRect(devIBounds.width(), devIBounds.height(), &location)) { in addRect()
115 offset->set(location.x() - devIBounds.left(), location.y() - devIBounds.top()); in addRect()
117 fDrawBounds.fWidth = SkTMax(fDrawBounds.width(), location.x() + devIBounds.width()); in addRect()
118 fDrawBounds.fHeight = SkTMax(fDrawBounds.height(), location.y() + devIBounds.height()); in addRect()
213 GrCCAtlas* GrCCAtlasStack::addRect(const SkIRect& devIBounds, SkIVector* devToAtlasOffset) { in addRect() argument
215 if (fAtlases.empty() || !fAtlases.back().addRect(devIBounds, devToAtlasOffset)) { in addRect()
219 SkASSERT(devIBounds.width() <= fSpecs.fMinWidth); in addRect()
220 SkASSERT(devIBounds.height() <= fSpecs.fMinHeight); in addRect()
221 SkAssertResult(fAtlases.back().addRect(devIBounds, devToAtlasOffset)); in addRect()
DGrCCAtlas.h63 bool addRect(const SkIRect& devIBounds, SkIVector* atlasOffset);
136 GrCCAtlas* addRect(const SkIRect& devIBounds, SkIVector* devToAtlasOffset);
DGrCCPathCache.cpp355 const SkRect& devBounds, const SkRect& devBounds45, const SkIRect& devIBounds, in setCoverageCountAtlas() argument
368 fCachedAtlas->addPathPixels(devIBounds.height() * devIBounds.width()); in setCoverageCountAtlas()
375 fDevIBounds = devIBounds.makeOffset(-maskShift.fX, -maskShift.fY); in setCoverageCountAtlas()
DGrCCPerFlushResources.cpp214 if (GrCCAtlas* retiredAtlas = fCopyAtlasStack.addRect(entry->devIBounds(), &newAtlasOffset)) { in upgradeEntryToLiteralCoverageAtlas()
337 SkRect* devBounds, SkRect* devBounds45, SkIRect* devIBounds, SkIVector* devToAtlasOffset) { in renderShapeInAtlas() argument
362 devBounds->roundOut(devIBounds); in renderShapeInAtlas()
366 if (!this->placeRenderedPathInAtlas(clipIBounds, *devIBounds, &scissorTest, &clippedPathIBounds, in renderShapeInAtlas()
DGrCCDrawPathsOp.cpp365 SkIRect devIBounds; in setupResources() local
369 &devIBounds, &devToAtlasOffset)) { in setupResources()
379 devBounds45, devIBounds, fCachedMaskShift); in setupResources()
DGrCCPathCache.h220 const SkIRect& devIBounds() const { return fDevIBounds; } in devIBounds() function
234 const SkIRect& devIBounds, const SkIVector& maskShift);
DGrCCPerFlushResources.h84 SkIRect* devIBounds, SkIVector* devToAtlasOffset);
/external/skqp/src/gpu/ccpr/
DGrCCAtlas.cpp106 bool GrCCAtlas::addRect(const SkIRect& devIBounds, SkIVector* offset) { in addRect() argument
111 if (!this->internalPlaceRect(devIBounds.width(), devIBounds.height(), &location)) { in addRect()
114 offset->set(location.x() - devIBounds.left(), location.y() - devIBounds.top()); in addRect()
116 fDrawBounds.fWidth = SkTMax(fDrawBounds.width(), location.x() + devIBounds.width()); in addRect()
117 fDrawBounds.fHeight = SkTMax(fDrawBounds.height(), location.y() + devIBounds.height()); in addRect()
212 GrCCAtlas* GrCCAtlasStack::addRect(const SkIRect& devIBounds, SkIVector* devToAtlasOffset) { in addRect() argument
214 if (fAtlases.empty() || !fAtlases.back().addRect(devIBounds, devToAtlasOffset)) { in addRect()
218 SkASSERT(devIBounds.width() <= fSpecs.fMinWidth); in addRect()
219 SkASSERT(devIBounds.height() <= fSpecs.fMinHeight); in addRect()
220 SkAssertResult(fAtlases.back().addRect(devIBounds, devToAtlasOffset)); in addRect()
DGrCCAtlas.h63 bool addRect(const SkIRect& devIBounds, SkIVector* atlasOffset);
136 GrCCAtlas* addRect(const SkIRect& devIBounds, SkIVector* devToAtlasOffset);
DGrCCPathCache.cpp355 const SkRect& devBounds, const SkRect& devBounds45, const SkIRect& devIBounds, in setCoverageCountAtlas() argument
368 fCachedAtlas->addPathPixels(devIBounds.height() * devIBounds.width()); in setCoverageCountAtlas()
375 fDevIBounds = devIBounds.makeOffset(-maskShift.fX, -maskShift.fY); in setCoverageCountAtlas()
DGrCCPerFlushResources.cpp211 if (GrCCAtlas* retiredAtlas = fCopyAtlasStack.addRect(entry->devIBounds(), &newAtlasOffset)) { in upgradeEntryToLiteralCoverageAtlas()
334 SkRect* devBounds, SkRect* devBounds45, SkIRect* devIBounds, SkIVector* devToAtlasOffset) { in renderShapeInAtlas() argument
359 devBounds->roundOut(devIBounds); in renderShapeInAtlas()
363 if (!this->placeRenderedPathInAtlas(clipIBounds, *devIBounds, &scissorTest, &clippedPathIBounds, in renderShapeInAtlas()
DGrCCDrawPathsOp.cpp362 SkIRect devIBounds; in setupResources() local
366 &devIBounds, &devToAtlasOffset)) { in setupResources()
376 devBounds45, devIBounds, fCachedMaskShift); in setupResources()
DGrCCPathCache.h220 const SkIRect& devIBounds() const { return fDevIBounds; } in devIBounds() function
234 const SkIRect& devIBounds, const SkIVector& maskShift);
DGrCCPerFlushResources.h84 SkIRect* devIBounds, SkIVector* devToAtlasOffset);