summaryrefslogtreecommitdiffstats
path: root/libs/hwui/OpenGLRenderer.h
diff options
context:
space:
mode:
authorRomain Guy <romainguy@google.com>2013-02-13 18:39:43 -0800
committerRomain Guy <romainguy@google.com>2013-02-13 18:39:43 -0800
commitff316ec7a76e52572a2e89b691e6b3bba0cafba3 (patch)
tree8418a45b809c9382a0fc3d9d9bb6db6a537dd4cc /libs/hwui/OpenGLRenderer.h
parent2b44eb75c42e4caa94f0b002f0ea9e134fe7b543 (diff)
downloadframeworks_base-ff316ec7a76e52572a2e89b691e6b3bba0cafba3.zip
frameworks_base-ff316ec7a76e52572a2e89b691e6b3bba0cafba3.tar.gz
frameworks_base-ff316ec7a76e52572a2e89b691e6b3bba0cafba3.tar.bz2
Implement support for drawBitmapMesh's colors array
Change-Id: I3d901f6267c2918771ac30ff55c8d80c3ab5b725
Diffstat (limited to 'libs/hwui/OpenGLRenderer.h')
-rw-r--r--libs/hwui/OpenGLRenderer.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libs/hwui/OpenGLRenderer.h b/libs/hwui/OpenGLRenderer.h
index 0ad81c1..ad80d36 100644
--- a/libs/hwui/OpenGLRenderer.h
+++ b/libs/hwui/OpenGLRenderer.h
@@ -777,6 +777,7 @@ private:
* Various methods to setup OpenGL rendering.
*/
void setupDrawWithTexture(bool isAlpha8 = false);
+ void setupDrawWithTextureAndColor(bool isAlpha8 = false);
void setupDrawWithExternalTexture();
void setupDrawNoTexture();
void setupDrawAA();
@@ -811,6 +812,7 @@ private:
void setupDrawTextureTransformUniforms(mat4& transform);
void setupDrawTextGammaUniforms();
void setupDrawMesh(GLvoid* vertices, GLvoid* texCoords = NULL, GLuint vbo = 0);
+ void setupDrawMesh(GLvoid* vertices, GLvoid* texCoords, GLvoid* colors);
void setupDrawMeshIndices(GLvoid* vertices, GLvoid* texCoords);
void setupDrawVertices(GLvoid* vertices);
void finishDrawTexture();