Searched refs:devPathBounds (Results 1 – 5 of 5) sorted by relevance
/external/skia/src/gpu/ops/ |
D | SmallPathRenderer.cpp | 372 SkIRect devPathBounds; in addDFPathToAtlas() local 373 scaledBounds.roundOut(&devPathBounds); in addDFPathToAtlas() 375 int width = devPathBounds.width() + 2 * kAntiAliasPad; in addDFPathToAtlas() 376 int height = devPathBounds.height() + 2 * kAntiAliasPad; in addDFPathToAtlas() 377 devPathBounds = SkIRect::MakeWH(width, height); in addDFPathToAtlas() 386 SkASSERT(devPathBounds.fLeft == 0); in addDFPathToAtlas() 387 SkASSERT(devPathBounds.fTop == 0); in addDFPathToAtlas() 388 SkASSERT(devPathBounds.width() > 0); in addDFPathToAtlas() 389 SkASSERT(devPathBounds.height() > 0); in addDFPathToAtlas() 392 SkIRect dfBounds = devPathBounds.makeOutset(SK_DistanceFieldPad, SK_DistanceFieldPad); in addDFPathToAtlas() [all …]
|
D | SoftwarePathRenderer.cpp | 164 const SkIRect& devPathBounds) { in DrawAroundInvPath() argument 171 if (devClipBounds.fTop < devPathBounds.fTop) { in DrawAroundInvPath() 173 SkIntToScalar(devClipBounds.fRight), SkIntToScalar(devPathBounds.fTop)); in DrawAroundInvPath() 177 if (devClipBounds.fLeft < devPathBounds.fLeft) { in DrawAroundInvPath() 178 rect.setLTRB(SkIntToScalar(devClipBounds.fLeft), SkIntToScalar(devPathBounds.fTop), in DrawAroundInvPath() 179 SkIntToScalar(devPathBounds.fLeft), SkIntToScalar(devPathBounds.fBottom)); in DrawAroundInvPath() 183 if (devClipBounds.fRight > devPathBounds.fRight) { in DrawAroundInvPath() 184 rect.setLTRB(SkIntToScalar(devPathBounds.fRight), SkIntToScalar(devPathBounds.fTop), in DrawAroundInvPath() 185 SkIntToScalar(devClipBounds.fRight), SkIntToScalar(devPathBounds.fBottom)); in DrawAroundInvPath() 189 if (devClipBounds.fBottom > devPathBounds.fBottom) { in DrawAroundInvPath() [all …]
|
D | SoftwarePathRenderer.h | 53 const SkIRect& devPathBounds);
|
/external/skia/src/core/ |
D | SkDraw.h | 87 static bool ComputeMaskBounds(const SkRect& devPathBounds, const SkIRect& clipBounds,
|
D | SkDraw.cpp | 1216 bool SkDraw::ComputeMaskBounds(const SkRect& devPathBounds, const SkIRect& clipBounds, in ComputeMaskBounds() argument 1220 *bounds = devPathBounds.makeOutset(SK_ScalarHalf, SK_ScalarHalf).roundOut(); in ComputeMaskBounds()
|