/external/skqp/tests/ |
D | PathOpsBuilderTest.cpp | 29 rectPath.addRect(0, 1, 2, 3, SkPath::kCW_Direction); in DEF_TEST() 42 rectPath.addRect(0, 1, 2, 3, SkPath::kCCW_Direction); in DEF_TEST() 55 rect2.addRect(2, 1, 4, 3, SkPath::kCW_Direction); in DEF_TEST() 56 rect3.addRect(4, 1, 5, 3, SkPath::kCCW_Direction); in DEF_TEST() 142 path.addRect(0, 0, 1, 1, SkPath::kCW_Direction); in DEF_TEST() 143 path.addRect(2, 2, 3, 3, SkPath::kCW_Direction); in DEF_TEST() 145 pathB.addRect(3, 3, 4, 4, SkPath::kCW_Direction); in DEF_TEST() 146 pathB.addRect(3, 3, 4, 4, SkPath::kCW_Direction); in DEF_TEST() 215 inner.addRect(10, 30, 10+0, 30+60); // <rect x="10" y="30" width="0" height="60" /> in DEF_TEST() 216 inner.addRect(10, 30, 10+0, 30+60); // <rect x="10" y="30" width="0" height="60" /> in DEF_TEST() [all …]
|
D | PathOpsSimplifyTest.cpp | 444 path.addRect(0, 0, 9, 9, SkPath::kCW_Direction); in testLine15() 451 path.addRect(0, 0, 9, 9, SkPath::kCW_Direction); in testLine15x() 457 path.addRect(0, 0, 12, 12, SkPath::kCW_Direction); in testLine16() 458 path.addRect(0, 4, 9, 9, SkPath::kCW_Direction); in testLine16() 465 path.addRect(0, 0, 12, 12, SkPath::kCW_Direction); in testLine16x() 466 path.addRect(0, 4, 9, 9, SkPath::kCW_Direction); in testLine16x() 472 path.addRect(0, 0, 12, 12, SkPath::kCW_Direction); in testLine17() 473 path.addRect(4, 12, 13, 13, SkPath::kCW_Direction); in testLine17() 480 path.addRect(0, 0, 12, 12, SkPath::kCW_Direction); in testLine17x() 481 path.addRect(4, 12, 13, 13, SkPath::kCW_Direction); in testLine17x() [all …]
|
D | PathOpsAsWindingTest.cpp | 17 path.addRect(rect, dir); in build_squircle() 55 test.addRect({1, 2, 3, 4}); in DEF_TEST() 73 test.addRect({1, 2, 3, SK_ScalarInfinity}); in DEF_TEST() 86 test.addRect({5, 2, 6, 3}); in DEF_TEST() 95 test.addRect({2, 2, 3, 3}); in DEF_TEST() 103 test.addRect({0, 0, 3, 3}); in DEF_TEST() 104 test.addRect({1, 1, 4, 4}); in DEF_TEST() 127 test.addRect(rectA, dirA); in DEF_TEST() 128 test.addRect(rectB, dirB); in DEF_TEST() 130 test.addRect(rectB, dirB); in DEF_TEST() [all …]
|
D | PathOpsOpRectThreadedTest.cpp | 36 pathA.addRect(SkIntToScalar(state.fA), SkIntToScalar(state.fA), SkIntToScalar(state.fB), in testPathOpsRectsMain() 38 pathA.addRect(SkIntToScalar(state.fC), SkIntToScalar(state.fC), SkIntToScalar(state.fD), in testPathOpsRectsMain() 42 pathB.addRect(SkIntToScalar(a), SkIntToScalar(a), SkIntToScalar(b), in testPathOpsRectsMain() 44 pathB.addRect(SkIntToScalar(c), SkIntToScalar(c), SkIntToScalar(d), in testPathOpsRectsMain() 126 pathA.addRect(SkIntToScalar(state.fA), SkIntToScalar(state.fA), SkIntToScalar(state.fB) + c, in testPathOpsFastMain() 132 pathB.addRect(SkIntToScalar(state.fC), SkIntToScalar(state.fC), SkIntToScalar(state.fD) + d, in testPathOpsFastMain()
|
D | PathOpsSimplifyRectThreadedTest.cpp | 66 path.addRect(SkIntToScalar(l), SkIntToScalar(t), SkIntToScalar(r), SkIntToScalar(b), in testSimplify4x4RectsMain() 97 path.addRect(SkIntToScalar(l), SkIntToScalar(t), SkIntToScalar(r), SkIntToScalar(b), in testSimplify4x4RectsMain() 128 path.addRect(SkIntToScalar(l), SkIntToScalar(t), SkIntToScalar(r), SkIntToScalar(b), in testSimplify4x4RectsMain() 159 path.addRect(SkIntToScalar(l), SkIntToScalar(t), SkIntToScalar(r), SkIntToScalar(b), in testSimplify4x4RectsMain()
|
D | PathOpsInverseTest.cpp | 18 one.addRect(0, 0, 6, 6, (SkPath::Direction) oneDir); in DEF_TEST() 25 two.addRect(3, 3, 9, 9, (SkPath::Direction) twoDir); in DEF_TEST()
|
/external/skia/tests/ |
D | PathOpsBuilderTest.cpp | 29 rectPath.addRect(0, 1, 2, 3, SkPath::kCW_Direction); in DEF_TEST() 42 rectPath.addRect(0, 1, 2, 3, SkPath::kCCW_Direction); in DEF_TEST() 55 rect2.addRect(2, 1, 4, 3, SkPath::kCW_Direction); in DEF_TEST() 56 rect3.addRect(4, 1, 5, 3, SkPath::kCCW_Direction); in DEF_TEST() 142 path.addRect(0, 0, 1, 1, SkPath::kCW_Direction); in DEF_TEST() 143 path.addRect(2, 2, 3, 3, SkPath::kCW_Direction); in DEF_TEST() 145 pathB.addRect(3, 3, 4, 4, SkPath::kCW_Direction); in DEF_TEST() 146 pathB.addRect(3, 3, 4, 4, SkPath::kCW_Direction); in DEF_TEST() 215 inner.addRect(10, 30, 10+0, 30+60); // <rect x="10" y="30" width="0" height="60" /> in DEF_TEST() 216 inner.addRect(10, 30, 10+0, 30+60); // <rect x="10" y="30" width="0" height="60" /> in DEF_TEST() [all …]
|
D | PathOpsSimplifyTest.cpp | 444 path.addRect(0, 0, 9, 9, SkPath::kCW_Direction); in testLine15() 451 path.addRect(0, 0, 9, 9, SkPath::kCW_Direction); in testLine15x() 457 path.addRect(0, 0, 12, 12, SkPath::kCW_Direction); in testLine16() 458 path.addRect(0, 4, 9, 9, SkPath::kCW_Direction); in testLine16() 465 path.addRect(0, 0, 12, 12, SkPath::kCW_Direction); in testLine16x() 466 path.addRect(0, 4, 9, 9, SkPath::kCW_Direction); in testLine16x() 472 path.addRect(0, 0, 12, 12, SkPath::kCW_Direction); in testLine17() 473 path.addRect(4, 12, 13, 13, SkPath::kCW_Direction); in testLine17() 480 path.addRect(0, 0, 12, 12, SkPath::kCW_Direction); in testLine17x() 481 path.addRect(4, 12, 13, 13, SkPath::kCW_Direction); in testLine17x() [all …]
|
D | PathOpsAsWindingTest.cpp | 17 path.addRect(rect, dir); in build_squircle() 55 test.addRect({1, 2, 3, 4}); in DEF_TEST() 73 test.addRect({1, 2, 3, SK_ScalarInfinity}); in DEF_TEST() 86 test.addRect({5, 2, 6, 3}); in DEF_TEST() 95 test.addRect({2, 2, 3, 3}); in DEF_TEST() 103 test.addRect({0, 0, 3, 3}); in DEF_TEST() 104 test.addRect({1, 1, 4, 4}); in DEF_TEST() 127 test.addRect(rectA, dirA); in DEF_TEST() 128 test.addRect(rectB, dirB); in DEF_TEST() 130 test.addRect(rectB, dirB); in DEF_TEST() [all …]
|
D | PathOpsOpRectThreadedTest.cpp | 36 pathA.addRect(SkIntToScalar(state.fA), SkIntToScalar(state.fA), SkIntToScalar(state.fB), in testPathOpsRectsMain() 38 pathA.addRect(SkIntToScalar(state.fC), SkIntToScalar(state.fC), SkIntToScalar(state.fD), in testPathOpsRectsMain() 42 pathB.addRect(SkIntToScalar(a), SkIntToScalar(a), SkIntToScalar(b), in testPathOpsRectsMain() 44 pathB.addRect(SkIntToScalar(c), SkIntToScalar(c), SkIntToScalar(d), in testPathOpsRectsMain() 126 pathA.addRect(SkIntToScalar(state.fA), SkIntToScalar(state.fA), SkIntToScalar(state.fB) + c, in testPathOpsFastMain() 132 pathB.addRect(SkIntToScalar(state.fC), SkIntToScalar(state.fC), SkIntToScalar(state.fD) + d, in testPathOpsFastMain()
|
D | PathOpsSimplifyRectThreadedTest.cpp | 66 path.addRect(SkIntToScalar(l), SkIntToScalar(t), SkIntToScalar(r), SkIntToScalar(b), in testSimplify4x4RectsMain() 97 path.addRect(SkIntToScalar(l), SkIntToScalar(t), SkIntToScalar(r), SkIntToScalar(b), in testSimplify4x4RectsMain() 128 path.addRect(SkIntToScalar(l), SkIntToScalar(t), SkIntToScalar(r), SkIntToScalar(b), in testSimplify4x4RectsMain() 159 path.addRect(SkIntToScalar(l), SkIntToScalar(t), SkIntToScalar(r), SkIntToScalar(b), in testSimplify4x4RectsMain()
|
D | PathOpsInverseTest.cpp | 18 one.addRect(0, 0, 6, 6, (SkPath::Direction) oneDir); in DEF_TEST() 25 two.addRect(3, 3, 9, 9, (SkPath::Direction) twoDir); in DEF_TEST()
|
/external/skia/src/gpu/ccpr/ |
D | GrCCAtlas.cpp | 30 bool addRect(int w, int h, SkIPoint16* loc, int maxAtlasSize) { in addRect() function in GrCCAtlas::Node 38 if (!fRectanizer.addRect(w, h, loc)) { in addRect() 107 bool GrCCAtlas::addRect(const SkIRect& devIBounds, SkIVector* offset) { in addRect() function in GrCCAtlas 124 if (node->addRect(w, h, loc, fMaxTextureSize)) { in internalPlaceRect() 143 } while (!fTopNode->addRect(w, h, loc, fMaxTextureSize)); in internalPlaceRect() 213 GrCCAtlas* GrCCAtlasStack::addRect(const SkIRect& devIBounds, SkIVector* devToAtlasOffset) { in addRect() function in GrCCAtlasStack 215 if (fAtlases.empty() || !fAtlases.back().addRect(devIBounds, devToAtlasOffset)) { in addRect() 221 SkAssertResult(fAtlases.back().addRect(devIBounds, devToAtlasOffset)); in addRect()
|
/external/skqp/src/gpu/ccpr/ |
D | GrCCAtlas.cpp | 29 bool addRect(int w, int h, SkIPoint16* loc, int maxAtlasSize) { in addRect() function in GrCCAtlas::Node 37 if (!fRectanizer.addRect(w, h, loc)) { in addRect() 106 bool GrCCAtlas::addRect(const SkIRect& devIBounds, SkIVector* offset) { in addRect() function in GrCCAtlas 123 if (node->addRect(w, h, loc, fMaxTextureSize)) { in internalPlaceRect() 142 } while (!fTopNode->addRect(w, h, loc, fMaxTextureSize)); in internalPlaceRect() 212 GrCCAtlas* GrCCAtlasStack::addRect(const SkIRect& devIBounds, SkIVector* devToAtlasOffset) { in addRect() function in GrCCAtlasStack 214 if (fAtlases.empty() || !fAtlases.back().addRect(devIBounds, devToAtlasOffset)) { in addRect() 220 SkAssertResult(fAtlases.back().addRect(devIBounds, devToAtlasOffset)); in addRect()
|
/external/skqp/gm/ |
D | blurs.cpp | 82 path.addRect(outer, SkPath::kCW_Direction); 83 path.addRect(inner, SkPath::kCCW_Direction); 100 path.addRect(outer, SkPath::kCW_Direction); 101 path.addRect(inner, SkPath::kCW_Direction);
|
D | aaa.cpp | 124 path.addRect({20, 20, 100.4999f, 100}); in DEF_SIMPLE_GM() 125 path.addRect({100.5001f, 20, 200, 100}); in DEF_SIMPLE_GM() 130 path.addRect({20, 20, 100.1f, 100}); in DEF_SIMPLE_GM() 131 path.addRect({100.9f, 20, 200, 100}); in DEF_SIMPLE_GM()
|
D | blurrect.cpp | 29 path.addRect(rect); in draw_donut() 33 path.addRect(rect); in draw_donut() 45 path.addRect(rect); in draw_donut_skewed() 51 path.addRect(rect); in draw_donut_skewed()
|
D | strokefill.cpp | 302 path3.addRect(r, SkPath::kCW_Direction); 304 path3.addRect(r, SkPath::kCCW_Direction); 311 path4.addRect(r, SkPath::kCCW_Direction); 313 path4.addRect(r, SkPath::kCW_Direction); 320 path4.addRect(r, SkPath::kCCW_Direction); 329 path4.addRect(r, SkPath::kCW_Direction);
|
/external/skia/gm/ |
D | blurs.cpp | 82 path.addRect(outer, SkPath::kCW_Direction); 83 path.addRect(inner, SkPath::kCCW_Direction); 100 path.addRect(outer, SkPath::kCW_Direction); 101 path.addRect(inner, SkPath::kCW_Direction);
|
D | aaa.cpp | 124 path.addRect({20, 20, 100.4999f, 100}); in DEF_SIMPLE_GM() 125 path.addRect({100.5001f, 20, 200, 100}); in DEF_SIMPLE_GM() 130 path.addRect({20, 20, 100.1f, 100}); in DEF_SIMPLE_GM() 131 path.addRect({100.9f, 20, 200, 100}); in DEF_SIMPLE_GM()
|
D | blurrect.cpp | 29 path.addRect(rect); in draw_donut() 33 path.addRect(rect); in draw_donut() 45 path.addRect(rect); in draw_donut_skewed() 51 path.addRect(rect); in draw_donut_skewed()
|
D | strokefill.cpp | 302 path3.addRect(r, SkPath::kCW_Direction); 304 path3.addRect(r, SkPath::kCCW_Direction); 311 path4.addRect(r, SkPath::kCCW_Direction); 313 path4.addRect(r, SkPath::kCW_Direction); 320 path4.addRect(r, SkPath::kCCW_Direction); 329 path4.addRect(r, SkPath::kCW_Direction);
|
/external/skqp/src/core/ |
D | SkPictureRecord.cpp | 91 this->addRect(*subset); in onDoSaveBehind() 131 this->addRect(*rec.fBounds); in recordSaveLayer() 344 this->addRect(rect); in recordClipRect() 443 this->addRect(oval); in onDrawOval() 454 this->addRect(oval); in onDrawArc() 466 this->addRect(rect); in onDrawRect() 475 this->addRect(rect); in onDrawEdgeAARect() 546 this->addRect(dst); in onDrawImageRect() 560 this->addRect(dst); in onDrawImageNine() 573 this->addRect(dst); in onDrawImageLattice() [all …]
|
/external/skia/src/core/ |
D | SkPictureRecord.cpp | 91 this->addRect(*subset); in onDoSaveBehind() 131 this->addRect(*rec.fBounds); in recordSaveLayer() 344 this->addRect(rect); in recordClipRect() 452 this->addRect(oval); in onDrawOval() 463 this->addRect(oval); in onDrawArc() 475 this->addRect(rect); in onDrawRect() 484 this->addRect(rect); in onDrawEdgeAARect() 555 this->addRect(dst); in onDrawImageRect() 569 this->addRect(dst); in onDrawImageNine() 582 this->addRect(dst); in onDrawImageLattice() [all …]
|
/external/skqp/bench/ |
D | BlurRectsBench.cpp | 37 path.addRect(fOuter, SkPath::kCW_Direction); in onDraw() 38 path.addRect(fInner, SkPath::kCW_Direction); in onDraw()
|