Searched refs:kMaxEdges (Results 1 – 9 of 9) sorted by relevance
/external/skia/src/gpu/effects/ |
D | GrConvexPolyEffect.cpp | 36 SkScalar fPrevEdges[3 * GrConvexPolyEffect::kMaxEdges]; 118 SkScalar edges[3 * kMaxEdges]; in Make() 135 if (n >= kMaxEdges) { in Make() 186 SkASSERT(n <= kMaxEdges); in GrConvexPolyEffect() 219 int count = d->fRandom->nextULessThan(kMaxEdges) + 1; in TestCreate() 220 SkScalar edges[kMaxEdges * 3]; in TestCreate()
|
D | GrConvexPolyEffect.h | 27 kMaxEdges = 8, enumerator 43 if (n <= 0 || n > kMaxEdges || GrClipEdgeType::kHairlineAA == edgeType) { in Make() 84 SkScalar fEdges[3 * kMaxEdges];
|
/external/skqp/src/gpu/effects/ |
D | GrConvexPolyEffect.cpp | 36 SkScalar fPrevEdges[3 * GrConvexPolyEffect::kMaxEdges]; 117 SkScalar edges[3 * kMaxEdges]; in Make() 134 if (n >= kMaxEdges) { in Make() 185 SkASSERT(n <= kMaxEdges); in GrConvexPolyEffect() 218 int count = d->fRandom->nextULessThan(kMaxEdges) + 1; in TestCreate() 219 SkScalar edges[kMaxEdges * 3]; in TestCreate()
|
D | GrConvexPolyEffect.h | 27 kMaxEdges = 8, enumerator 43 if (n <= 0 || n > kMaxEdges || GrClipEdgeType::kHairlineAA == edgeType) { in Make() 84 SkScalar fEdges[3 * kMaxEdges];
|
/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/bench/ |
D | TopoSortBench.cpp | 36 int numEdges = fRand.nextU() % (kMaxEdges+1); in onDelayedSetup() 67 static const int kMaxEdges = 5; member in TopoSortBench
|
/external/skqp/bench/ |
D | TopoSortBench.cpp | 36 int numEdges = fRand.nextU() % (kMaxEdges+1); in onDelayedSetup() 67 static const int kMaxEdges = 5; member in TopoSortBench
|
/external/skqp/gm/ |
D | convexpolyeffect.cpp | 140 for (int i = 0; i < GrConvexPolyEffect::kMaxEdges; ++i) { in onOnceBeforeDraw() 141 SkScalar angle = 2 * SK_ScalarPI * i / GrConvexPolyEffect::kMaxEdges; in onOnceBeforeDraw()
|
/external/skia/gm/ |
D | convexpolyeffect.cpp | 146 for (int i = 0; i < GrConvexPolyEffect::kMaxEdges; ++i) { in onOnceBeforeDraw() 147 SkScalar angle = 2 * SK_ScalarPI * i / GrConvexPolyEffect::kMaxEdges; in onOnceBeforeDraw()
|