diff options
author | Mathew Inwood <mathewi@google.com> | 2018-08-06 12:27:00 -0700 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2018-08-06 12:27:00 -0700 |
commit | c7619a160d66750f5164751565ffeb0322b6f8d9 (patch) | |
tree | 2d026ac4260a1c106689dbf9eb67825e255551ea /rs/java/android/renderscript/ProgramVertexFixedFunction.java | |
parent | 0a56b25bcf4b7886be8124a3fb64c337dff33edb (diff) | |
parent | 92019fc32e22dcc82ae742e31ff5cc77052f7c79 (diff) |
Merge "Add @UnsupportedAppUsage annotations" am: 3d05f769a3 am: 1d526c114f
am: 92019fc32e
Change-Id: Id9e7732b1f051b8ab37fc24a4867802e0eb1c870
Diffstat (limited to 'rs/java/android/renderscript/ProgramVertexFixedFunction.java')
-rw-r--r-- | rs/java/android/renderscript/ProgramVertexFixedFunction.java | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/rs/java/android/renderscript/ProgramVertexFixedFunction.java b/rs/java/android/renderscript/ProgramVertexFixedFunction.java index 45840aee04a5..579d3bb507e8 100644 --- a/rs/java/android/renderscript/ProgramVertexFixedFunction.java +++ b/rs/java/android/renderscript/ProgramVertexFixedFunction.java @@ -16,6 +16,8 @@ package android.renderscript; +import android.annotation.UnsupportedAppUsage; + /** * @hide @@ -38,6 +40,7 @@ public class ProgramVertexFixedFunction extends ProgramVertex { * * @param va allocation containing fixed function matrices */ + @UnsupportedAppUsage public void bindConstants(Constants va) { mRS.validate(); bindConstants(va.getAllocation(), 0); @@ -118,6 +121,7 @@ public class ProgramVertexFixedFunction extends ProgramVertex { * * @param rs Context to which the program will belong. */ + @UnsupportedAppUsage public Builder(RenderScript rs) { mRS = rs; } @@ -170,6 +174,7 @@ public class ProgramVertexFixedFunction extends ProgramVertex { * * @return Fixed function emulation ProgramVertex */ + @UnsupportedAppUsage public ProgramVertexFixedFunction create() { buildShaderString(); @@ -215,6 +220,7 @@ public class ProgramVertexFixedFunction extends ProgramVertex { * * @param rs Context to which the allocation will belong. **/ + @UnsupportedAppUsage public Constants(RenderScript rs) { Type constInputType = ProgramVertexFixedFunction.Builder.getConstantInputType(rs); mAlloc = Allocation.createTyped(rs, constInputType); @@ -268,6 +274,7 @@ public class ProgramVertexFixedFunction extends ProgramVertex { * * @param m projection matrix */ + @UnsupportedAppUsage public void setProjection(Matrix4f m) { mProjection.load(m); addToBuffer(PROJECTION_OFFSET*4, m); |