Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/
DPatchCache.cpp166 void PatchCache::setupMesh(Patch* newMesh) { in setupMesh() argument
173 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() local
236 if (newMesh->vertices) { in get()
237 setupMesh(newMesh); in get()
244 mCache.put(description, newMesh); in get()
[all …]
DPatchCache.h156 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()