Home | History | Annotate | Download | only in hwui

Lines Matching refs:newMesh

171 void PatchCache::setupMesh(Patch* newMesh, TextureVertex* vertices) {
176 uint32_t size = newMesh->getSize();
204 newMesh->offset = (GLintptr) (block->offset);
205 newMesh->textureOffset = newMesh->offset + gMeshTextureOffset;
206 glBufferSubData(GL_ARRAY_BUFFER, newMesh->offset, size, vertices);
232 Patch* newMesh = new Patch();
237 vertices = newMesh->createMesh(bitmapWidth, bitmapHeight,
240 vertices = newMesh->createMesh(bitmapWidth, bitmapHeight,
245 setupMesh(newMesh, vertices);
252 mCache.put(description, newMesh);
253 return newMesh;