• Home
  • Raw
  • Download

Lines Matching refs:skPath

100                                               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()
225 int pointCnt = skPath.countPoints(); in InitPathObjectPathData()
234 skPath.getPoints(reinterpret_cast<SkPoint*>(&pathCoords[0]), pointCnt); in InitPathObjectPathData()
235 skPath.getVerbs(&pathCommands[0], verbCnt); in InitPathObjectPathData()
252 SkAssertResult(init_path_object_for_general_path<false>(gpu, pathID, skPath)); in InitPathObjectPathData()
281 const SkPath* skPath = &origSkPath; in GrGLPath() local
289 if (style.applyPathEffectToPath(tmpPath.init(), &stroke, *skPath, SK_Scalar1)) { in GrGLPath()
290 skPath = tmpPath.get(); in GrGLPath()
301 didInit = InitPathObjectPathDataCheckingDegenerates(gpu, fPathID, *skPath); in GrGLPath()
306 SkAssertResult(stroke.applyToPath(tmpPath.get(), *skPath)); in GrGLPath()
307 skPath = tmpPath.get(); in GrGLPath()
313 InitPathObjectPathData(gpu, fPathID, *skPath); in GrGLPath()
320 fFillType = convert_skpath_filltype(skPath->getFillType()); in GrGLPath()
321 fBounds = skPath->getBounds(); in GrGLPath()