From 85dae045a2c3ac7b9d4bcad7a83ec587d0b7813e Mon Sep 17 00:00:00 2001 From: Alex Sakhartchouk Date: Mon, 6 Jun 2011 09:25:17 -0700 Subject: [PATCH] Unhiding render target code for renderscript Change-Id: I32d80e6c49dbda955402f7ddffdb213c70ddbec9 --- api/current.txt | 1 + graphics/java/android/renderscript/Allocation.java | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/api/current.txt b/api/current.txt index 3a90ef7a3c3c1..349e907e279ae 100644 --- a/api/current.txt +++ b/api/current.txt @@ -16416,6 +16416,7 @@ package android.renderscript { method public void setFromFieldPacker(int, int, android.renderscript.FieldPacker); method public void syncAll(int); field public static final int USAGE_GRAPHICS_CONSTANTS = 8; // 0x8 + field public static final int USAGE_GRAPHICS_RENDER_TARGET = 16; // 0x10 field public static final int USAGE_GRAPHICS_TEXTURE = 2; // 0x2 field public static final int USAGE_GRAPHICS_VERTEX = 4; // 0x4 field public static final int USAGE_SCRIPT = 1; // 0x1 diff --git a/graphics/java/android/renderscript/Allocation.java b/graphics/java/android/renderscript/Allocation.java index 9ac1a00b9a8a9..3c8aba36563ac 100644 --- a/graphics/java/android/renderscript/Allocation.java +++ b/graphics/java/android/renderscript/Allocation.java @@ -100,7 +100,6 @@ public class Allocation extends BaseObj { public static final int USAGE_GRAPHICS_CONSTANTS = 0x0008; /** - * @hide * USAGE_GRAPHICS_RENDER_TARGET The allcation will be used as a * target for offscreen rendering *