Home
last modified time | relevance | path

Searched refs:shapeDevBounds (Results 1 – 6 of 6) sorted by relevance

/external/skia/src/gpu/
DGrSoftwarePathRenderer.cpp49 SkRect shapeDevBounds; in get_unclipped_shape_dev_bounds() local
50 matrix.mapRect(&shapeDevBounds, shapeBounds); in get_unclipped_shape_dev_bounds()
56 if (!shapeDevBounds.intersect(SkRect::MakeLTRB(INT32_MIN, INT32_MIN, kMaxInt, kMaxInt))) { in get_unclipped_shape_dev_bounds()
60 if (SkScalarRoundToInt(shapeDevBounds.width()) > kMaxInt || in get_unclipped_shape_dev_bounds()
61 SkScalarRoundToInt(shapeDevBounds.height()) > kMaxInt) { in get_unclipped_shape_dev_bounds()
64 shapeDevBounds.roundOut(devBounds); in get_unclipped_shape_dev_bounds()
DGrBlurUtils.cpp212 SkRect shapeDevBounds; in get_unclipped_shape_dev_bounds() local
213 matrix.mapRect(&shapeDevBounds, shapeBounds); in get_unclipped_shape_dev_bounds()
219 if (!shapeDevBounds.intersect(SkRect::MakeLTRB(INT32_MIN, INT32_MIN, kMaxInt, kMaxInt))) { in get_unclipped_shape_dev_bounds()
223 if (SkScalarRoundToInt(shapeDevBounds.width()) > kMaxInt || in get_unclipped_shape_dev_bounds()
224 SkScalarRoundToInt(shapeDevBounds.height()) > kMaxInt) { in get_unclipped_shape_dev_bounds()
227 shapeDevBounds.roundOut(devBounds); in get_unclipped_shape_dev_bounds()
/external/skqp/src/gpu/
DGrSoftwarePathRenderer.cpp47 SkRect shapeDevBounds; in get_unclipped_shape_dev_bounds() local
48 matrix.mapRect(&shapeDevBounds, shapeBounds); in get_unclipped_shape_dev_bounds()
54 if (!shapeDevBounds.intersect(SkRect::MakeLTRB(INT32_MIN, INT32_MIN, kMaxInt, kMaxInt))) { in get_unclipped_shape_dev_bounds()
58 if (SkScalarRoundToInt(shapeDevBounds.width()) > kMaxInt || in get_unclipped_shape_dev_bounds()
59 SkScalarRoundToInt(shapeDevBounds.height()) > kMaxInt) { in get_unclipped_shape_dev_bounds()
62 shapeDevBounds.roundOut(devBounds); in get_unclipped_shape_dev_bounds()
DGrBlurUtils.cpp212 SkRect shapeDevBounds; in get_unclipped_shape_dev_bounds() local
213 matrix.mapRect(&shapeDevBounds, shapeBounds); in get_unclipped_shape_dev_bounds()
219 if (!shapeDevBounds.intersect(SkRect::MakeLTRB(INT32_MIN, INT32_MIN, kMaxInt, kMaxInt))) { in get_unclipped_shape_dev_bounds()
223 if (SkScalarRoundToInt(shapeDevBounds.width()) > kMaxInt || in get_unclipped_shape_dev_bounds()
224 SkScalarRoundToInt(shapeDevBounds.height()) > kMaxInt) { in get_unclipped_shape_dev_bounds()
227 shapeDevBounds.roundOut(devBounds); in get_unclipped_shape_dev_bounds()
/external/skia/src/gpu/ops/
DGrSmallPathRenderer.cpp662 SkRect shapeDevBounds; in addBMPathToAtlas() local
663 drawMatrix.mapRect(&shapeDevBounds, bounds); in addBMPathToAtlas()
664 SkScalar dx = SkScalarFloorToScalar(shapeDevBounds.fLeft); in addBMPathToAtlas()
665 SkScalar dy = SkScalarFloorToScalar(shapeDevBounds.fTop); in addBMPathToAtlas()
669 shapeDevBounds.roundOut(&devPathBounds); in addBMPathToAtlas()
/external/skqp/src/gpu/ops/
DGrSmallPathRenderer.cpp663 SkRect shapeDevBounds; in addBMPathToAtlas() local
664 drawMatrix.mapRect(&shapeDevBounds, bounds); in addBMPathToAtlas()
665 SkScalar dx = SkScalarFloorToScalar(shapeDevBounds.fLeft); in addBMPathToAtlas()
666 SkScalar dy = SkScalarFloorToScalar(shapeDevBounds.fTop); in addBMPathToAtlas()
670 shapeDevBounds.roundOut(&devPathBounds); in addBMPathToAtlas()