Home
last modified time | relevance | path

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

/external/skia/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/
DGrShape.cpp77 const int verbCnt = path.countVerbs(); in path_key_from_data_size() local
78 if (verbCnt > GrShape::kMaxKeyFromDataVerbCnt) { in path_key_from_data_size()
88 return 2 + (SkAlign4(verbCnt) >> 2) + 2 * pointCnt + conicWeightCnt; in path_key_from_data_size()
95 const int verbCnt = path.countVerbs(); in write_path_key_from_data() local
98 SkASSERT(verbCnt <= GrShape::kMaxKeyFromDataVerbCnt); in write_path_key_from_data()
99 SkASSERT(pointCnt && verbCnt); in write_path_key_from_data()
101 *key++ = verbCnt; in write_path_key_from_data()
102 memcpy(key, SkPathPriv::VerbData(path), verbCnt * sizeof(uint8_t)); in write_path_key_from_data()
103 int verbKeySize = SkAlign4(verbCnt); in write_path_key_from_data()
105 uint8_t* pad = reinterpret_cast<uint8_t*>(key)+ verbCnt; in write_path_key_from_data()
[all …]
/external/skia/src/core/
DSkPath.cpp449 int verbCnt = fPathRef->countVerbs(); in isRectContour() local
450 while (*currVerb < verbCnt && (!allowPartial || !autoClose)) { in isRectContour()