Home
last modified time | relevance | path

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

/external/skia/src/gpu/gl/
DGrGLPath.cpp94 int verbCnt = skPath.countVerbs(); in init_path_object_for_general_path() local
98 SkSTArray<16, GrGLubyte, true> pathCommands(verbCnt); in init_path_object_for_general_path()
175 SkASSERT(verbCnt == pathCommands.count()); in init_path_object_for_general_path()
214 int verbCnt = skPath.countVerbs(); in InitPathObjectPathData() local
217 SkSTArray<16, GrGLubyte, true> pathCommands(verbCnt); in InitPathObjectPathData()
222 pathCommands.resize_back(verbCnt); in InitPathObjectPathData()
225 skPath.getVerbs(&pathCommands[0], verbCnt); in InitPathObjectPathData()
228 for (int i = 0; i < verbCnt; ++i) { in InitPathObjectPathData()
233 SkASSERT(verbCnt == pathCommands.count()); in InitPathObjectPathData()
/external/skia/src/gpu/
DGrPath.cpp67 const int verbCnt = path.countVerbs(); in compute_key_for_simple_path() local
68 if (verbCnt > kSimpleVolatilePathVerbLimit) { in compute_key_for_simple_path()
99 const int verbData32Cnt = ARRAY_DATA32_COUNT(uint8_t, verbCnt); in compute_key_for_simple_path()
129 builder[i++] = SkToU32(verbCnt); // The path limit is compile-asserted above, so the cast is ok. in compute_key_for_simple_path()
134 if (verbData32Cnt != static_cast<int>((verbCnt * sizeof(uint8_t) / sizeof(uint32_t)))) { in compute_key_for_simple_path()
137 path.getVerbs(reinterpret_cast<uint8_t*>(&builder[i]), verbCnt); in compute_key_for_simple_path()
/external/skia/src/core/
DSkPath.cpp441 int verbCnt = fPathRef->countVerbs(); in isRectContour() local
442 while (*currVerb < verbCnt && (!allowPartial || !autoClose)) { in isRectContour()