Searched refs:newMesh (Results 1 – 3 of 3) sorted by relevance
183 void PatchCache::setupMesh(Patch* newMesh) { in setupMesh() argument188 uint32_t size = newMesh->getSize(); in setupMesh()216 newMesh->positionOffset = (GLintptr) (block->offset); in setupMesh()217 newMesh->textureOffset = newMesh->positionOffset + kMeshTextureOffset; in setupMesh()218 glBufferSubData(GL_ARRAY_BUFFER, newMesh->positionOffset, size, newMesh->vertices.get()); in setupMesh()248 Patch* newMesh = new Patch(bitmapWidth, bitmapHeight, in get() local251 if (newMesh->vertices) { in get()252 setupMesh(newMesh); in get()259 mCache.put(description, newMesh); in get()260 return newMesh; in get()
163 void setupMesh(Patch* newMesh);
395 Mesh newMesh = new Mesh(id, mRS); in create() local396 newMesh.mVertexBuffers = vertexBuffers; in create()397 newMesh.mIndexBuffers = indexBuffers; in create()398 newMesh.mPrimitives = primitives; in create()400 return newMesh; in create()539 Mesh newMesh = new Mesh(id, mRS); in create() local540 newMesh.mVertexBuffers = vertexBuffers; in create()541 newMesh.mIndexBuffers = indexBuffers; in create()542 newMesh.mPrimitives = primitives; in create()544 return newMesh; in create()