Home
last modified time | relevance | path

Searched refs:pathBounds (Results 1 – 17 of 17) sorted by relevance

/external/skqp/src/core/
DSkPictureCommon.h52 const SkRect& pathBounds = op.path.getBounds(); in operator() local
56 } else if (SkPaint::kFill_Style == paintStyle && pathBounds.width() < 64.f && in operator()
57 pathBounds.height() < 64.f && !op.path.isVolatile()) { in operator()
DSkGlyphCache.cpp333 const SkRect& pathBounds = path->getBounds(); in findIntercepts() local
334 if (*(&pathBounds.fBottom - yAxis) < bounds[0] || bounds[1] < *(&pathBounds.fTop - yAxis)) { in findIntercepts()
DSkDraw.cpp960 SkRect pathBounds = devPath.getBounds().makeOutset(1, 1); in drawDevPath() local
963 as_MFB(paint.getMaskFilter())->computeFastBounds(pathBounds, &pathBounds); in drawDevPath()
967 pathBounds.outset(7, 7); in drawDevPath()
971 if (!SkRect::Make(fRC->getBounds()).intersects(pathBounds)) { in drawDevPath()
DSkCanvas.cpp1945 const SkRect& pathBounds = path.getBounds(); in onDrawShadowRec() local
1947 LOOPER_BEGIN(paint, SkDrawFilter::kPath_Type, &pathBounds) in onDrawShadowRec()
2151 const SkRect& pathBounds = path.getBounds(); in onDrawPath() local
2154 if (this->quickReject(paint.computeFastBounds(pathBounds, &storage))) { in onDrawPath()
2159 if (pathBounds.width() <= 0 && pathBounds.height() <= 0) { in onDrawPath()
2166 LOOPER_BEGIN(paint, SkDrawFilter::kPath_Type, &pathBounds) in onDrawPath()
/external/skia/src/core/
DSkPictureCommon.h52 const SkRect& pathBounds = op.path.getBounds(); in operator() local
56 } else if (SkPaint::kFill_Style == paintStyle && pathBounds.width() < 64.f && in operator()
57 pathBounds.height() < 64.f && !op.path.isVolatile()) { in operator()
DSkGlyphCache.cpp333 const SkRect& pathBounds = path->getBounds(); in findIntercepts() local
334 if (*(&pathBounds.fBottom - yAxis) < bounds[0] || bounds[1] < *(&pathBounds.fTop - yAxis)) { in findIntercepts()
DSkCanvas.cpp1968 const SkRect& pathBounds = path.getBounds(); in onDrawShadowRec() local
1970 LOOPER_BEGIN(paint, SkDrawFilter::kPath_Type, &pathBounds) in onDrawShadowRec()
2177 const SkRect& pathBounds = path.getBounds(); in onDrawPath() local
2180 if (this->quickReject(paint.computeFastBounds(pathBounds, &storage))) { in onDrawPath()
2185 if (pathBounds.width() <= 0 && pathBounds.height() <= 0) { in onDrawPath()
2192 LOOPER_BEGIN(paint, SkDrawFilter::kPath_Type, &pathBounds) in onDrawPath()
/external/skqp/src/gpu/
DGrDistanceFieldGenFromVector.cpp747 SkDEBUGCODE(SkIRect pathBounds = xformPath.getBounds().roundOut()); in GrGenerateDistanceFieldFromPath()
751 expectPathBounds.contains(pathBounds.x(), pathBounds.y())); in GrGenerateDistanceFieldFromPath()
752 SkASSERT(expectPathBounds.isEmpty() || pathBounds.isEmpty() || in GrGenerateDistanceFieldFromPath()
753 expectPathBounds.contains(pathBounds)); in GrGenerateDistanceFieldFromPath()
769 SkDEBUGCODE(pathBounds = workingPath.getBounds().roundOut()); in GrGenerateDistanceFieldFromPath()
771 expectPathBounds.contains(pathBounds.x(), pathBounds.y())); in GrGenerateDistanceFieldFromPath()
772 SkASSERT(expectPathBounds.isEmpty() || pathBounds.isEmpty() || in GrGenerateDistanceFieldFromPath()
773 expectPathBounds.contains(pathBounds)); in GrGenerateDistanceFieldFromPath()
DGrPathUtils.cpp18 const SkRect& pathBounds) { in scaleToleranceToSrc() argument
28 mat.setTranslate((i % 2) ? pathBounds.fLeft : pathBounds.fRight, in scaleToleranceToSrc()
29 (i < 2) ? pathBounds.fTop : pathBounds.fBottom); in scaleToleranceToSrc()
DGrPathUtils.h26 const SkRect& pathBounds);
DGrTessellator.cpp2184 const SkRect& pathBounds, bool antialias, VertexList* outerMesh, in contours_to_polys() argument
2186 Comparator c(pathBounds.width() > pathBounds.height() ? Comparator::Direction::kHorizontal in contours_to_polys()
/external/skia/src/gpu/
DGrDistanceFieldGenFromVector.cpp747 SkDEBUGCODE(SkIRect pathBounds = xformPath.getBounds().roundOut()); in GrGenerateDistanceFieldFromPath()
751 expectPathBounds.contains(pathBounds.x(), pathBounds.y())); in GrGenerateDistanceFieldFromPath()
752 SkASSERT(expectPathBounds.isEmpty() || pathBounds.isEmpty() || in GrGenerateDistanceFieldFromPath()
753 expectPathBounds.contains(pathBounds)); in GrGenerateDistanceFieldFromPath()
769 SkDEBUGCODE(pathBounds = workingPath.getBounds().roundOut()); in GrGenerateDistanceFieldFromPath()
771 expectPathBounds.contains(pathBounds.x(), pathBounds.y())); in GrGenerateDistanceFieldFromPath()
772 SkASSERT(expectPathBounds.isEmpty() || pathBounds.isEmpty() || in GrGenerateDistanceFieldFromPath()
773 expectPathBounds.contains(pathBounds)); in GrGenerateDistanceFieldFromPath()
DGrPathUtils.cpp18 const SkRect& pathBounds) { in scaleToleranceToSrc() argument
28 mat.setTranslate((i % 2) ? pathBounds.fLeft : pathBounds.fRight, in scaleToleranceToSrc()
29 (i < 2) ? pathBounds.fTop : pathBounds.fBottom); in scaleToleranceToSrc()
DGrPathUtils.h26 const SkRect& pathBounds);
DGrTessellator.cpp2184 const SkRect& pathBounds, bool antialias, VertexList* outerMesh, in contours_to_polys() argument
2186 Comparator c(pathBounds.width() > pathBounds.height() ? Comparator::Direction::kHorizontal in contours_to_polys()
/external/skqp/tests/
DParsePathTest.cpp50 const SkRect& pathBounds = path.getBounds(); in DEF_TEST() local
51 REPORTER_ASSERT(reporter, expectedBounds == pathBounds); in DEF_TEST()
/external/skia/tests/
DParsePathTest.cpp50 const SkRect& pathBounds = path.getBounds(); in DEF_TEST() local
51 REPORTER_ASSERT(reporter, expectedBounds == pathBounds); in DEF_TEST()