| commit | fb10c16a0528a418053e4b8e75eebe57476b86ef | [log] [tgz] |
|---|---|---|
| author | Alex Sakhartchouk <alexst@google.com> | Wed Aug 04 14:45:48 2010 -0700 |
| committer | Alex Sakhartchouk <alexst@google.com> | Wed Aug 04 14:45:48 2010 -0700 |
| tree | 3a48101a091f1e5b34a3c2dd96d7d01fcfd45635 | |
| parent | cf9a44cdf3647c8b31499ad6250f63259c0e34e2 [diff] [blame] |
Added ability to set font color. Propagating the name of meshes and allocations from native a3d to java Change-Id: If781f55340b5369459610e5e92ea69e240dcd24e
diff --git a/graphics/java/android/renderscript/Allocation.java b/graphics/java/android/renderscript/Allocation.java index 87735b5..46f3eae 100644 --- a/graphics/java/android/renderscript/Allocation.java +++ b/graphics/java/android/renderscript/Allocation.java
@@ -48,6 +48,7 @@ @Override void updateFromNative() { mRS.validate(); + mName = mRS.nGetName(mID); int typeID = mRS.nAllocationGetType(mID); if(typeID != 0) { mType = new Type(typeID, mRS);