commit | a7ab5c731ec5a399a4b7f594f5e28cc3b95f22e5 | [log] [tgz] |
---|---|---|
author | Adam Bodnar <abodnar@google.com> | Wed Jul 08 15:35:06 2020 -0700 |
committer | Adam Bodnar <abodnar@google.com> | Fri Jul 10 17:00:28 2020 -0700 |
tree | d083009ac9d06e94f64a3ba616732e98e1436945 | |
parent | 6c03e13d4b0c8df8cbdd06aa3fc5a94abdb3ddb5 [diff] |
Update bufferOffset logic in GPU upload functions Update JniCodeEmitter.java to do the correct pointer arithmetic for ByteBuffers passed to upload functions with position != 0 Bug: 67109954 Test: ./gen, <run printed commands>, build, flash, atest android.opengl.cts.ByteBufferTest Change-Id: I689e43b4fd40f5d4d928bf694269901d8541df33