/external/skia/src/gpu/tessellate/ |
D | GrDrawAtlasPathOp.h | 19 const SkIRect& devIBounds, const SkIPoint16& locationInAtlas, in GrDrawAtlasPathOp() argument 24 , fInstanceList(devIBounds, locationInAtlas, transposedInAtlas, paint.getColor4f(), in GrDrawAtlasPathOp() 27 this->setBounds(SkRect::Make(devIBounds), HasAABloat::kYes, IsHairline::kNo); in GrDrawAtlasPathOp() 59 Instance(const SkIRect& devIBounds, const SkIPoint16& locationInAtlas, in Instance() 61 : fDevXYWH{devIBounds.left(), devIBounds.top(), devIBounds.width(), in Instance() 63 (transposedInAtlas) ? -devIBounds.height() : devIBounds.height()} in Instance() 77 InstanceList(const SkIRect& devIBounds, const SkIPoint16& locationInAtlas, in InstanceList() 79 : fInstance(devIBounds, locationInAtlas, transposedInAtlas, color, viewMatrix) { in InstanceList()
|
D | GrTessellationPathRenderer.cpp | 258 SkIRect devIBounds; in onDrawPath() local 262 devBounds, args.fAAType, &devIBounds, &locationInAtlas, in onDrawPath() 272 devIBounds.width(), in onDrawPath() 273 devIBounds.height()); in onDrawPath() 280 devIBounds, locationInAtlas, transposedInAtlas, *args.fViewMatrix, in onDrawPath() 295 const SkRect& devBounds, GrAAType aaType, SkIRect* devIBounds, SkIPoint16* locationInAtlas, in tryAddPathToAtlas() argument 320 devBounds.roundOut(devIBounds); in tryAddPathToAtlas() 321 int maxDimenstion = devIBounds->width(); in tryAddPathToAtlas() 322 int minDimension = devIBounds->height(); in tryAddPathToAtlas() 344 atlasMatrix.setTranslateX(ty - devIBounds->y() + locationInAtlas->x()); in tryAddPathToAtlas() [all …]
|
D | GrTessellationPathRenderer.h | 68 const SkRect& devBounds, GrAAType, SkIRect* devIBounds,
|
/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);
|