Use VBOs to render most geometries.
Change-Id: I4360dc4fe5693ab425450c107282b2c22db4dca7
diff --git a/libs/hwui/Line.h b/libs/hwui/Line.h
index 64bdd6a..c529354 100644
--- a/libs/hwui/Line.h
+++ b/libs/hwui/Line.h
@@ -96,12 +96,8 @@
ty = lineWidth <= 1.0f ? -gLineAABias : -half - gLineAABias;
}
- inline GLvoid* getVertices() const {
- return &mPatch->vertices[0].position[0];
- }
-
- inline GLvoid* getTexCoords() const {
- return &mPatch->vertices[0].texture[0];
+ inline GLuint getMeshBuffer() const {
+ return mPatch->meshBuffer;
}
inline GLsizei getElementsCount() const {