Searched refs:kMaxEdges (Results 1 – 4 of 4) sorted by relevance
/external/skia/src/gpu/effects/ |
D | GrConvexPolyEffect.h | 27 kMaxEdges = 8, enumerator 43 if (n <= 0 || n > kMaxEdges || kHairlineAA_GrProcessorEdgeType == edgeType) { in Create() 85 SkScalar fEdges[3 * kMaxEdges];
|
D | GrConvexPolyEffect.cpp | 196 SkScalar fPrevEdges[3 * GrConvexPolyEffect::kMaxEdges]; 275 if (path.countPoints() > kMaxEdges) { in Create() 279 SkPoint pts[kMaxEdges]; in Create() 280 SkScalar edges[3 * kMaxEdges]; in Create() 292 int count = path.getPoints(pts, kMaxEdges); in Create() 343 SkASSERT(n <= kMaxEdges); in GrConvexPolyEffect() 368 int count = random->nextULessThan(kMaxEdges) + 1; in TestCreate() 369 SkScalar edges[kMaxEdges * 3]; in TestCreate()
|
/external/compiler-rt/lib/sanitizer_common/tests/ |
D | sanitizer_bvgraph_test.cc | 309 const int kMaxEdges = 10; in RunAddEdgesTest() local 310 uptr added_edges[kMaxEdges]; in RunAddEdgesTest() 313 EXPECT_EQ(0U, g.addEdges(from, 0, added_edges, kMaxEdges)); in RunAddEdgesTest() 314 EXPECT_EQ(0U, g.addEdges(from, 1, added_edges, kMaxEdges)); in RunAddEdgesTest() 316 EXPECT_EQ(1U, g.addEdges(from, 1, added_edges, kMaxEdges)); in RunAddEdgesTest() 318 EXPECT_EQ(0U, g.addEdges(from, 1, added_edges, kMaxEdges)); in RunAddEdgesTest() 322 EXPECT_EQ(1U, g.addEdges(from, 4, added_edges, kMaxEdges)); in RunAddEdgesTest() 328 EXPECT_EQ(2U, g.addEdges(from, 4, added_edges, kMaxEdges)); in RunAddEdgesTest()
|
/external/skia/gm/ |
D | convexpolyeffect.cpp | 113 for (int i = 0; i < GrConvexPolyEffect::kMaxEdges; ++i) { in onOnceBeforeDraw() 114 SkScalar angle = 2 * SK_ScalarPI * i / GrConvexPolyEffect::kMaxEdges; in onOnceBeforeDraw()
|