Home
last modified time | relevance | path

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

/external/skia/src/gpu/
DGrSoftwarePathRenderer.cpp91 const SkIRect& devPathBounds) { in DrawAroundInvPath() argument
98 if (devClipBounds.fTop < devPathBounds.fTop) { in DrawAroundInvPath()
100 devClipBounds.fRight, devPathBounds.fTop); in DrawAroundInvPath()
104 if (devClipBounds.fLeft < devPathBounds.fLeft) { in DrawAroundInvPath()
105 rect.iset(devClipBounds.fLeft, devPathBounds.fTop, in DrawAroundInvPath()
106 devPathBounds.fLeft, devPathBounds.fBottom); in DrawAroundInvPath()
110 if (devClipBounds.fRight > devPathBounds.fRight) { in DrawAroundInvPath()
111 rect.iset(devPathBounds.fRight, devPathBounds.fTop, in DrawAroundInvPath()
112 devClipBounds.fRight, devPathBounds.fBottom); in DrawAroundInvPath()
116 if (devClipBounds.fBottom > devPathBounds.fBottom) { in DrawAroundInvPath()
[all …]
DGrSoftwarePathRenderer.h38 const SkIRect& devPathBounds);
/external/skia/src/gpu/ops/
DGrSmallPathRenderer.cpp403 SkIRect devPathBounds; in addDFPathToAtlas() local
404 scaledBounds.roundOut(&devPathBounds); in addDFPathToAtlas()
408 int width = devPathBounds.width() + 2*intPad; in addDFPathToAtlas()
409 int height = devPathBounds.height() + 2*intPad; in addDFPathToAtlas()
410 devPathBounds = SkIRect::MakeWH(width, height); in addDFPathToAtlas()
417 SkASSERT(devPathBounds.fLeft == 0); in addDFPathToAtlas()
418 SkASSERT(devPathBounds.fTop == 0); in addDFPathToAtlas()
419 SkASSERT(devPathBounds.width() > 0); in addDFPathToAtlas()
420 SkASSERT(devPathBounds.height() > 0); in addDFPathToAtlas()
423 SkIRect dfBounds = devPathBounds.makeOutset(SK_DistanceFieldPad, SK_DistanceFieldPad); in addDFPathToAtlas()
[all …]