Searched refs:vertexAttributes (Results 1 – 6 of 6) sorted by relevance
/external/libgdx/gdx/src/com/badlogic/gdx/graphics/g3d/ |
D | ModelCache.java | 51 Mesh obtain (VertexAttributes vertexAttributes, int vertexCount, int indexCount); in obtain() argument 73 public Mesh obtain (VertexAttributes vertexAttributes, int vertexCount, int indexCount) { in obtain() argument 76 if (mesh.getVertexAttributes().equals(vertexAttributes) && mesh.getMaxVertices() >= vertexCount in obtain() 85 Mesh result = new Mesh(false, vertexCount, indexCount, vertexAttributes); in obtain() 114 public Mesh obtain (VertexAttributes vertexAttributes, int vertexCount, int indexCount) { in obtain() argument 117 if (mesh.getVertexAttributes().equals(vertexAttributes) && mesh.getMaxVertices() == vertexCount in obtain() 124 Mesh result = new Mesh(true, vertexCount, indexCount, vertexAttributes); in obtain() 261 VertexAttributes vertexAttributes = first.meshPart.mesh.getVertexAttributes(); in end() local 266 meshBuilder.begin(vertexAttributes); in end() 276 final boolean sameMesh = va.equals(vertexAttributes) in end() [all …]
|
/external/libgdx/gdx/src/com/badlogic/gdx/graphics/g3d/loader/ |
D | G3dModelLoader.java | 144 Array<VertexAttribute> vertexAttributes = new Array<VertexAttribute>(); in parseAttributes() local 151 vertexAttributes.add(VertexAttribute.Position()); in parseAttributes() 153 vertexAttributes.add(VertexAttribute.Normal()); in parseAttributes() 155 vertexAttributes.add(VertexAttribute.ColorUnpacked()); in parseAttributes() 157 vertexAttributes.add(VertexAttribute.ColorPacked()); in parseAttributes() 159 vertexAttributes.add(VertexAttribute.Tangent()); in parseAttributes() 161 vertexAttributes.add(VertexAttribute.Binormal()); in parseAttributes() 163 vertexAttributes.add(VertexAttribute.TexCoords(unit++)); in parseAttributes() 165 vertexAttributes.add(VertexAttribute.BoneWeight(blendWeightCount++)); in parseAttributes() 171 return vertexAttributes.toArray(VertexAttribute.class); in parseAttributes()
|
/external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/ |
D | VBOWithVAOPerformanceTest.java | 88 …VertexAttribute[] vertexAttributes = new VertexAttribute[] {VertexAttribute.Position(), VertexAttr… in create() local 90 …ObjectWithVAO newVBOWithVAO = new VertexBufferObjectWithVAO(false, maxVertices, vertexAttributes); in create() 91 …ectWithVAO oldVBOWithVAO = new OldVertexBufferObjectWithVAO(false, maxVertices, vertexAttributes); in create()
|
/external/deqp/modules/gles2/performance/ |
D | es2pShaderCompilationCases.cpp | 407 vector<AttribSpec> vertexAttributes; member 1739 for (int attribNdx = 0; attribNdx < (int)progCtx.vertexAttributes.size(); attribNdx++) in setShaderInputs() 1741 int location = gl.getAttribLocation(program, progCtx.vertexAttributes[attribNdx].name.c_str()); in setShaderInputs() 1745 …gl.vertexAttribPointer(location, 4, GL_FLOAT, GL_FALSE, 0, progCtx.vertexAttributes[attribNdx].val… in setShaderInputs() 1798 for (int attribNdx = 0; attribNdx < (int)progCtx.vertexAttributes.size(); attribNdx++) in cleanup() 1800 …int location = gl.getAttribLocation(shadersAndProgram.program, progCtx.vertexAttributes[attribNdx]… in cleanup() 1860 progCtx.vertexAttributes = singleValueShaderAttributes(getNameSpecialization(specID)); in iterate() 2200 result.vertexAttributes = lightShaderAttributes(nameSpec); in generateShaderData() 2266 …result.vertexAttributes = textureLookupShaderAttributes(nameSpec, m_conditionalUsage, m_condition… in generateShaderData() 2294 result.vertexAttributes = loopShaderAttributes(nameSpec, m_type, m_numLoopIterations); in generateShaderData() [all …]
|
/external/deqp/modules/gles3/performance/ |
D | es3pShaderCompilationCases.cpp | 407 vector<AttribSpec> vertexAttributes; member 1759 for (int attribNdx = 0; attribNdx < (int)progCtx.vertexAttributes.size(); attribNdx++) in setShaderInputs() 1761 int location = gl.getAttribLocation(program, progCtx.vertexAttributes[attribNdx].name.c_str()); in setShaderInputs() 1765 …gl.vertexAttribPointer(location, 4, GL_FLOAT, GL_FALSE, 0, progCtx.vertexAttributes[attribNdx].val… in setShaderInputs() 1818 for (int attribNdx = 0; attribNdx < (int)progCtx.vertexAttributes.size(); attribNdx++) in cleanup() 1820 …int location = gl.getAttribLocation(shadersAndProgram.program, progCtx.vertexAttributes[attribNdx]… in cleanup() 1880 progCtx.vertexAttributes = singleValueShaderAttributes(getNameSpecialization(specID)); in iterate() 2220 result.vertexAttributes = lightShaderAttributes(nameSpec); in generateShaderData() 2286 …result.vertexAttributes = textureLookupShaderAttributes(nameSpec, m_conditionalUsage, m_condition… in generateShaderData() 2314 result.vertexAttributes = loopShaderAttributes(nameSpec, m_type, m_numLoopIterations); in generateShaderData() [all …]
|
/external/libgdx/gdx/src/com/badlogic/gdx/graphics/ |
D | Mesh.java | 136 …ertexData makeVertexBuffer (boolean isStatic, int maxVertices, VertexAttributes vertexAttributes) { in makeVertexBuffer() argument 138 return new VertexBufferObjectWithVAO(isStatic, maxVertices, vertexAttributes); in makeVertexBuffer() 140 return new VertexBufferObject(isStatic, maxVertices, vertexAttributes); in makeVertexBuffer()
|