Home
last modified time | relevance | path

Searched refs:pointCnt (Results 1 – 3 of 3) sorted by relevance

/external/skqp/src/gpu/gl/
DGrGLPath.cpp103 int pointCnt = skPath.countPoints(); in init_path_object_for_general_path() local
104 int minCoordCnt = pointCnt * 2; in init_path_object_for_general_path()
225 int pointCnt = skPath.countPoints(); in InitPathObjectPathData() local
226 int coordCnt = pointCnt * 2; in InitPathObjectPathData()
234 skPath.getPoints(reinterpret_cast<SkPoint*>(&pathCoords[0]), pointCnt); in InitPathObjectPathData()
/external/skia/src/gpu/geometry/
DGrStyledShape.cpp97 const int pointCnt = path.countPoints(); in path_key_from_data_size() local
104 return 1 + (SkAlign4(verbCnt) >> 2) + 2 * pointCnt + conicWeightCnt; in path_key_from_data_size()
112 const int pointCnt = path.countPoints(); in write_path_key_from_data() local
115 SkASSERT(pointCnt && verbCnt); in write_path_key_from_data()
124 memcpy(key, SkPathPriv::PointData(path), sizeof(SkPoint) * pointCnt); in write_path_key_from_data()
126 key += 2 * pointCnt; in write_path_key_from_data()
/external/skqp/src/gpu/
DGrShape.cpp186 const int pointCnt = path.countPoints(); in path_key_from_data_size() local
193 return 2 + (SkAlign4(verbCnt) >> 2) + 2 * pointCnt + conicWeightCnt; in path_key_from_data_size()
201 const int pointCnt = path.countPoints(); in write_path_key_from_data() local
204 SkASSERT(pointCnt && verbCnt); in write_path_key_from_data()
214 memcpy(key, SkPathPriv::PointData(path), sizeof(SkPoint) * pointCnt); in write_path_key_from_data()
216 key += 2 * pointCnt; in write_path_key_from_data()