Searched refs:verbCnt (Results 1 – 5 of 5) sorted by relevance
102 int verbCnt = skPath.countVerbs(); in init_path_object_for_general_path() local106 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() local227 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()
93 const int verbCnt = path.countVerbs(); in path_key_from_data_size() local94 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() local114 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 …]
182 const int verbCnt = path.countVerbs(); in path_key_from_data_size() local183 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() local203 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 …]
3452 int verbCnt = path.fPathRef->countVerbs(); in IsRectContour() local3453 while (*currVerb < verbCnt && (!allowPartial || !autoClose)) { in IsRectContour()
490 int verbCnt = fPathRef->countVerbs(); in isRectContour() local491 while (*currVerb < verbCnt && (!allowPartial || !autoClose)) { in isRectContour()