diff options
author | Treehugger Robot <treehugger-gerrit@google.com> | 2018-08-06 12:11:30 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2018-08-06 12:11:30 +0000 |
commit | 3d05f769a393d43953bcee1437b67066c2e85a02 (patch) | |
tree | 201c9440b3e3b8e05c79c430506258e03a378d04 /rs/java/android/renderscript/ProgramVertex.java | |
parent | 5caebe341576d52502ce397f3c778fe259c17948 (diff) | |
parent | 1532447a7b186fc31026231996ade3befe8e9ffa (diff) |
Merge "Add @UnsupportedAppUsage annotations"
Diffstat (limited to 'rs/java/android/renderscript/ProgramVertex.java')
-rw-r--r-- | rs/java/android/renderscript/ProgramVertex.java | 5 |
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]; |