summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramVertex.java
diff options
context:
space:
mode:
authorXusong Wang <xusongw@google.com>2021-03-11 00:29:08 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2021-03-11 00:29:08 +0000
commite2be820dc65b39848f274cf060b72e6a95fe28fb (patch)
tree8c5eaddf5ace0d2db41cf7d7a76381d4761b97b1 /rs/java/android/renderscript/ProgramVertex.java
parent70aa412d994750ac8896ddeba72dfc10b732f3c1 (diff)
parentefbe8ac6458560b04a403c404071ace6b1833883 (diff)
Merge changes from topic "renderscript-deprecation" into sc-dev
* changes: Silence compiler errors because of renderscript deprecation. Deprecate RS Java APIs.
Diffstat (limited to 'rs/java/android/renderscript/ProgramVertex.java')
-rw-r--r--rs/java/android/renderscript/ProgramVertex.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/rs/java/android/renderscript/ProgramVertex.java b/rs/java/android/renderscript/ProgramVertex.java
index 9257234de42c..ecd8a31ed130 100644
--- a/rs/java/android/renderscript/ProgramVertex.java
+++ b/rs/java/android/renderscript/ProgramVertex.java
@@ -34,7 +34,6 @@
* The signatures don't have to be exact or in any strict order. As long as the input name in the shader
* matches a channel name and size available on the mesh, the runtime takes care of connecting the
* two. Unlike OpenGL, there is no need to link the vertex and fragment programs.</p>
- *
**/
package android.renderscript;
@@ -49,6 +48,7 @@ import android.compat.annotation.UnsupportedAppUsage;
* geometric data in a user-defined way.
*
**/
+@Deprecated
public class ProgramVertex extends Program {
ProgramVertex(long id, RenderScript rs) {