Home
last modified time | relevance | path

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

/external/skqp/src/gpu/gl/
DGrGLPath.cpp102 int verbCnt = skPath.countVerbs(); in init_path_object_for_general_path() local
106 SkSTArray<16, GrGLubyte, true> pathCommands(verbCnt); in init_path_object_for_general_path()
184 SkASSERT(verbCnt == pathCommands.count()); in init_path_object_for_general_path()
224 int verbCnt = skPath.countVerbs(); in InitPathObjectPathData() local
227 SkSTArray<16, GrGLubyte, true> pathCommands(verbCnt); in InitPathObjectPathData()
232 pathCommands.resize_back(verbCnt); in InitPathObjectPathData()
235 skPath.getVerbs(&pathCommands[0], verbCnt); in InitPathObjectPathData()
238 for (int i = 0; i < verbCnt; ++i) { in InitPathObjectPathData()
243 SkASSERT(verbCnt == pathCommands.count()); in InitPathObjectPathData()
/external/skia/src/gpu/geometry/
DGrStyledShape.cpp93 const int verbCnt = path.countVerbs(); in path_key_from_data_size() local
94 if (verbCnt > GrStyledShape::kMaxKeyFromDataVerbCnt) { in path_key_from_data_size()
104 return 1 + (SkAlign4(verbCnt) >> 2) + 2 * pointCnt + conicWeightCnt; in path_key_from_data_size()
111 const int verbCnt = path.countVerbs(); in write_path_key_from_data() local
114 SkASSERT(verbCnt <= GrStyledShape::kMaxKeyFromDataVerbCnt); in write_path_key_from_data()
115 SkASSERT(pointCnt && verbCnt); in write_path_key_from_data()
116 *key++ = verbCnt; in write_path_key_from_data()
117 memcpy(key, SkPathPriv::VerbData(path), verbCnt * sizeof(uint8_t)); in write_path_key_from_data()
118 int verbKeySize = SkAlign4(verbCnt); in write_path_key_from_data()
120 uint8_t* pad = reinterpret_cast<uint8_t*>(key)+ verbCnt; in write_path_key_from_data()
[all …]
/external/skqp/src/gpu/
DGrShape.cpp182 const int verbCnt = path.countVerbs(); in path_key_from_data_size() local
183 if (verbCnt > GrShape::kMaxKeyFromDataVerbCnt) { in path_key_from_data_size()
193 return 2 + (SkAlign4(verbCnt) >> 2) + 2 * pointCnt + conicWeightCnt; in path_key_from_data_size()
200 const int verbCnt = path.countVerbs(); in write_path_key_from_data() local
203 SkASSERT(verbCnt <= GrShape::kMaxKeyFromDataVerbCnt); in write_path_key_from_data()
204 SkASSERT(pointCnt && verbCnt); in write_path_key_from_data()
206 *key++ = verbCnt; in write_path_key_from_data()
207 memcpy(key, SkPathPriv::VerbData(path), verbCnt * sizeof(uint8_t)); in write_path_key_from_data()
208 int verbKeySize = SkAlign4(verbCnt); in write_path_key_from_data()
210 uint8_t* pad = reinterpret_cast<uint8_t*>(key)+ verbCnt; in write_path_key_from_data()
[all …]
/external/skia/src/core/
DSkPath.cpp3452 int verbCnt = path.fPathRef->countVerbs(); in IsRectContour() local
3453 while (*currVerb < verbCnt && (!allowPartial || !autoClose)) { in IsRectContour()
/external/skqp/src/core/
DSkPath.cpp490 int verbCnt = fPathRef->countVerbs(); in isRectContour() local
491 while (*currVerb < verbCnt && (!allowPartial || !autoClose)) { in isRectContour()