Home | History | Annotate | Download | only in hwui

Lines Matching defs:mesh

79     Patch* mesh = NULL;
81 mesh = mCache.valueAt(index);
84 if (!mesh) {
85 PATCH_LOGD("New patch mesh "
89 mesh = new Patch(width, height, transparentQuads);
90 mesh->updateColorKey(colorKey);
91 mesh->copy(xDivs, yDivs);
92 mesh->updateVertices(bitmapWidth, bitmapHeight, 0.0f, 0.0f, pixelWidth, pixelHeight);
99 mCache.add(description, mesh);
100 } else if (!mesh->matches(xDivs, yDivs, colorKey)) {
101 PATCH_LOGD("Patch mesh does not match, refreshing vertices");
102 mesh->updateVertices(bitmapWidth, bitmapHeight, 0.0f, 0.0f, pixelWidth, pixelHeight);
105 return mesh;