summaryrefslogtreecommitdiff
path: root/libs/hwui/Program.h
diff options
context:
space:
mode:
author Romain Guy <romainguy@google.com> 2010-07-21 21:34:47 -0700
committer Android (Google) Code Review <android-gerrit@google.com> 2010-07-21 21:34:47 -0700
commit236d4ee896c831183ca8b873406e3fe7b5fa3058 (patch)
tree279741d4a1a9fd5630e4cd8bb9e23cdb7c87a393 /libs/hwui/Program.h
parenta265083890cf67b35e432506e81fb90e7cf2bff8 (diff)
parent694b519ac647fe998fd396fe0784cc8e179aadc4 (diff)
Merge "Add text rendering."
Diffstat (limited to 'libs/hwui/Program.h')
-rw-r--r--libs/hwui/Program.h6
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: