Searched refs:gRects (Results 1 – 6 of 6) sorted by relevance
/external/skqp/src/gpu/ |
D | GrTestUtils.cpp | 121 static SkRect gRects[7]; in TestRect() local 125 gRects[0] = SkRect::MakeWH(1.f, 1.f); in TestRect() 126 gRects[1] = SkRect::MakeWH(1.0f, 256.0f); in TestRect() 127 gRects[2] = SkRect::MakeWH(256.0f, 1.0f); in TestRect() 128 gRects[3] = SkRectPriv::MakeLargest(); in TestRect() 129 gRects[4] = SkRect::MakeLTRB(-65535.0f, -65535.0f, 65535.0f, 65535.0f); in TestRect() 130 gRects[5] = SkRect::MakeLTRB(-10.0f, -10.0f, 10.0f, 10.0f); in TestRect() 132 return gRects[random->nextULessThan(static_cast<uint32_t>(SK_ARRAY_COUNT(gRects)))]; in TestRect() 137 static SkRect gRects[2]; in TestSquare() local 141 gRects[0] = SkRect::MakeWH(128.f, 128.f); in TestSquare() [all …]
|
/external/skia/src/gpu/ |
D | GrTestUtils.cpp | 123 static SkRect gRects[7]; in TestRect() local 127 gRects[0] = SkRect::MakeWH(1.f, 1.f); in TestRect() 128 gRects[1] = SkRect::MakeWH(1.0f, 256.0f); in TestRect() 129 gRects[2] = SkRect::MakeWH(256.0f, 1.0f); in TestRect() 130 gRects[3] = SkRectPriv::MakeLargest(); in TestRect() 131 gRects[4] = SkRect::MakeLTRB(-65535.0f, -65535.0f, 65535.0f, 65535.0f); in TestRect() 132 gRects[5] = SkRect::MakeLTRB(-10.0f, -10.0f, 10.0f, 10.0f); in TestRect() 134 return gRects[random->nextULessThan(static_cast<uint32_t>(SK_ARRAY_COUNT(gRects)))]; in TestRect() 139 static SkRect gRects[2]; in TestSquare() local 143 gRects[0] = SkRect::MakeWH(128.f, 128.f); in TestSquare() [all …]
|
/external/skqp/gm/ |
D | strokerect.cpp | 72 constexpr 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/gm/ |
D | strokerect.cpp | 72 constexpr 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/skqp/tests/ |
D | ClipStackTest.cpp | 161 static const SkRect gRects[] = { in test_iterators() local 168 for (size_t i = 0; i < SK_ARRAY_COUNT(gRects); i++) { in test_iterators() 170 stack.clipRect(gRects[i], SkMatrix::I(), kUnion_SkClipOp, false); in test_iterators() 185 REPORTER_ASSERT(reporter, element->getDeviceSpaceRect() == gRects[i]); in test_iterators() 201 REPORTER_ASSERT(reporter, element->getDeviceSpaceRect() == gRects[i]); in test_iterators() 216 REPORTER_ASSERT(reporter, element->getDeviceSpaceRect() == gRects[3]); in test_iterators() 1434 static const SkIRect gRects[] = { in DEF_TEST() local 1440 for (size_t i = 0; i < SK_ARRAY_COUNT(gRects); i++) { in DEF_TEST() 1441 stack.clipDevRect(gRects[i], kIntersect_SkClipOp); in DEF_TEST()
|
/external/skia/tests/ |
D | ClipStackTest.cpp | 161 static const SkRect gRects[] = { in test_iterators() local 168 for (size_t i = 0; i < SK_ARRAY_COUNT(gRects); i++) { in test_iterators() 170 stack.clipRect(gRects[i], SkMatrix::I(), kUnion_SkClipOp, false); in test_iterators() 185 REPORTER_ASSERT(reporter, element->getDeviceSpaceRect() == gRects[i]); in test_iterators() 201 REPORTER_ASSERT(reporter, element->getDeviceSpaceRect() == gRects[i]); in test_iterators() 216 REPORTER_ASSERT(reporter, element->getDeviceSpaceRect() == gRects[3]); in test_iterators() 1469 static const SkIRect gRects[] = { in DEF_TEST() local 1475 for (size_t i = 0; i < SK_ARRAY_COUNT(gRects); i++) { in DEF_TEST() 1476 stack.clipDevRect(gRects[i], kIntersect_SkClipOp); in DEF_TEST()
|