OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:maxIndices
(Results
1 - 3
of
3
) sorted by null
/external/skia/src/gpu/batches/
GrAALinearizingConvexPathRenderer.cpp
217
int
maxIndices
= DEFAULT_BUFFER_SIZE;
219
uint16_t* indices = (uint16_t*) sk_malloc_throw(
maxIndices
* sizeof(uint16_t));
243
if (indexCount + currentIndices >
maxIndices
) {
244
maxIndices
= SkTMax(indexCount + currentIndices,
maxIndices
* 2);
245
indices = (uint16_t*) sk_realloc_throw(indices,
maxIndices
* sizeof(uint16_t));
GrDefaultPathRenderer.cpp
297
int
maxIndices
= 0;
301
maxIndices
= 2 * maxVertices;
308
maxIndices
= 3 * maxVertices;
332
indices = target->makeIndexSpace(
maxIndices
, &indexBuffer, &firstIndex);
362
SkASSERT(vertexOffset <= maxVertices && indexOffset <=
maxIndices
);
375
target->putBackIndices((size_t)(
maxIndices
- indexOffset));
/external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/
VBOWithVAOPerformanceTest.java
85
int
maxIndices
= numSprites * 6;
93
IndexBufferObjectSubData newIndices = new IndexBufferObjectSubData(false,
maxIndices
);
94
IndexBufferObjectSubData oldIndices = new IndexBufferObjectSubData(false,
maxIndices
);
106
short[] indexArray = new short[
maxIndices
];
107
for (short i = 0; i <
maxIndices
; i++) {
Completed in 378 milliseconds