diff options
author | Orion Hodson <oth@google.com> | 2019-04-15 22:13:59 +0100 |
---|---|---|
committer | Orion Hodson <oth@google.com> | 2019-04-16 16:18:53 +0100 |
commit | 7e2ceda109181375e2592410e2163a0fc1c29719 (patch) | |
tree | 6ccc87b7b07764d9e987e7a19f33c16c34232a38 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | 37f27b53a8aa103a32aa6fd817780e57239c20fe (diff) |
Retire android::nio_{get,release}Buffer
Removes unused functions nio_getBuffer and nio_releaseBuffer. Motivated
by the observation that nio_releaseBuffer() will fail hard for
java.nio.Buffer instances backed by heap arrays when the buffer
position is non-zero.
Adds doc comments to AutoBufferPointer that is used in the framework.
Adds test cases for short and int buffers BitmapTest.
Bug: b/130390512
Test: m -j100
Test: atest FrameworksCoreTests:android.graphics.BitmapTest
(cherry picked from commit b0461ebba16695b487978c1950e17663d6a01f46)
Merged-In: I01fb72ed71d46a4ef8c7d3da82319ea57e391dbd
Change-Id: I01fb72ed71d46a4ef8c7d3da82319ea57e391dbd
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions