Adding freetype font rendering to renderscript.

Change-Id: I3a10ffe27092a41df156341c9cb3f7aa19c49f19
This commit is contained in:
Alex Sakhartchouk
2010-06-24 17:15:34 -07:00
parent 8f31bd6b68
commit 9b949fce39
22 changed files with 1250 additions and 15 deletions

View File

@@ -123,6 +123,8 @@ public class RenderScript {
native void nFileA3DGetIndexEntries(int fileA3D, int numEntries, int[] IDs, String[] names);
native int nFileA3DGetEntryByIndex(int fileA3D, int index);
native int nFontCreateFromFile(String fileName, int size, int dpi);
native void nAdapter1DBindAllocation(int ad, int alloc);
native void nAdapter1DSetConstraint(int ad, int dim, int value);
native void nAdapter1DData(int ad, int[] d);