Add text rendering.
Change-Id: Ibe5a9fa844d531b31b55e43de403a98d49f659b9
diff --git a/libs/hwui/Program.h b/libs/hwui/Program.h
index 18a8e92..824aa05 100644
--- a/libs/hwui/Program.h
+++ b/libs/hwui/Program.h
@@ -167,6 +167,7 @@
class DrawTextureProgram: public DrawColorProgram {
public:
DrawTextureProgram();
+ DrawTextureProgram(const char* vertex, const char* fragment);
/**
* Binds this program to the GL context.
@@ -190,6 +191,11 @@
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: