/third_party/skia/src/gpu/ops/ |
D | AtlasPathRenderer.cpp | 173 SkIRect* devIBounds, in addPathToAtlas() argument 179 pathDevBounds.roundOut(devIBounds); in addPathToAtlas() 184 SkASSERT(skvx::all(skvx::cast<float>(int2::Load(&devIBounds->fLeft)) == topLeftFloor)); in addPathToAtlas() 185 SkASSERT(skvx::all(skvx::cast<float>(int2::Load(&devIBounds->fRight)) == botRightCeil)); in addPathToAtlas() 188 int widthInAtlas = devIBounds->width(); in addPathToAtlas() 189 int heightInAtlas = devIBounds->height(); in addPathToAtlas() 220 !fAtlasRenderTasks.back()->addPath(viewMatrix, path, devIBounds->topLeft(), widthInAtlas, in addPathToAtlas() 241 SkAssertResult(newAtlasTask->addPath(viewMatrix, path, devIBounds->topLeft(), widthInAtlas, in addPathToAtlas() 300 SkIRect devIBounds; in onDrawPath() local 304 &devIBounds, &locationInAtlas, &transposedInAtlas, in onDrawPath() [all …]
|
D | AtlasPathRenderer.h | 83 SkIRect* devIBounds,
|
/third_party/flutter/skia/tests/ |
D | OctoBoundsTest.cpp | 140 SkIRect devIBounds; in test_octagon() local 141 octoBounds.roundOut(&devIBounds); in test_octagon() 144 bool clipSuccess = octoBounds.clip(devIBounds); in test_octagon() 148 validate_octo_bounds(reporter, devIBounds, octoBounds); in test_octagon() 154 clipRect.fLeft = next_range_i(rand, devIBounds.left(), devIBounds.right() - 1); in test_octagon() 155 clipRect.fTop = next_range_i(rand, devIBounds.top(), devIBounds.bottom() - 1); in test_octagon() 156 clipRect.fRight = next_range_i(rand, clipRect.left() + 1, devIBounds.right()); in test_octagon() 157 clipRect.fBottom = next_range_i(rand, clipRect.top() + 1, devIBounds.bottom()); in test_octagon() 158 } while (clipRect == devIBounds); in test_octagon()
|
/third_party/flutter/skia/src/gpu/ccpr/ |
D | GrCCAtlas.cpp | 136 bool GrCCAtlas::addRect(const SkIRect& devIBounds, SkIVector* offset) { in addRect() argument 141 if (!this->internalPlaceRect(devIBounds.width(), devIBounds.height(), &location)) { in addRect() 144 offset->set(location.x() - devIBounds.left(), location.y() - devIBounds.top()); in addRect() 146 fDrawBounds.fWidth = SkTMax(fDrawBounds.width(), location.x() + devIBounds.width()); in addRect() 147 fDrawBounds.fHeight = SkTMax(fDrawBounds.height(), location.y() + devIBounds.height()); in addRect() 258 GrCCAtlas* GrCCAtlasStack::addRect(const SkIRect& devIBounds, SkIVector* devToAtlasOffset) { in addRect() argument 260 if (fAtlases.empty() || !fAtlases.back().addRect(devIBounds, devToAtlasOffset)) { in addRect() 264 SkASSERT(devIBounds.width() <= fSpecs.fMinWidth); in addRect() 265 SkASSERT(devIBounds.height() <= fSpecs.fMinHeight); in addRect() 266 SkAssertResult(fAtlases.back().addRect(devIBounds, devToAtlasOffset)); in addRect()
|
D | GrCCPerFlushResources.cpp | 247 if (GrCCAtlas* retiredAtlas = fCopyAtlasStack.addRect(entry->devIBounds(), &newAtlasOffset)) { in upgradeEntryToLiteralCoverageAtlas() 372 GrOctoBounds* octoBounds, SkIRect* devIBounds, SkIVector* devToAtlasOffset) { in renderShapeInAtlas() argument 408 octoBounds->roundOut(devIBounds); in renderShapeInAtlas() 409 SkASSERT(clipIBounds.contains(*devIBounds)); in renderShapeInAtlas() 411 this->placeRenderedPathInAtlas(*devIBounds, enableScissorInAtlas, devToAtlasOffset); in renderShapeInAtlas() 417 *devIBounds, *devToAtlasOffset); in renderShapeInAtlas() 425 *devIBounds, *devToAtlasOffset); in renderShapeInAtlas() 430 this->recordStencilResolveInstance(*devIBounds, *devToAtlasOffset, fillRule); in renderShapeInAtlas()
|
D | GrCCPathCache.cpp | 358 const GrOctoBounds& octoBounds, const SkIRect& devIBounds, const SkIVector& maskShift) { in setCoverageCountAtlas() argument 370 fCachedAtlas->addPathPixels(devIBounds.height() * devIBounds.width()); in setCoverageCountAtlas() 375 fDevIBounds = devIBounds.makeOffset(-maskShift.fX, -maskShift.fY); in setCoverageCountAtlas()
|
D | GrCCAtlas.h | 82 bool addRect(const SkIRect& devIBounds, SkIVector* atlasOffset); 159 GrCCAtlas* addRect(const SkIRect& devIBounds, SkIVector* devToAtlasOffset);
|
D | GrCCDrawPathsOp.cpp | 383 SkIRect devIBounds; in setupResources() local 386 fMaskDevIBounds, fMatrix, fShape, fStrokeDevWidth, &octoBounds, &devIBounds, in setupResources() 399 onFlushRP, atlas, devToAtlasOffset, octoBounds, devIBounds, fCachedMaskShift); in setupResources()
|
D | GrCCPathCache.h | 220 const SkIRect& devIBounds() const { return fDevIBounds; } in devIBounds() function 234 const GrOctoBounds& octoBounds, const SkIRect& devIBounds, const SkIVector& maskShift);
|
D | GrCCPerFlushResources.h | 91 GrOctoBounds*, SkIRect* devIBounds, SkIVector* devToAtlasOffset);
|
/third_party/skia/src/gpu/effects/ |
D | GrModulateAtlasCoverageEffect.cpp | 18 const SkIRect& devIBounds) in GrModulateAtlasCoverageEffect() argument 22 , fBounds((fFlags & Flags::kCheckBounds) ? devIBounds : SkIRect{0,0,0,0}) { in GrModulateAtlasCoverageEffect()
|
D | GrModulateAtlasCoverageEffect.h | 26 const SkIRect& devIBounds);
|