diff options
author | Leon Scroggins III <scroggo@google.com> | 2020-01-19 19:27:16 -0500 |
---|---|---|
committer | Leon Scroggins III <scroggo@google.com> | 2020-01-21 11:51:03 -0500 |
commit | 84a2afcbfbfbbc91cbaf83d55a8ebccc987e66f1 (patch) | |
tree | 74986a0cbb40a25d8001389162dd2807a8ba3c3a /opengl/java/javax | |
parent | 380f3c9ae622c7284d88afbab4732291b472f64b (diff) |
Update NDK methods for HARDWARE Bitmaps
Bug: 135133301
Test: I2c1e58c41e49c72fb4bdbc64989da103885d34bf
_getInfo now sets a bit in AndroidBitmapInfo.flags to indicate whether
the Bitmap has Config.HARDWARE.
For a HARDWARE Bitmap, its AHardwareBuffer can now be retrieved with
AndroidBitmap_getHardwareBuffer. Call AHardwareBuffer_acquire on the
buffer so it will not be deleted while the client is using it.
Change-Id: I9240c1928c1478053ecf7c252443a33dbd6fd6db
Diffstat (limited to 'opengl/java/javax')
0 files changed, 0 insertions, 0 deletions