ndk v0.8.0 beta.0
Pre-release
Pre-release
MarijnS95
released this
15 Aug 22:09
·
53 commits
to master
since this release
- event: Add
tool_type
getter forPointer
. (#323) - input_queue: Allow any non-zero return code from
pre_dispatch()
again, as per documentation. (#325) - asset: Use entire asset length when mapping buffer. (#387)
- Bump MSRV to 1.64 for
raw-window-handle 0.5.1
. (#388) - Bump optional
jni
dependency for doctest example from0.19
to0.21
. (#390) - Breaking: Upgrade to
ndk-sys 0.5.0
. (#370) - Breaking: Upgrade
bitflags
crate from1
to2
. (#394) - bitmap: Add
try_format()
toAndroidBitmapInfo
to handle unexpected formats without panicking. (#395) - Breaking: Upgrade
num_enum
crate from0.5.1
to0.7
. (#398, #419) - Breaking: Renamed and moved "
media
" error types and helpers to a newmedia_error
module. (#399) - Breaking: media_codec: Wrap common dequeued-buffer status codes in enum. (#401)
- Breaking: media_codec: Return
MaybeUninit
bytes inbuffer_mut()
. (#403) - native_window: Add
lock()
to blit raw pixel data. (#404) - hardware_buffer_format: Add
YCbCr_P010
andR8_UNORM
variants. (#405) - Breaking: hardware_buffer_format: Add catch-all variant. (#407)
- Breaking: media_codec: Add support for asynchronous notification callbacks. (#410)
- Add panic guards to callbacks. (#412)
- looper: Add
remove_fd()
to unregister events/callbacks for a file descriptor. (#416) - Breaking: Use
BorrowedFd
andOwnedFd
to clarify possible ownership transitions. (#417) - Breaking: Upgrade to
ndk-sys 0.5.0
. (#420)