• Home
  • Raw
  • Download

Lines Matching refs:mesh

744         TextureVertex* mesh = mCaches.getRegionMesh();  in composeLayerRegion()  local
767 setupDrawMesh(&mesh[0].position[0], &mesh[0].texture[0]); in composeLayerRegion()
778 TextureVertex::set(mesh++, r->left, r->top, u1, v1); in composeLayerRegion()
779 TextureVertex::set(mesh++, r->right, r->top, u2, v1); in composeLayerRegion()
780 TextureVertex::set(mesh++, r->left, r->bottom, u1, v2); in composeLayerRegion()
781 TextureVertex::set(mesh++, r->right, r->bottom, u2, v2); in composeLayerRegion()
788 mesh = mCaches.getRegionMesh(); in composeLayerRegion()
883 Vertex mesh[count * 6]; in clearLayerRegions() local
884 Vertex* vertex = mesh; in clearLayerRegions()
908 gVertexStride, &mesh[0].position[0]); in clearLayerRegions()
1419 TextureVertex mesh[count]; in drawBitmapMesh() local
1420 TextureVertex* vertex = mesh; in drawBitmapMesh()
1466 mode, texture->blend, &mesh[0].position[0], &mesh[0].texture[0], in drawBitmapMesh()
1543 const Patch* mesh = mCaches.patchCache.get(bitmap->width(), bitmap->height(), in drawPatch() local
1546 if (mesh && mesh->verticesCount > 0) { in drawPatch()
1550 if (hasLayer() && mesh->hasEmptyQuads) { in drawPatch()
1553 const size_t count = mesh->quads.size(); in drawPatch()
1555 const Rect& bounds = mesh->quads.itemAt(i); in drawPatch()
1574 GL_TRIANGLES, mesh->verticesCount, false, true, mesh->meshBuffer, in drawPatch()
1575 true, !mesh->hasEmptyQuads); in drawPatch()
1579 GL_TRIANGLES, mesh->verticesCount, false, false, mesh->meshBuffer, in drawPatch()
1580 true, !mesh->hasEmptyQuads); in drawPatch()
2227 } else if (layer->mesh) { in drawLayer()
2252 setupDrawMesh(&layer->mesh[0].position[0], &layer->mesh[0].texture[0]); in drawLayer()