/external/libgdx/gdx/src/com/badlogic/gdx/graphics/glutils/ |
H A D | ImmediateModeRenderer20.java | 35 private final int maxVertices;
field in class:ImmediateModeRenderer20 55 public ImmediateModeRenderer20 (int maxVertices, boolean hasNormals, boolean hasColors, int numTexCoords) {
argument 56 this(maxVertices, hasNormals, hasColors, numTexCoords, createDefaultShader(hasNormals, hasColors, numTexCoords));
60 public ImmediateModeRenderer20 (int maxVertices, boolean hasNormals, boolean hasColors, int numTexCoords, ShaderProgram shader) {
argument 61 this.maxVertices = maxVertices;
66 mesh = new Mesh(false, maxVertices, 0, attribs);
68 vertices = new float[maxVertices * (mesh.getVertexAttributes().vertexSize / 4)];
169 return maxVertices;
|
H A D | ShapeRenderer.java | 110 public ShapeRenderer (int maxVertices) {
argument 111 this(maxVertices, null);
114 public ShapeRenderer (int maxVertices, ShaderProgram defaultShader) {
argument 116 renderer = new ImmediateModeRenderer20(maxVertices, false, true, 0);
118 renderer = new ImmediateModeRenderer20(maxVertices, false, true, 0, defaultShader);
|
/external/libgdx/gdx/src/com/badlogic/gdx/graphics/g3d/utils/ |
H A D | ShapeCache.java | 76 * @param maxVertices max vertices in mesh 80 public ShapeCache (int maxVertices, int maxIndices, VertexAttributes attributes, int primitiveType) { argument 82 mesh = new Mesh(false, maxVertices, maxIndices, attributes);
|
/external/skia/src/gpu/batches/ |
H A D | GrDefaultPathRenderer.cpp | 277 int maxVertices = 0; variable 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 [all...] |
H A D | GrAALinearizingConvexPathRenderer.cpp | 216 int maxVertices = DEFAULT_BUFFER_SIZE; variable 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/ |
H A D | 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) {
argument 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) {
argument 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) {
argument 129 vertices = makeVertexBuffer(staticVertices, maxVertices, attributes);
136 private VertexData makeVertexBuffer (boolean isStatic, int maxVertices, VertexAttribute argument 152 Mesh(VertexDataType type, boolean isStatic, int maxVertices, int maxIndices, VertexAttribute... attributes) argument [all...] |
/external/mesa3d/src/gallium/drivers/nv50/codegen/ |
H A D | nv50_ir_driver.h | 150 unsigned maxVertices; member in struct:nv50_ir_prog_info::__anon14002::__anon14005
|
H A D | nv50_ir.cpp | 1077 info->prop.gp.maxVertices = 1;
|
H A D | nv50_ir_from_sm4.cpp | 959 info.prop.gp.maxVertices = dcl.num;
|
H A D | nv50_ir_from_tgsi.cpp | 731 info->prop.gp.maxVertices = prop->u[0].Data;
|
/external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/ |
H A D | 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/ |
H A D | es31fGeometryShaderTests.cpp | 1592 const int maxVertices = (int)getNumVertices(numInvocations, testCase); local 1598 "layout(triangle_strip, max_vertices = " << maxVertices << ") out;\n" 2491 glw::GLint maxVertices = 0; local 2498 m_context.getRenderContext().getFunctions().getIntegerv(GL_MAX_GEOMETRY_OUTPUT_VERTICES, &maxVertices); 2501 m_testCtx.getLog() << tcu::TestLog::Message << "GL_MAX_GEOMETRY_OUTPUT_VERTICES = " << maxVertices << tcu::TestLog::EndMessage; 2509 m_spec.pattern[0] = de::min(maxVertices, maxComponents / componentsPerVertex); 2520 if (testVertices > maxVertices) 3084 const int maxVertices = (m_test == TEST_DIFFERENT_LAYERS) ? ((2 + m_numLayers-1) * m_numLayers) : local 3099 buf << "layout(triangle_strip, max_vertices = " << maxVertices << ") out;\n" local 3755 glw::GLint maxVertices [all...] |
/external/mesa3d/src/gallium/drivers/nvc0/ |
H A D | nvc0_program.c | 415 gp->hdr[4] = info->prop.gp.maxVertices & 0x1ff;
|