diff options
| author | 2010-07-21 21:33:20 -0700 | |
|---|---|---|
| committer | 2010-07-21 21:33:20 -0700 | |
| commit | 694b519ac647fe998fd396fe0784cc8e179aadc4 (patch) | |
| tree | 80a5e423f90aba3ab74645ac7f3b2cbfd838c757 /libs/hwui/Program.h | |
| parent | 0119ba5bd3335fe026927eeb65de535a7bd8c838 (diff) | |
Add text rendering.
Change-Id: Ibe5a9fa844d531b31b55e43de403a98d49f659b9
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: |