OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:maxIndices
(Results
1 - 2
of
2
) sorted by null
/external/skia/src/gpu/ops/
GrAALinearizingConvexPathRenderer.cpp
238
int
maxIndices
= DEFAULT_BUFFER_SIZE;
240
uint16_t* indices = (uint16_t*) sk_malloc_throw(
maxIndices
* sizeof(uint16_t));
265
if (indexCount + currentIndices >
maxIndices
) {
266
maxIndices
= SkTMax(indexCount + currentIndices,
maxIndices
* 2);
267
indices = (uint16_t*) sk_realloc_throw(indices,
maxIndices
* sizeof(uint16_t));
GrDefaultPathRenderer.cpp
184
int
maxIndices
= 0;
188
maxIndices
= 2 * maxVertices;
195
maxIndices
= 3 * maxVertices;
219
indices = target->makeIndexSpace(
maxIndices
, &indexBuffer, &firstIndex);
249
SkASSERT(vertexOffset <= maxVertices && indexOffset <=
maxIndices
);
262
target->putBackIndices((size_t)(
maxIndices
- indexOffset));
Completed in 241 milliseconds