From 60799fb74baba4c2cbf56ee2b5985a43ff83d6f7 Mon Sep 17 00:00:00 2001 From: Jason Sams Date: Tue, 9 Apr 2013 22:08:40 -0700 Subject: Fix docs with deprecated resize1D Change-Id: Id1774e1e8be1c1600efaa535cf330e659addb703 --- graphics/java/android/renderscript/Allocation.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/graphics/java/android/renderscript/Allocation.java b/graphics/java/android/renderscript/Allocation.java index 9147992..5751331 100644 --- a/graphics/java/android/renderscript/Allocation.java +++ b/graphics/java/android/renderscript/Allocation.java @@ -1207,7 +1207,9 @@ public class Allocation extends BaseObj { * * @param dimX The new size of the allocation. * - * @deprecated + * @deprecated Renderscript objects should be immutable once + * created. The replacement is to create a new allocation and copy the + * contents. */ public synchronized void resize(int dimX) { if ((mType.getY() > 0)|| (mType.getZ() > 0) || mType.hasFaces() || mType.hasMipmaps()) { -- cgit v1.1