/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;
|
ShapeRenderer.java | 110 public ShapeRenderer (int maxVertices) {
111 this(maxVertices, null);
114 public ShapeRenderer (int maxVertices, ShaderProgram defaultShader) {
116 renderer = new ImmediateModeRenderer20(maxVertices, false, true, 0);
118 renderer = new ImmediateModeRenderer20(maxVertices, false, true, 0, defaultShader);
[all...] |
/external/libgdx/gdx/src/com/badlogic/gdx/graphics/g3d/utils/ |
ShapeCache.java | 76 * @param maxVertices max vertices in mesh 80 public ShapeCache (int maxVertices, int maxIndices, VertexAttributes attributes, int primitiveType) { 82 mesh = new Mesh(false, maxVertices, maxIndices, attributes);
|
/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/skia/src/gpu/batches/ |
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...] |
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);
|
/external/libgdx/gdx/src/com/badlogic/gdx/graphics/ |
Mesh.java | 91 * @param maxVertices the maximum number of vertices this mesh can hold
95 public Mesh (boolean isStatic, int maxVertices, int maxIndices, VertexAttribute... attributes) {
96 vertices = makeVertexBuffer(isStatic, maxVertices, new VertexAttributes(attributes));
106 * @param maxVertices the maximum number of vertices this mesh can hold
110 public Mesh (boolean isStatic, int maxVertices, int maxIndices, VertexAttributes attributes) {
111 vertices = makeVertexBuffer(isStatic, maxVertices, attributes);
122 * @param maxVertices the maximum number of vertices this mesh can hold
128 public Mesh (boolean staticVertices, boolean staticIndices, int maxVertices, int maxIndices, VertexAttributes attributes) {
129 vertices = makeVertexBuffer(staticVertices, maxVertices, attributes);
136 private VertexData makeVertexBuffer (boolean isStatic, int maxVertices, VertexAttributes vertexAttributes) { [all...] |
/external/mesa3d/src/gallium/drivers/nv50/codegen/ |
nv50_ir_driver.h | 150 unsigned maxVertices;
|
nv50_ir.cpp | 1077 info->prop.gp.maxVertices = 1;
|
nv50_ir_from_sm4.cpp | 959 info.prop.gp.maxVertices = dcl.num; [all...] |
nv50_ir_from_tgsi.cpp | 731 info->prop.gp.maxVertices = prop->u[0].Data; [all...] |
/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...] |
/external/mesa3d/src/gallium/drivers/nvc0/ |
nvc0_program.c | 415 gp->hdr[4] = info->prop.gp.maxVertices & 0x1ff;
|