diff options
| author | Alex Sakhartchouk <alexst@google.com> | 2010-08-04 14:45:48 -0700 |
|---|---|---|
| committer | Alex Sakhartchouk <alexst@google.com> | 2010-08-04 14:45:48 -0700 |
| commit | fb10c16a0528a418053e4b8e75eebe57476b86ef (patch) | |
| tree | 3a48101a091f1e5b34a3c2dd96d7d01fcfd45635 /graphics/java/android/renderscript/Allocation.java | |
| parent | cf9a44cdf3647c8b31499ad6250f63259c0e34e2 (diff) | |
| download | frameworks_base-fb10c16a0528a418053e4b8e75eebe57476b86ef.zip frameworks_base-fb10c16a0528a418053e4b8e75eebe57476b86ef.tar.gz frameworks_base-fb10c16a0528a418053e4b8e75eebe57476b86ef.tar.bz2 | |
Added ability to set font color.
Propagating the name of meshes and allocations from native a3d to java
Change-Id: If781f55340b5369459610e5e92ea69e240dcd24e
Diffstat (limited to 'graphics/java/android/renderscript/Allocation.java')
| -rw-r--r-- | graphics/java/android/renderscript/Allocation.java | 1 |
1 files changed, 1 insertions, 0 deletions
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 @@ public class Allocation extends BaseObj { @Override void updateFromNative() { mRS.validate(); + mName = mRS.nGetName(mID); int typeID = mRS.nAllocationGetType(mID); if(typeID != 0) { mType = new Type(typeID, mRS); |
