diff options
author | Xusong Wang <xusongw@google.com> | 2021-04-23 01:16:04 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2021-04-23 01:16:04 +0000 |
commit | 67485cf9300778d7f20c34b6edb67a6da16fa8fd (patch) | |
tree | 330152fc2ce99e099645aae0a99647c036f2cbf0 /rs/java/android/renderscript/Program.java | |
parent | 81f00f0198d7adc0e0198c06f8383924aafa8f9b (diff) | |
parent | 2edb06b86803bbd6e05431d9ad356305b3e5ef29 (diff) |
Merge changes from topic "rs-deprecation"
* changes:
Silence compiler errors because of renderscript deprecation.
Deprecate RS Java APIs.
Diffstat (limited to 'rs/java/android/renderscript/Program.java')
-rw-r--r-- | rs/java/android/renderscript/Program.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/rs/java/android/renderscript/Program.java b/rs/java/android/renderscript/Program.java index ff072183e927..3cadc935e67c 100644 --- a/rs/java/android/renderscript/Program.java +++ b/rs/java/android/renderscript/Program.java @@ -32,7 +32,11 @@ import java.io.UnsupportedEncodingException; * Program is a base class for all the objects that modify * various stages of the graphics pipeline * + * @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 class Program extends BaseObj { static final int MAX_INPUT = 8; static final int MAX_OUTPUT = 8; |