Home
last modified time | relevance | path

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

/external/skia/src/gpu/
DGrSoftwarePathRenderer.cpp35 SkIRect* devPathBounds, in get_path_and_clip_bounds() argument
46 *devPathBounds = SkIRect::MakeWH(rt->width(), rt->height()); in get_path_and_clip_bounds()
55 *devPathBounds = *devClipBounds; in get_path_and_clip_bounds()
56 if (!devPathBounds->intersect(pathIBounds)) { in get_path_and_clip_bounds()
58 *devPathBounds = pathIBounds; in get_path_and_clip_bounds()
62 *devPathBounds = SkIRect::EmptyIRect(); in get_path_and_clip_bounds()
85 const SkIRect& devPathBounds) { in draw_around_inv_path() argument
92 if (devClipBounds.fTop < devPathBounds.fTop) { in draw_around_inv_path()
94 devClipBounds.fRight, devPathBounds.fTop); in draw_around_inv_path()
97 if (devClipBounds.fLeft < devPathBounds.fLeft) { in draw_around_inv_path()
[all …]
/external/skia/src/gpu/batches/
DGrAADistanceFieldPathRenderer.cpp343 SkIRect devPathBounds; in addPathToAtlas() local
344 scaledBounds.roundOut(&devPathBounds); in addPathToAtlas()
348 int width = devPathBounds.width(); in addPathToAtlas()
349 int height = devPathBounds.height(); in addPathToAtlas()
350 devPathBounds.fLeft = intPad; in addPathToAtlas()
351 devPathBounds.fTop = intPad; in addPathToAtlas()
352 devPathBounds.fRight = intPad + width; in addPathToAtlas()
353 devPathBounds.fBottom = intPad + height; in addPathToAtlas()
354 devPathBounds.outset(intPad, intPad); in addPathToAtlas()
363 SkASSERT(devPathBounds.fLeft == 0); in addPathToAtlas()
[all …]