Added ability to set font color.
Propagating the name of meshes and allocations from native a3d to java
Change-Id: If781f55340b5369459610e5e92ea69e240dcd24e
diff --git a/libs/rs/rsFont.h b/libs/rs/rsFont.h
index e1a957a..2d9a34a 100644
--- a/libs/rs/rsFont.h
+++ b/libs/rs/rsFont.h
@@ -116,6 +116,8 @@
void renderText(Allocation *alloc, int x, int y);
void renderText(Allocation *alloc, uint32_t start, int len, int x, int y);
+ void setFontColor(float r, float g, float b, float a);
+
protected:
friend class Font;
@@ -151,6 +153,9 @@
Context *mRSC;
+ float mFontColor[4];
+ bool mFontColorDirty;
+
// Free type library, we only need one copy
FT_Library mLibrary;
FT_Library getLib();