Home
last modified time | relevance | path

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

/external/skia/src/gpu/tessellate/
DGrDrawAtlasPathOp.h19 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()
DGrTessellationPathRenderer.cpp258 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 …]
DGrTessellationPathRenderer.h68 const SkRect& devBounds, GrAAType, SkIRect* devIBounds,
/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);