summaryrefslogtreecommitdiff
path: root/rs/java/android
diff options
context:
space:
mode:
author Stephen Hines <srhines@google.com> 2016-01-30 17:57:30 +0000
committer android-build-merger <android-build-merger@google.com> 2016-01-30 17:57:30 +0000
commit0ff759ccaeaa073eb199486a3114ac37add0f95b (patch)
tree5ad20e397dab9e3ac057960ad60f9d633f8ecf67 /rs/java/android
parent96a34090c97da30b3fa197c9439b206bc6cf6bc5 (diff)
parentc033f493f23574dc69bf8ecd0f04af8910b4a47e (diff)
Merge "Remove the CREATE_FLAG_OPT_LEVEL_0 from the Java API." am: 49aee686d8
am: c033f493f2 * commit 'c033f493f23574dc69bf8ecd0f04af8910b4a47e': Remove the CREATE_FLAG_OPT_LEVEL_0 from the Java API.
Diffstat (limited to 'rs/java/android')
-rw-r--r--rs/java/android/renderscript/RenderScript.java9
1 files changed, 1 insertions, 8 deletions
diff --git a/rs/java/android/renderscript/RenderScript.java b/rs/java/android/renderscript/RenderScript.java
index 51fc7dd06232..425569cd8fa1 100644
--- a/rs/java/android/renderscript/RenderScript.java
+++ b/rs/java/android/renderscript/RenderScript.java
@@ -98,13 +98,6 @@ public class RenderScript {
*/
public static final int CREATE_FLAG_WAIT_FOR_ATTACH = 0x0008;
- /**
- * @hide
- * Context creation flag which specifies that optimization level 0 is
- * passed to the device compiler upon execution of the RenderScript kernel.
- * The default optimization level is 3.
- */
- public static final int CREATE_FLAG_OPT_LEVEL_0 = 0x0010;
/*
* Detect the bitness of the VM to allow FieldPacker to do the right thing.
@@ -1406,7 +1399,7 @@ public class RenderScript {
}
if ((flags & ~(CREATE_FLAG_LOW_LATENCY | CREATE_FLAG_LOW_POWER |
- CREATE_FLAG_WAIT_FOR_ATTACH | CREATE_FLAG_OPT_LEVEL_0)) != 0) {
+ CREATE_FLAG_WAIT_FOR_ATTACH)) != 0) {
throw new RSIllegalArgumentException("Invalid flags passed.");
}