diff options
| author | Jason Sams <jsams@google.com> | 2011-11-23 15:02:15 -0800 |
|---|---|---|
| committer | Jason Sams <jsams@google.com> | 2011-11-23 15:02:15 -0800 |
| commit | 857d0c7017da763a420e825fffa2f260eb982c97 (patch) | |
| tree | 4c09958d416f38f0d843a8f2355bce36dbd44959 /graphics/java/android/renderscript/RenderScript.java | |
| parent | 78af992929af919d3449ab6e58b791f125e16f62 (diff) | |
| download | frameworks_base-857d0c7017da763a420e825fffa2f260eb982c97.zip frameworks_base-857d0c7017da763a420e825fffa2f260eb982c97.tar.gz frameworks_base-857d0c7017da763a420e825fffa2f260eb982c97.tar.bz2 | |
Private API to support MFF transition.
Change-Id: I17cc9dc46eb37e4397428ba64305b0fd8ed3ae81
Diffstat (limited to 'graphics/java/android/renderscript/RenderScript.java')
| -rw-r--r-- | graphics/java/android/renderscript/RenderScript.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/graphics/java/android/renderscript/RenderScript.java b/graphics/java/android/renderscript/RenderScript.java index 5746e94..c0cb324 100644 --- a/graphics/java/android/renderscript/RenderScript.java +++ b/graphics/java/android/renderscript/RenderScript.java @@ -228,10 +228,10 @@ public class RenderScript { rsnTypeGetNativeData(mContext, id, typeData); } - native int rsnAllocationCreateTyped(int con, int type, int mip, int usage); - synchronized int nAllocationCreateTyped(int type, int mip, int usage) { + native int rsnAllocationCreateTyped(int con, int type, int mip, int usage, int pointer); + synchronized int nAllocationCreateTyped(int type, int mip, int usage, int pointer) { validate(); - return rsnAllocationCreateTyped(mContext, type, mip, usage); + return rsnAllocationCreateTyped(mContext, type, mip, usage, pointer); } native int rsnAllocationCreateFromBitmap(int con, int type, int mip, Bitmap bmp, int usage); synchronized int nAllocationCreateFromBitmap(int type, int mip, Bitmap bmp, int usage) { |
