Searched refs:gRects (Results 1 – 8 of 8) sorted by relevance
/external/skia/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/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/docs/examples/ |
D | strokerect_gm.cpp | 11 constexpr SkRect gRects[] = { in draw() local 30 for (size_t j = 0; j < SK_ARRAY_COUNT(gRects); ++j) { in draw() 35 const SkRect& rect = gRects[j]; in draw()
|
/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 | 83 constexpr SkRect gRects[] = { in onDraw() local 104 for (size_t j = 0; j < SK_ARRAY_COUNT(gRects); ++j) { in onDraw() 105 const SkRect& r = gRects[j]; in onDraw()
|
/external/skia/tests/ |
D | SkSLInterpreterTest.cpp | 526 SkIRect gRects[4] = { { 1,2,3,4 }, { 5,6,7,8 }, { 9,10,11,12 }, { 13,14,15,16 } }; in DEF_TEST() local 553 Args args(gRects); in DEF_TEST() 564 Args args(gRects); in DEF_TEST() 578 Args args(gRects); in DEF_TEST() 589 Args args(gRects); in DEF_TEST() 599 Args args(gRects); in DEF_TEST() 602 REPORTER_ASSERT(r, out == gRects[2]); in DEF_TEST() 610 Args args(gRects); in DEF_TEST() 617 expected.fRects[i].fRect = gRects[i]; in DEF_TEST() 618 float c = gRects[i].fBottom; in DEF_TEST()
|
D | ClipStackTest.cpp | 163 static const SkRect gRects[] = { in test_iterators() local 170 for (size_t i = 0; i < SK_ARRAY_COUNT(gRects); i++) { in test_iterators() 172 stack.clipRect(gRects[i], SkMatrix::I(), kUnion_SkClipOp, false); in test_iterators() 187 REPORTER_ASSERT(reporter, element->getDeviceSpaceRect() == gRects[i]); in test_iterators() 203 REPORTER_ASSERT(reporter, element->getDeviceSpaceRect() == gRects[i]); in test_iterators() 218 REPORTER_ASSERT(reporter, element->getDeviceSpaceRect() == gRects[3]); in test_iterators() 1496 static const SkIRect gRects[] = { in DEF_TEST() local 1502 for (size_t i = 0; i < SK_ARRAY_COUNT(gRects); i++) { in DEF_TEST() 1503 stack.clipDevRect(gRects[i], kIntersect_SkClipOp); in DEF_TEST()
|
/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()
|