/external/skia/tests/ |
D | PathOpsBuilderTest.cpp | 27 SkPath rectPath; in DEF_TEST() local 28 rectPath.setFillType(SkPath::kEvenOdd_FillType); in DEF_TEST() 29 rectPath.addRect(0, 1, 2, 3, SkPath::kCW_Direction); in DEF_TEST() 30 builder.add(rectPath, kUnion_SkPathOp); in DEF_TEST() 37 int pixelDiff = comparePaths(reporter, __FUNCTION__, rectPath, result); in DEF_TEST() 40 rectPath.reset(); in DEF_TEST() 41 rectPath.setFillType(SkPath::kEvenOdd_FillType); in DEF_TEST() 42 rectPath.addRect(0, 1, 2, 3, SkPath::kCCW_Direction); in DEF_TEST() 43 builder.add(rectPath, kUnion_SkPathOp); in DEF_TEST() 48 REPORTER_ASSERT(reporter, rectPath == result); in DEF_TEST() [all …]
|
D | BlurTest.cpp | 298 SkPath rectPath; in DEF_TEST() local 299 rectPath.addRect(0.3f, 0.3f, 100.3f, 100.3f); in DEF_TEST() 320 cpu_blur_path(rectPath, sigma, rectSpecialCaseResult, kSize); in DEF_TEST()
|
D | GrShapeTest.cpp | 2123 SkPath rectPath; in DEF_TEST() local 2124 rectPath.addRect(r); in DEF_TEST() 2125 geos.emplace_back(new RRectPathGeo(rectPath, r, RRectPathGeo::RRectForStroke::kYes, in DEF_TEST() 2127 geos.emplace_back(new RRectPathGeo(rectPath, r, RRectPathGeo::RRectForStroke::kYes, in DEF_TEST() 2129 rrectPathGeos.emplace_back(new RRectPathGeo(rectPath, r, RRectPathGeo::RRectForStroke::kYes, in DEF_TEST() 2137 SkPath rectPath; in DEF_TEST() local 2138 rectPath.addRRect(rr); in DEF_TEST() 2139 geos.emplace_back(new RRectPathGeo(rectPath, rr, RRectPathGeo::RRectForStroke::kYes, in DEF_TEST() 2141 geos.emplace_back(new RRectPathGeo(rectPath, rr, RRectPathGeo::RRectForStroke::kYes, in DEF_TEST() 2143 rrectPathGeos.emplace_back(new RRectPathGeo(rectPath, rr, in DEF_TEST()
|
/external/skqp/tests/ |
D | PathOpsBuilderTest.cpp | 27 SkPath rectPath; in DEF_TEST() local 28 rectPath.setFillType(SkPath::kEvenOdd_FillType); in DEF_TEST() 29 rectPath.addRect(0, 1, 2, 3, SkPath::kCW_Direction); in DEF_TEST() 30 builder.add(rectPath, kUnion_SkPathOp); in DEF_TEST() 37 int pixelDiff = comparePaths(reporter, __FUNCTION__, rectPath, result); in DEF_TEST() 40 rectPath.reset(); in DEF_TEST() 41 rectPath.setFillType(SkPath::kEvenOdd_FillType); in DEF_TEST() 42 rectPath.addRect(0, 1, 2, 3, SkPath::kCCW_Direction); in DEF_TEST() 43 builder.add(rectPath, kUnion_SkPathOp); in DEF_TEST() 48 REPORTER_ASSERT(reporter, rectPath == result); in DEF_TEST() [all …]
|
D | BlurTest.cpp | 297 SkPath rectPath; in DEF_TEST() local 298 rectPath.addRect(0.3f, 0.3f, 100.3f, 100.3f); in DEF_TEST() 319 cpu_blur_path(rectPath, sigma, rectSpecialCaseResult, kSize); in DEF_TEST()
|
D | GrShapeTest.cpp | 2095 SkPath rectPath; in DEF_TEST() local 2096 rectPath.addRect(r); in DEF_TEST() 2097 geos.emplace_back(new RRectPathGeo(rectPath, r, RRectPathGeo::RRectForStroke::kYes, in DEF_TEST() 2099 geos.emplace_back(new RRectPathGeo(rectPath, r, RRectPathGeo::RRectForStroke::kYes, in DEF_TEST() 2101 rrectPathGeos.emplace_back(new RRectPathGeo(rectPath, r, RRectPathGeo::RRectForStroke::kYes, in DEF_TEST() 2109 SkPath rectPath; in DEF_TEST() local 2110 rectPath.addRRect(rr); in DEF_TEST() 2111 geos.emplace_back(new RRectPathGeo(rectPath, rr, RRectPathGeo::RRectForStroke::kYes, in DEF_TEST() 2113 geos.emplace_back(new RRectPathGeo(rectPath, rr, RRectPathGeo::RRectForStroke::kYes, in DEF_TEST() 2115 rrectPathGeos.emplace_back(new RRectPathGeo(rectPath, rr, in DEF_TEST()
|
/external/skia/src/gpu/ |
D | SkGpuDevice_drawTexture.cpp | 342 SkPath rectPath; in drawTextureProducerImpl() local 343 rectPath.addRect(clippedDstRect); in drawTextureProducerImpl() 344 rectPath.setIsVolatile(true); in drawTextureProducerImpl() 346 rectPath, std::move(grPaint), aa, viewMatrix, mf, in drawTextureProducerImpl()
|
/external/skqp/src/gpu/ |
D | SkGpuDevice_drawTexture.cpp | 338 SkPath rectPath; in drawTextureProducerImpl() local 339 rectPath.addRect(clippedDstRect); in drawTextureProducerImpl() 340 rectPath.setIsVolatile(true); in drawTextureProducerImpl() 342 rectPath, std::move(grPaint), aa, viewMatrix, mf, in drawTextureProducerImpl()
|
/external/skia/samplecode/ |
D | SamplePathOverstroke.cpp | 118 SkPath rectPath(SkPoint p1) { in rectPath() function in OverstrokeView 144 path = rectPath(p1); in onDrawContent()
|
/external/skqp/samplecode/ |
D | SamplePathOverstroke.cpp | 118 SkPath rectPath(SkPoint p1) { in rectPath() function in OverstrokeView 144 path = rectPath(p1); in onDrawContent()
|