From fb9aa9f3ef11878caaf6fcfb5ea49ffb9f7abf33 Mon Sep 17 00:00:00 2001 From: Jason Sams Date: Wed, 28 Mar 2012 15:30:07 -0700 Subject: Convert from SurfaceTexture to Surface Change-Id: I2ad4307294d4144999ca0c12ac19849b188243fb --- graphics/java/android/renderscript/RenderScript.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'graphics/java/android/renderscript/RenderScript.java') diff --git a/graphics/java/android/renderscript/RenderScript.java b/graphics/java/android/renderscript/RenderScript.java index ab6ba54..dffd400 100644 --- a/graphics/java/android/renderscript/RenderScript.java +++ b/graphics/java/android/renderscript/RenderScript.java @@ -299,10 +299,10 @@ public class RenderScript { validate(); rsnAllocationGetSurfaceTextureID2(mContext, alloc, st); } - native void rsnAllocationSetSurfaceTexture(int con, int alloc, SurfaceTexture sur); - synchronized void nAllocationSetSurfaceTexture(int alloc, SurfaceTexture sur) { + native void rsnAllocationSetSurface(int con, int alloc, Surface sur); + synchronized void nAllocationSetSurface(int alloc, Surface sur) { validate(); - rsnAllocationSetSurfaceTexture(mContext, alloc, sur); + rsnAllocationSetSurface(mContext, alloc, sur); } native void rsnAllocationIoSend(int con, int alloc); synchronized void nAllocationIoSend(int alloc) { -- cgit v1.1