Searched refs:gRects (Results 1 – 3 of 3) sorted by relevance
/external/skia/src/gpu/ |
D | GrTestUtils.cpp | 102 static SkRect gRects[7]; in TestRect() local 106 gRects[0] = SkRect::MakeWH(1.f, 1.f); in TestRect() 107 gRects[1] = SkRect::MakeWH(1.0f, 256.0f); in TestRect() 108 gRects[2] = SkRect::MakeWH(256.0f, 1.0f); in TestRect() 109 gRects[3] = SkRect::MakeLargest(); in TestRect() 110 gRects[4] = SkRect::MakeLTRB(-65535.0f, -65535.0f, 65535.0f, 65535.0f); in TestRect() 111 gRects[5] = SkRect::MakeLTRB(-10.0f, -10.0f, 10.0f, 10.0f); in TestRect() 113 return gRects[random->nextULessThan(static_cast<uint32_t>(SK_ARRAY_COUNT(gRects)))]; in TestRect() 118 static SkRect gRects[2]; in TestSquare() local 122 gRects[0] = SkRect::MakeWH(128.f, 128.f); in TestSquare() [all …]
|
/external/skia/gm/ |
D | strokerect.cpp | 72 static const SkRect gRects[] = { in onDraw() local 93 for (size_t j = 0; j < SK_ARRAY_COUNT(gRects); ++j) { in onDraw() 94 const SkRect& r = gRects[j]; in onDraw()
|
/external/skia/tests/ |
D | ClipStackTest.cpp | 131 static const SkRect gRects[] = { in test_iterators() local 138 for (size_t i = 0; i < SK_ARRAY_COUNT(gRects); i++) { in test_iterators() 140 stack.clipDevRect(gRects[i], SkRegion::kUnion_Op, false); in test_iterators() 154 REPORTER_ASSERT(reporter, element->getRect() == gRects[i]); in test_iterators() 169 REPORTER_ASSERT(reporter, element->getRect() == gRects[i]); in test_iterators() 183 REPORTER_ASSERT(reporter, element->getRect() == gRects[3]); in test_iterators() 1178 static const SkIRect gRects[] = { in DEF_TEST() local 1184 for (size_t i = 0; i < SK_ARRAY_COUNT(gRects); i++) { in DEF_TEST() 1185 stack.clipDevRect(gRects[i], SkRegion::kIntersect_Op); in DEF_TEST()
|