Home
last modified time | relevance | path

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

/external/skia/src/gpu/ganesh/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/skia/src/core/
DSkPath.cpp3544 int verbCnt = path.fPathRef->countVerbs(); in IsRectContour() local
3545 while (*currVerb < verbCnt && (!allowPartial || !autoClose)) { in IsRectContour()