diff options
author | Xusong Wang <xusongw@google.com> | 2021-01-05 10:09:52 -0800 |
---|---|---|
committer | Xusong Wang <xusongw@google.com> | 2021-03-01 10:20:09 -0800 |
commit | 8b4548c43a06290b5d9446c0235e65f21e9bfe5d (patch) | |
tree | 9ece9eded5cc01b1c5caf496dfbf9212913c0268 /rs/java/android/renderscript/ScriptIntrinsicLUT.java | |
parent | 99051f249a809c856f5ded170bb2bdd8b9fd43d1 (diff) |
Deprecate RS Java APIs.
This CL marks RenderScript Java APIs as deprecated.
Bug: 168711199
Test: m
Test: CtsRenderscriptTestCases
Test: CtsRsCppTestCases
Test: CtsRsBlasTestCases
Change-Id: Id271a794679d445c480d62c87ae6c8150f6901f8
Diffstat (limited to 'rs/java/android/renderscript/ScriptIntrinsicLUT.java')
-rw-r--r-- | rs/java/android/renderscript/ScriptIntrinsicLUT.java | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/rs/java/android/renderscript/ScriptIntrinsicLUT.java b/rs/java/android/renderscript/ScriptIntrinsicLUT.java index e90462d11124..7d5b09fb41aa 100644 --- a/rs/java/android/renderscript/ScriptIntrinsicLUT.java +++ b/rs/java/android/renderscript/ScriptIntrinsicLUT.java @@ -21,7 +21,12 @@ package android.renderscript; * channel of the input has an independant lookup table. The * tables are 256 entries in size and can cover the full value * range of {@link Element#U8_4}. + * + * @deprecated Renderscript has been deprecated in API level 31. Please refer to the <a + * href="https://developer.android.com/guide/topics/renderscript/migration-guide">migration + * guide</a> for the proposed alternatives. **/ +@Deprecated public final class ScriptIntrinsicLUT extends ScriptIntrinsic { private final Matrix4f mMatrix = new Matrix4f(); private Allocation mTables; |