Home
last modified time | relevance | path

Searched refs:rectPath (Results 1 – 5 of 5) sorted by relevance

/external/skia/tests/
DPathOpsBuilderTest.cpp27 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 …]
DBlurTest.cpp323 SkPath rectPath; in DEF_TEST() local
324 rectPath.addRect(0.3f, 0.3f, 100.3f, 100.3f); in DEF_TEST()
345 cpu_blur_path(rectPath, sigma, rectSpecialCaseResult, kSize); in DEF_TEST()
356 bool haveGPUResult = gpu_blur_path(context, rectPath, sigma, gpuResult, kSize); in DEF_TEST()
DGrShapeTest.cpp1850 SkPath rectPath; in DEF_TEST() local
1851 rectPath.addRect(r); in DEF_TEST()
1852 geos.emplace_back(new RRectPathGeo(rectPath, r, RRectPathGeo::RRectForStroke::kYes, in DEF_TEST()
1854 geos.emplace_back(new RRectPathGeo(rectPath, r, RRectPathGeo::RRectForStroke::kYes, in DEF_TEST()
1856 rrectPathGeos.emplace_back(new RRectPathGeo(rectPath, r, RRectPathGeo::RRectForStroke::kYes, in DEF_TEST()
1864 SkPath rectPath; in DEF_TEST() local
1865 rectPath.addRRect(rr); in DEF_TEST()
1866 geos.emplace_back(new RRectPathGeo(rectPath, rr, RRectPathGeo::RRectForStroke::kYes, in DEF_TEST()
1868 geos.emplace_back(new RRectPathGeo(rectPath, rr, RRectPathGeo::RRectForStroke::kYes, in DEF_TEST()
1870 rrectPathGeos.emplace_back(new RRectPathGeo(rectPath, rr, in DEF_TEST()
/external/skia/src/gpu/
DSkGpuDevice_drawTexture.cpp246 SkPath rectPath; in drawTextureProducerImpl() local
247 rectPath.addRect(clippedDstRect); in drawTextureProducerImpl()
248 rectPath.setIsVolatile(true); in drawTextureProducerImpl()
250 rectPath, std::move(grPaint), aa, viewMatrix, mf, in drawTextureProducerImpl()
/external/skia/samplecode/
DSamplePathOverstroke.cpp124 SkPath rectPath(SkPoint p1) { in rectPath() function in OverstrokeView
150 path = rectPath(p1); in onDrawContent()