Home
last modified time | relevance | path

Searched refs:isConvex (Results 1 – 25 of 29) sorted by relevance

12

/external/skia/tools/lua/
Dpaths.lua83 if path:isConvex() then
100 if path:isConvex() then
/external/skia/bench/
DAAClipBench.cpp42 SkASSERT(fClipPath.isConvex()); in AAClipBench()
58 SkASSERT(fClipPath.isConvex()); in onDraw()
131 SkASSERT(path.isConvex()); in recurse()
DPathBench.cpp775 SkASSERT(path->isConvex()); in make_arb_round_rect()
/external/skia/src/core/
DSkPictureCommon.h107 if (op.paint.isAntiAlias() && !op.path.isConvex()) { in operator()
124 if (op.opAA.aa() && !op.path.isConvex()) { in operator()
DSkPictureContentInfo.cpp59 if (paint.isAntiAlias() && !path.isConvex()) { in onDrawPath()
DSkScan_Path.cpp402 const bool canCullToTheRight = !path.isConvex(); in sk_fill_path()
470 if (path.isConvex() && (nullptr == proc)) { in sk_fill_path()
DSkScan_AAAPath.cpp1598 const bool canCullToTheRight = !path.isConvex(); in aaa_fill_path()
1674 if (!path.isInverseFillType() && path.isConvex()) { in aaa_fill_path()
1811 } else if (!isInverse && path.isConvex()) { in AAAFillPath()
/external/skia/gm/
Ddstreadshuffle.cpp62 SkASSERT(fConvexPath.isConvex()); in drawShape()
79 SkASSERT(!fConcavePath.isConvex()); in drawShape()
Dconvexpaths.cpp281 SkASSERT(fPaths[i].isConvex()); in onDraw()
Dconvex_all_line_paths.cpp247 SkASSERT(path.isConvex()); in GetPath()
/external/skia/include/core/
DSkPath.h159 bool isConvex() const { in isConvex() function
170 void setIsConvex(bool isConvex) { in setIsConvex() argument
171 this->setConvexity(isConvex ? kConvex_Convexity : kConcave_Convexity); in setIsConvex()
/external/skia/src/pathops/
DSkOpBuilder.cpp140 if (test->isConvex()) { in resolve()
DSkPathOpsSimplify.cpp141 if (path.isConvex()) { in SimplifyDebug()
/external/skia/example/
DSkiaSDLExample.cpp97 SkASSERT(!concavePath.isConvex()); in create_star()
/external/skia/src/gpu/ops/
DGrAAConvexTessellator.h167 SkDEBUGCODE(bool isConvex(const GrAAConvexTessellator& tess) const;)
DGrAAConvexTessellator.cpp866 bool GrAAConvexTessellator::Ring::isConvex(const GrAAConvexTessellator& tess) const { in isConvex() function in GrAAConvexTessellator::Ring
/external/skia/src/effects/shadows/
DSkAmbientShadowMaskFilter.cpp157 if (!path.isConvex()) { in directFilterMaskGPU()
DSkSpotShadowMaskFilter.cpp174 if (!path.isConvex()) { in directFilterMaskGPU()
/external/skia/tests/
DPathTest.cpp49 REPORTER_ASSERT(reporter, !path.isConvex()); in test_skbug_3469()
563 bool smallConvex = smallPath.isConvex(); in test_tiny_path_convexity()
571 bool largeConvex = largePath.isConvex(); in test_tiny_path_convexity()
881 REPORTER_ASSERT(reporter, temp.isConvex()); in test_arb_round_rect_is_convex()
1521 REPORTER_ASSERT(reporter, p.isConvex()); in check_convex_bounds()
1525 REPORTER_ASSERT(reporter, p2.isConvex()); in check_convex_bounds()
1530 REPORTER_ASSERT(reporter, other.isConvex()); in check_convex_bounds()
3576 REPORTER_ASSERT(reporter, p.isConvex()); in test_empty()
3585 REPORTER_ASSERT(reporter, path->isConvex()); in test_rrect_is_convex()
3588 REPORTER_ASSERT(reporter, path->isConvex()); in test_rrect_is_convex()
[all …]
DPictureTest.cpp193 REPORTER_ASSERT(reporter, !path.isConvex()); in test_gpu_veto()
215 REPORTER_ASSERT(reporter, !path.isConvex()); in test_gpu_veto()
237 REPORTER_ASSERT(reporter, !path.isConvex()); in test_gpu_veto()
DGrShapeTest.cpp451 (shape.style().isSimpleFill() && path.isConvex()); in can_interchange_winding_and_even_odd_fill()
544 REPORTER_ASSERT(r, pathA.isConvex()); in check_equivalence()
547 REPORTER_ASSERT(r, pathB.isConvex()); in check_equivalence()
/external/skia/src/gpu/
DGrShape.h242 this->path().isConvex(); in knownToBeConvex()
DGrShape.cpp428 } else if (this->path().isConvex()) { in attemptToSimplifyPath()
/external/skia/src/gpu/effects/
DGrConvexPolyEffect.cpp244 !path.isConvex()) { in Make()
/external/skia/src/utils/
DSkLua.cpp1400 bool isConvex = SkPath::kConvex_Convexity == get_obj<SkPath>(L, 1)->getConvexity(); in lpath_isConvex() local
1401 SkLua(L).pushBool(isConvex); in lpath_isConvex()

12