summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramVertex.java
diff options
context:
space:
mode:
Diffstat (limited to 'rs/java/android/renderscript/ProgramVertex.java')
-rw-r--r--rs/java/android/renderscript/ProgramVertex.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/rs/java/android/renderscript/ProgramVertex.java b/rs/java/android/renderscript/ProgramVertex.java
index 0d7e2d9cf615..83d9ea7be645 100644
--- a/rs/java/android/renderscript/ProgramVertex.java
+++ b/rs/java/android/renderscript/ProgramVertex.java
@@ -38,6 +38,8 @@
**/
package android.renderscript;
+import android.annotation.UnsupportedAppUsage;
+
/**
* @hide
@@ -90,6 +92,7 @@ public class ProgramVertex extends Program {
*
* @param rs Context to which the program will belong.
*/
+ @UnsupportedAppUsage
public Builder(RenderScript rs) {
super(rs);
}
@@ -102,6 +105,7 @@ public class ProgramVertex extends Program {
* structure
* @return self
*/
+ @UnsupportedAppUsage
public Builder addInput(Element e) throws IllegalStateException {
// Should check for consistant and non-conflicting names...
if(mInputCount >= MAX_INPUT) {
@@ -120,6 +124,7 @@ public class ProgramVertex extends Program {
*
* @return ProgramVertex
*/
+ @UnsupportedAppUsage
public ProgramVertex create() {
mRS.validate();
long[] tmp = new long[(mInputCount + mOutputCount + mConstantCount + mTextureCount) * 2];