diff options
author | Adam Bodnar <abodnar@google.com> | 2020-07-08 15:36:17 -0700 |
---|---|---|
committer | Adam Bodnar <abodnar@google.com> | 2020-07-10 17:10:17 -0700 |
commit | 74c2598cf1f4e5d28ccde7f403fdba5b0df3cd08 (patch) | |
tree | ef42995b69f7f7e8e065167c15f9bd88add788e4 /rs/java/android/renderscript/ProgramVertexFixedFunction.java | |
parent | 68a510ac32ab3d95925033367fe3fa6e77907520 (diff) |
Fix pointer arithmetic for ByteBuffers with non-zero positions
When initializing a gpu resource from a Java ByteBuffer with a non-zero
position, most functions aren't releasing the correct pointer and
subsequently crash the app.
Bug: 67109954
Test: build, flash, atest android.opengl.cts.ByteBufferTest
Change-Id: Id0910efd8c5ed6e00ea10eab89e77d97fe642d2b
Diffstat (limited to 'rs/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions