Home
last modified time | relevance | path

Searched refs:newMesh (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/libs/hwui/
DPatchCache.cpp183 void PatchCache::setupMesh(Patch* newMesh) { in setupMesh() argument
188 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() local
251 if (newMesh->vertices) { in get()
252 setupMesh(newMesh); in get()
259 mCache.put(description, newMesh); in get()
260 return newMesh; in get()
DPatchCache.h163 void setupMesh(Patch* newMesh);
/frameworks/base/rs/java/android/renderscript/
DMesh.java395 Mesh newMesh = new Mesh(id, mRS); in create() local
396 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() local
540 newMesh.mVertexBuffers = vertexBuffers; in create()
541 newMesh.mIndexBuffers = indexBuffers; in create()
542 newMesh.mPrimitives = primitives; in create()
544 return newMesh; in create()