Home
last modified time | relevance | path

Searched refs:skPath (Results 1 – 11 of 11) sorted by relevance

/external/skia/src/gpu/gl/
DGrGLPath.cpp100 const SkPath& skPath) { in init_path_object_for_general_path() argument
102 int verbCnt = skPath.countVerbs(); in init_path_object_for_general_path()
103 int pointCnt = skPath.countPoints(); in init_path_object_for_general_path()
110 SkPath::RawIter iter(skPath); in init_path_object_for_general_path()
212 const SkPath& skPath) { in InitPathObjectPathDataCheckingDegenerates() argument
213 return init_path_object_for_general_path<true>(gpu, pathID, skPath); in InitPathObjectPathDataCheckingDegenerates()
218 const SkPath& skPath) { in InitPathObjectPathData() argument
219 SkASSERT(!skPath.isEmpty()); in InitPathObjectPathData()
223 if ((skPath.getSegmentMasks() & SkPath::kConic_SegmentMask) == 0) { in InitPathObjectPathData()
224 int verbCnt = skPath.countVerbs(); in InitPathObjectPathData()
[all …]
DGrGLPathRange.cpp70 const SkPath* skPath = &origSkPath; in onInitPath() local
79 if (!fStyle.applyToPath(tmpPath.init(), &fill, *skPath, SK_Scalar1)) { in onInitPath()
85 skPath = tmpPath.get(); in onInitPath()
88 GrGLPath::InitPathObjectPathData(gpu, fBasePathID + index, *skPath); in onInitPath()
/external/skqp/src/gpu/gl/
DGrGLPath.cpp100 const SkPath& skPath) { in init_path_object_for_general_path() argument
102 int verbCnt = skPath.countVerbs(); in init_path_object_for_general_path()
103 int pointCnt = skPath.countPoints(); in init_path_object_for_general_path()
110 SkPath::RawIter iter(skPath); in init_path_object_for_general_path()
212 const SkPath& skPath) { in InitPathObjectPathDataCheckingDegenerates() argument
213 return init_path_object_for_general_path<true>(gpu, pathID, skPath); in InitPathObjectPathDataCheckingDegenerates()
218 const SkPath& skPath) { in InitPathObjectPathData() argument
219 SkASSERT(!skPath.isEmpty()); in InitPathObjectPathData()
223 if ((skPath.getSegmentMasks() & SkPath::kConic_SegmentMask) == 0) { in InitPathObjectPathData()
224 int verbCnt = skPath.countVerbs(); in InitPathObjectPathData()
[all …]
DGrGLPathRange.cpp70 const SkPath* skPath = &origSkPath; in onInitPath() local
79 if (!fStyle.applyToPath(tmpPath.init(), &fill, *skPath, SK_Scalar1)) { in onInitPath()
85 skPath = tmpPath.get(); in onInitPath()
88 GrGLPath::InitPathObjectPathData(gpu, fBasePathID + index, *skPath); in onInitPath()
/external/skqp/src/gpu/ops/
DGrStencilAndCoverPathRenderer.cpp62 SkPath skPath; in get_gr_path() local
63 shape.asPath(&skPath); in get_gr_path()
64 path = resourceProvider->createPath(skPath, shape.style()); in get_gr_path()
70 SkPath skPath; in get_gr_path() local
71 shape.asPath(&skPath); in get_gr_path()
72 SkASSERT(path->isEqualTo(skPath, shape.style())); in get_gr_path()
/external/skia/src/gpu/ops/
DGrStencilAndCoverPathRenderer.cpp62 SkPath skPath; in get_gr_path() local
63 shape.asPath(&skPath); in get_gr_path()
64 path = resourceProvider->createPath(skPath, shape.style()); in get_gr_path()
70 SkPath skPath; in get_gr_path() local
71 shape.asPath(&skPath); in get_gr_path()
72 SkASSERT(path->isEqualTo(skPath, shape.style())); in get_gr_path()
/external/skia/src/gpu/
DGrPath.h24 GrPath(GrGpu* gpu, const SkPath& skPath, const GrStyle& style) in GrPath() argument
29 , fSkPath(skPath) in GrPath()
/external/skqp/src/gpu/
DGrPath.h24 GrPath(GrGpu* gpu, const SkPath& skPath, const GrStyle& style) in GrPath() argument
29 , fSkPath(skPath) in GrPath()
/external/pdfium/core/fxge/skia/
Dfx_skia_device.cpp284 SkPath skPath; in BuildPath() local
291 skPath.moveTo(point.x, point.y); in BuildPath()
293 skPath.lineTo(point.x, point.y); in BuildPath()
297 skPath.cubicTo(point.x, point.y, point2.x, point2.y, point3.x, point3.y); in BuildPath()
301 skPath.close(); in BuildPath()
303 return skPath; in BuildPath()
738 SkPath skPath = BuildPath(pPathData); in DrawPath() local
741 skPath.offset(delta.fX, delta.fY); in DrawPath()
742 m_skPath.addPath(skPath); in DrawPath()
1014 SkPath skPath = BuildPath(pPathData); in SetClipStroke() local
[all …]
/external/skia/src/ports/
DSkFontHost_mac.cpp1353 SkPath* skPath = (SkPath*)info; in CTPathElement() local
1358 skPath->moveTo(element->points[0].x, -element->points[0].y); in CTPathElement()
1362 skPath->lineTo(element->points[0].x, -element->points[0].y); in CTPathElement()
1366 skPath->quadTo(element->points[0].x, -element->points[0].y, in CTPathElement()
1371 skPath->cubicTo(element->points[0].x, -element->points[0].y, in CTPathElement()
1377 skPath->close(); in CTPathElement()
/external/skqp/src/ports/
DSkFontHost_mac.cpp1353 SkPath* skPath = (SkPath*)info; in CTPathElement() local
1358 skPath->moveTo(element->points[0].x, -element->points[0].y); in CTPathElement()
1362 skPath->lineTo(element->points[0].x, -element->points[0].y); in CTPathElement()
1366 skPath->quadTo(element->points[0].x, -element->points[0].y, in CTPathElement()
1371 skPath->cubicTo(element->points[0].x, -element->points[0].y, in CTPathElement()
1377 skPath->close(); in CTPathElement()