Home
last modified time | relevance | path

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

12

/external/skia/tools/lua/
Dpaths.lua83 if path:isConvex() then
100 if path:isConvex() then
Dcount_reduced_clipstacks.lua26 if (element["path"]:getSegmentTypes() == "line" and element["path"]:isConvex()) then
31 info = info .. ", convex:" .. tostring(element["path"]:isConvex())
Ddump_clipstack_at_restore.lua22 io.write(", convex:", tostring(element["path"]:isConvex()))
/external/skia/bench/
DAAClipBench.cpp41 SkASSERT(fClipPath.isConvex()); in AAClipBench()
57 SkASSERT(fClipPath.isConvex()); in onDraw()
130 SkASSERT(path.isConvex()); in recurse()
DPathBench.cpp688 SkASSERT(path->isConvex()); in make_arb_round_rect()
/external/skia/gm/
Ddstreadshuffle.cpp67 SkASSERT(fConvexPath.isConvex()); in drawShape()
84 SkASSERT(!fConcavePath.isConvex()); in drawShape()
Dconvex_all_line_paths.cpp239 SkASSERT(path.isConvex()); in GetPath()
Dconvexpaths.cpp282 SkASSERT(fPaths[i].isConvex()); in onDraw()
/external/skia/include/core/
DSkPath.h150 bool isConvex() const { in isConvex() function
161 void setIsConvex(bool isConvex) { in setIsConvex() argument
162 this->setConvexity(isConvex ? kConvex_Convexity : kConcave_Convexity); in setIsConvex()
/external/skia/src/core/
DSkPictureCommon.h123 if (op.paint.isAntiAlias() && !op.path.isConvex()) { in operator()
DSkPictureContentInfo.cpp59 if (paint.isAntiAlias() && !path.isConvex()) { in onDrawPath()
DSkScan_Path.cpp436 const bool canCullToTheRight = !path.isConvex(); in sk_fill_path()
503 if (path.isConvex() && (nullptr == proc)) { in sk_fill_path()
/external/skia/src/pathops/
DSkOpBuilder.cpp117 if (test->isConvex()) { in resolve()
DSkPathOpsSimplify.cpp172 if (path.isConvex()) { in Simplify()
/external/skia/example/
DSkiaSDLExample.cpp97 SkASSERT(!concavePath.isConvex()); in create_star()
/external/skia/src/gpu/batches/
DGrAAConvexTessellator.h157 SkDEBUGCODE(bool isConvex(const GrAAConvexTessellator& tess) const;)
DGrTessellatingPathRenderer.cpp72 !args.fAntiAlias && !args.fPath->isConvex(); in onCanDrawPath()
DGrAALinearizingConvexPathRenderer.cpp47 if (!args.fPath->isConvex()) { in onCanDrawPath()
DGrDefaultPathRenderer.cpp166 return path.isConvex(); in single_pass_path()
DGrAAConvexPathRenderer.cpp687 args.fPath->isConvex()); in onCanDrawPath()
/external/skia/tests/
DPathTest.cpp48 REPORTER_ASSERT(reporter, !path.isConvex()); in test_skbug_3469()
429 bool smallConvex = smallPath.isConvex(); in test_tiny_path_convexity()
437 bool largeConvex = largePath.isConvex(); in test_tiny_path_convexity()
725 REPORTER_ASSERT(reporter, temp.isConvex()); in test_arb_round_rect_is_convex()
1365 REPORTER_ASSERT(reporter, p.isConvex()); in check_convex_bounds()
1369 REPORTER_ASSERT(reporter, p2.isConvex()); in check_convex_bounds()
1374 REPORTER_ASSERT(reporter, other.isConvex()); in check_convex_bounds()
3165 REPORTER_ASSERT(reporter, p.isConvex()); in test_empty()
3174 REPORTER_ASSERT(reporter, path->isConvex()); in test_rrect_is_convex()
3177 REPORTER_ASSERT(reporter, path->isConvex()); in test_rrect_is_convex()
[all …]
DPictureTest.cpp176 REPORTER_ASSERT(reporter, !path.isConvex()); in test_gpu_veto()
198 REPORTER_ASSERT(reporter, !path.isConvex()); in test_gpu_veto()
220 REPORTER_ASSERT(reporter, !path.isConvex()); in test_gpu_veto()
/external/skia/src/gpu/effects/
DGrConvexPolyEffect.cpp245 !path.isConvex()) { in Create()
/external/skia/src/gpu/
DGrDrawContext.cpp687 if (strokeInfo.getWidth() < 0 && !path.isConvex()) { in drawPath()
/external/skia/src/utils/
DSkLua.cpp1532 bool isConvex = SkPath::kConvex_Convexity == get_obj<SkPath>(L, 1)->getConvexity(); in lpath_isConvex() local
1533 SkLua(L).pushBool(isConvex); in lpath_isConvex()

12