Home
last modified time | relevance | path

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

/third_party/skia/src/gpu/ops/
DSmallPathRenderer.cpp372 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 …]
DSoftwarePathRenderer.cpp164 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 …]
DSoftwarePathRenderer.h53 const SkIRect& devPathBounds);
/third_party/flutter/skia/src/gpu/
DGrSoftwarePathRenderer.cpp113 const SkIRect& devPathBounds) { in DrawAroundInvPath() argument
120 if (devClipBounds.fTop < devPathBounds.fTop) { in DrawAroundInvPath()
122 devClipBounds.fRight, devPathBounds.fTop); in DrawAroundInvPath()
126 if (devClipBounds.fLeft < devPathBounds.fLeft) { in DrawAroundInvPath()
127 rect.iset(devClipBounds.fLeft, devPathBounds.fTop, in DrawAroundInvPath()
128 devPathBounds.fLeft, devPathBounds.fBottom); in DrawAroundInvPath()
132 if (devClipBounds.fRight > devPathBounds.fRight) { in DrawAroundInvPath()
133 rect.iset(devPathBounds.fRight, devPathBounds.fTop, in DrawAroundInvPath()
134 devClipBounds.fRight, devPathBounds.fBottom); in DrawAroundInvPath()
138 if (devClipBounds.fBottom > devPathBounds.fBottom) { in DrawAroundInvPath()
[all …]
DGrSoftwarePathRenderer.h49 const SkIRect& devPathBounds);
/third_party/flutter/skia/src/gpu/ops/
DGrSmallPathRenderer.cpp542 SkIRect devPathBounds; in addDFPathToAtlas() local
543 scaledBounds.roundOut(&devPathBounds); in addDFPathToAtlas()
547 int width = devPathBounds.width() + 2*intPad; in addDFPathToAtlas()
548 int height = devPathBounds.height() + 2*intPad; in addDFPathToAtlas()
549 devPathBounds = SkIRect::MakeWH(width, height); in addDFPathToAtlas()
558 SkASSERT(devPathBounds.fLeft == 0); in addDFPathToAtlas()
559 SkASSERT(devPathBounds.fTop == 0); in addDFPathToAtlas()
560 SkASSERT(devPathBounds.width() > 0); in addDFPathToAtlas()
561 SkASSERT(devPathBounds.height() > 0); in addDFPathToAtlas()
564 SkIRect dfBounds = devPathBounds.makeOutset(SK_DistanceFieldPad, SK_DistanceFieldPad); in addDFPathToAtlas()
[all …]
/third_party/flutter/skia/src/core/
DSkDraw.h93 static bool ComputeMaskBounds(const SkRect& devPathBounds, const SkIRect* clipBounds,
DSkDraw.cpp1209 bool SkDraw::ComputeMaskBounds(const SkRect& devPathBounds, const SkIRect* clipBounds, in ComputeMaskBounds() argument
1213 *bounds = devPathBounds.makeOutset(SK_ScalarHalf, SK_ScalarHalf).roundOut(); in ComputeMaskBounds()
/third_party/skia/src/core/
DSkDraw.h91 static bool ComputeMaskBounds(const SkRect& devPathBounds, const SkIRect* clipBounds,
DSkDraw.cpp1207 bool SkDraw::ComputeMaskBounds(const SkRect& devPathBounds, const SkIRect* clipBounds, in ComputeMaskBounds() argument
1211 *bounds = devPathBounds.makeOutset(SK_ScalarHalf, SK_ScalarHalf).roundOut(); in ComputeMaskBounds()