diff options
| author | 2010-07-21 21:34:47 -0700 | |
|---|---|---|
| committer | 2010-07-21 21:34:47 -0700 | |
| commit | 236d4ee896c831183ca8b873406e3fe7b5fa3058 (patch) | |
| tree | 279741d4a1a9fd5630e4cd8bb9e23cdb7c87a393 /libs/hwui/Program.h | |
| parent | a265083890cf67b35e432506e81fb90e7cf2bff8 (diff) | |
| parent | 694b519ac647fe998fd396fe0784cc8e179aadc4 (diff) | |
Merge "Add text rendering."
Diffstat (limited to 'libs/hwui/Program.h')
| -rw-r--r-- | libs/hwui/Program.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libs/hwui/Program.h b/libs/hwui/Program.h index 18a8e925460b..824aa0525e44 100644 --- a/libs/hwui/Program.h +++ b/libs/hwui/Program.h @@ -167,6 +167,7 @@ protected: class DrawTextureProgram: public DrawColorProgram { public: DrawTextureProgram(); + DrawTextureProgram(const char* vertex, const char* fragment); /** * Binds this program to the GL context. @@ -190,6 +191,11 @@ public: int texCoords; }; +class DrawTextProgram: public DrawTextureProgram { +public: + DrawTextProgram(); +}; + /** * Program used to draw linear gradients. In addition to everything that the * DrawColorProgram supports, the following two attributes must be specified: |