HomeSort by relevance Sort by last modified time
    Searched defs:maxVertices (Results 1 - 7 of 7) sorted by null

  /external/libgdx/gdx/src/com/badlogic/gdx/graphics/glutils/
ImmediateModeRenderer20.java 35 private final int maxVertices;
55 public ImmediateModeRenderer20 (int maxVertices, boolean hasNormals, boolean hasColors, int numTexCoords) {
56 this(maxVertices, hasNormals, hasColors, numTexCoords, createDefaultShader(hasNormals, hasColors, numTexCoords));
60 public ImmediateModeRenderer20 (int maxVertices, boolean hasNormals, boolean hasColors, int numTexCoords, ShaderProgram shader) {
61 this.maxVertices = maxVertices;
66 mesh = new Mesh(false, maxVertices, 0, attribs);
68 vertices = new float[maxVertices * (mesh.getVertexAttributes().vertexSize / 4)];
169 return maxVertices;
  /external/skia/src/gpu/batches/
GrAALinearizingConvexPathRenderer.cpp 216 int maxVertices = DEFAULT_BUFFER_SIZE;
218 uint8_t* vertices = (uint8_t*) sk_malloc_throw(maxVertices * vertexStride);
239 if (vertexCount + currentVertices > maxVertices) {
240 maxVertices = SkTMax(vertexCount + currentVertices, maxVertices * 2);
241 vertices = (uint8_t*) sk_realloc_throw(vertices, maxVertices * vertexStride);
GrDefaultPathRenderer.cpp 277 int maxVertices = 0;
285 maxVertices += GrPathUtils::worstCasePointCount(args.fPath, &contourCount,
291 if (maxVertices == 0 || maxVertices > ((int)SK_MaxU16 + 1)) {
292 //SkDebugf("Cannot render path (%d)\n", maxVertices);
301 maxIndices = 2 * maxVertices;
308 maxIndices = 3 * maxVertices;
319 void* verts = target->makeVertexSpace(vertexStride, maxVertices,
362 SkASSERT(vertexOffset <= maxVertices && indexOffset <= maxIndices);
376 target->putBackVertices((size_t)(maxVertices - vertexOffset), (size_t)vertexStride)
    [all...]
  /frameworks/base/libs/hwui/
Patch.cpp 57 uint32_t maxVertices = ((xCount + 1) * (yCount + 1) - emptyQuads) * 4;
58 if (maxVertices == 0) return;
60 vertices.reset(new TextureVertex[maxVertices]);
140 if (verticesCount != maxVertices) {
  /external/mesa3d/src/gallium/drivers/nv50/codegen/
nv50_ir_driver.h 150 unsigned maxVertices;
  /external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/
VBOWithVAOPerformanceTest.java 86 int maxVertices = numSprites * 6;
90 VertexBufferObjectWithVAO newVBOWithVAO = new VertexBufferObjectWithVAO(false, maxVertices, vertexAttributes);
91 OldVertexBufferObjectWithVAO oldVBOWithVAO = new OldVertexBufferObjectWithVAO(false, maxVertices, vertexAttributes);
99 float[] vertexArray = new float[maxVertices * 9];
  /external/deqp/modules/gles31/functional/
es31fGeometryShaderTests.cpp     [all...]

Completed in 855 milliseconds