/external/skia/src/gpu/ccpr/ |
D | GrCCAtlas.cpp | 107 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()
|
D | GrCCAtlas.h | 63 bool addRect(const SkIRect& devIBounds, SkIVector* atlasOffset); 136 GrCCAtlas* addRect(const SkIRect& devIBounds, SkIVector* devToAtlasOffset);
|
D | GrCCPathCache.cpp | 355 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()
|
D | GrCCPerFlushResources.cpp | 214 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()
|
D | GrCCDrawPathsOp.cpp | 365 SkIRect devIBounds; in setupResources() local 369 &devIBounds, &devToAtlasOffset)) { in setupResources() 379 devBounds45, devIBounds, fCachedMaskShift); in setupResources()
|
D | GrCCPathCache.h | 220 const SkIRect& devIBounds() const { return fDevIBounds; } in devIBounds() function 234 const SkIRect& devIBounds, const SkIVector& maskShift);
|
D | GrCCPerFlushResources.h | 84 SkIRect* devIBounds, SkIVector* devToAtlasOffset);
|
/external/skqp/src/gpu/ccpr/ |
D | GrCCAtlas.cpp | 106 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()
|
D | GrCCAtlas.h | 63 bool addRect(const SkIRect& devIBounds, SkIVector* atlasOffset); 136 GrCCAtlas* addRect(const SkIRect& devIBounds, SkIVector* devToAtlasOffset);
|
D | GrCCPathCache.cpp | 355 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()
|
D | GrCCPerFlushResources.cpp | 211 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()
|
D | GrCCDrawPathsOp.cpp | 362 SkIRect devIBounds; in setupResources() local 366 &devIBounds, &devToAtlasOffset)) { in setupResources() 376 devBounds45, devIBounds, fCachedMaskShift); in setupResources()
|
D | GrCCPathCache.h | 220 const SkIRect& devIBounds() const { return fDevIBounds; } in devIBounds() function 234 const SkIRect& devIBounds, const SkIVector& maskShift);
|
D | GrCCPerFlushResources.h | 84 SkIRect* devIBounds, SkIVector* devToAtlasOffset);
|