summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramVertexFixedFunction.java
diff options
context:
space:
mode:
authorVishnu Nair <vishnun@google.com>2021-10-05 13:48:46 -0700
committerVishnu Nair <vishnun@google.com>2021-10-11 16:28:20 -0700
commit8eb0c64cf4c8450fb4ef33ab28c6431611a62369 (patch)
tree08d6720a5cb7cbeccef60bfd67914f9ef78edcd6 /rs/java/android/renderscript/ProgramVertexFixedFunction.java
parentecdb3cdbd2c0f477cba7f9fc04a1a9b88f25bc3a (diff)
Rename getSurfaceTransformHint API and switch to using NDK transform constants
NDK exposes ANativeWindowTransform/NATIVE_WINDOW_TRANSFORM_*. These constants are aligned with HAL definitions and are used internally to specify buffer transforms. Native consumers of the transform hint are expected to generate ANativeWindowTransform from the hint. Aligning the SDK and the NDK transform values will make the API less confusing. Bug: 196167822 Test: atest AttachedSurfaceControlTest Change-Id: Ib20be045f6c8c6d7befef93a839a27098da55ffa
Diffstat (limited to 'rs/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions