diff options
author | Romain Guy <romainguy@google.com> | 2010-07-27 19:53:33 -0700 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2010-07-27 19:53:33 -0700 |
commit | 85d8daa889db113b51c5d98929245e80f7277388 (patch) | |
tree | c20b40f4ea72fc2010fb6edf9cc1e1c5d76f2714 /libs/hwui/OpenGLRenderer.h | |
parent | 8b67752c82a26e21fe0977cb5e201acf2e22824d (diff) | |
parent | ac670c0433d19397d4e36ced2110475b6f54fe26 (diff) | |
download | frameworks_base-85d8daa889db113b51c5d98929245e80f7277388.zip frameworks_base-85d8daa889db113b51c5d98929245e80f7277388.tar.gz frameworks_base-85d8daa889db113b51c5d98929245e80f7277388.tar.bz2 |
Merge "Generate shaders to cover all possible cases."
Diffstat (limited to 'libs/hwui/OpenGLRenderer.h')
-rw-r--r-- | libs/hwui/OpenGLRenderer.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/libs/hwui/OpenGLRenderer.h b/libs/hwui/OpenGLRenderer.h index 248c9c3..975be05 100644 --- a/libs/hwui/OpenGLRenderer.h +++ b/libs/hwui/OpenGLRenderer.h @@ -41,6 +41,7 @@ #include "PatchCache.h" #include "Vertex.h" #include "FontRenderer.h" +#include "ProgramCache.h" namespace android { namespace uirenderer { @@ -268,7 +269,7 @@ private: SkXfermode::Mode mode); /** - * Resets the texture coordinates stored in mDrawTextureVertices. Setting the values + * Resets the texture coordinates stored in mMeshVertices. Setting the values * back to default is achieved by calling: * * resetDrawTextureTexCoords(0.0f, 0.0f, 1.0f, 1.0f); @@ -337,7 +338,7 @@ private: sp<DrawLinearGradientProgram> mDrawLinearGradientProgram; // Used to draw textured quads - TextureVertex mDrawTextureVertices[4]; + TextureVertex mMeshVertices[4]; // Current texture state GLuint mLastTexture; @@ -372,6 +373,7 @@ private: TextureCache mTextureCache; LayerCache mLayerCache; GradientCache mGradientCache; + ProgramCache mProgramCache; PatchCache mPatchCache; }; // class OpenGLRenderer |