Searched refs:newMesh (Results 1 – 3 of 3) sorted by relevance
166 void PatchCache::setupMesh(Patch* newMesh) { in setupMesh() argument173 uint32_t size = newMesh->getSize(); in setupMesh()201 newMesh->positionOffset = (GLintptr) (block->offset); in setupMesh()202 newMesh->textureOffset = newMesh->positionOffset + kMeshTextureOffset; in setupMesh()204 mRenderState.meshState().updateMeshBufferSubData(mMeshBuffer, newMesh->positionOffset, size, in setupMesh()205 newMesh->vertices.get()); in setupMesh()233 Patch* newMesh = new Patch(bitmapWidth, bitmapHeight, in get() local236 if (newMesh->vertices) { in get()237 setupMesh(newMesh); in get()244 mCache.put(description, newMesh); in get()[all …]
156 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()