gpu-allocator
gpu-allocator copied to clipboard
Update winit requirement from 0.26 to 0.27
Updates the requirements on winit to permit the latest version.
Release notes
Sourced from winit's releases.
Winit Version v0.27.1
- The minimum supported Rust version was lowered to
1.57.0and now explicitly tested.- On X11, fix crash on start due to inability to create an IME context without any preedit.
Changelog
Sourced from winit's changelog.
0.27.1 (2022-07-30)
- The minimum supported Rust version was lowered to
1.57.0and now explicitly tested.- On X11, fix crash on start due to inability to create an IME context without any preedit.
0.27.0 (2022-07-26)
- On Windows, fix hiding a maximized window.
- On Android,
ndk-glue'sNativeWindowlock is now held betweenEvent::ResumedandEvent::Suspended.- On Web, added
EventLoopExtWebSyswith aspawnmethod to start the event loop without throwing an exception.- Added
WindowEvent::Occluded(bool), currently implemented on macOS and X11.- On X11, fix events for caps lock key not being sent
- Build docs on
docs.rsfor iOS and Android as well.- Breaking: Removed the
WindowAttributesstruct, since all its functionality is accessible fromWindowBuilder.- Added
WindowBuilder::transparentgetter to check if the user settransparentattribute.- On macOS, Fix emitting
Event::LoopDestroyedon CMD+Q.- On macOS, fixed an issue where having multiple windows would prevent run_return from ever returning.
- On Wayland, fix bug where the cursor wouldn't hide in GNOME.
- On macOS, Windows, and Wayland, add
set_cursor_hittestto let the window ignore mouse events.- On Windows, added
WindowExtWindows::set_skip_taskbarandWindowBuilderExtWindows::with_skip_taskbar.- On Windows, added
EventLoopBuilderExtWindows::with_msg_hook.- On Windows, remove internally unique DC per window.
- On macOS, remove the need to call
set_ime_positionafter moving the window.- Added
Window::is_visible.- Added
Window::is_resizable.- Added
Window::is_decorated.- On X11, fix for repeated event loop iteration when
ControlFlowwasWait- On X11, fix scale factor calculation when the only monitor is reconnected
- On Wayland, report unaccelerated mouse deltas in
DeviceEvent::MouseMotion.- On Web, a focused event is manually generated when a click occurs to emulate behaviour of other backends.
- Breaking: Bump
ndkversion to 0.6, ndk-sys tov0.3,ndk-glueto0.6.- Remove no longer needed
WINIT_LINK_COLORSYNCenvironment variable.- Breaking: Rename the
Exitvariant ofControlFlowtoExitWithCode, which holds a value to control the exit code after running. Add anExitconstant which aliases toExitWithCode(0)instead to avoid major breakage. This shouldn't affect most existing programs.- Add
EventLoopBuilder, which allows you to create and tweak the settings of an event loop before creating it.- Deprecated
EventLoop::with_user_event; useEventLoopBuilder::with_user_eventinstead.- Breaking: Replaced
EventLoopExtMacOSwithEventLoopBuilderExtMacOS(which also has renamed methods).- Breaking: Replaced
EventLoopExtWindowswithEventLoopBuilderExtWindows(which also has renamed methods).- Breaking: Replaced
EventLoopExtUnixwithEventLoopBuilderExtUnix(which also has renamed methods).- Breaking: The platform specific extensions for Windows
winit::platform::windowshave changed. AllHANDLE-like types e.g.HWNDandHMENUwere converted from winapi types or*mut c_voidtoisize. This was done to be consistent with the type definitions in windows-sys and to not expose internal dependencies.- The internal bindings to the Windows API were changed from the unofficial winapi bindings to the official Microsoft windows-sys bindings.
- On Wayland, fix polling during consecutive
EventLoop::run_returninvocations.- On Windows, fix race issue creating fullscreen windows with
WindowBuilder::with_fullscreen- On Android,
virtual_keycodeforKeyboardInputevents is now filled in where a suitable match is found.- Added helper methods on
ControlFlowto set its value.- On Wayland, fix
TouchPhase::Endedalways reporting the location of the first touch down, unless the compositor sent a cancel or frame event.- On iOS, send
RedrawEventsClearedeven if there are no redraw events, consistent with other platforms.- Breaking: Replaced
Window::with_app_idandWindow::with_classwithWindow::with_nameonWindowBuilderExtUnix.- On Wayland, fallback CSD was replaced with proper one:
WindowBuilderExtUnix::with_wayland_csd_themeto set color theme in builder.
... (truncated)
Commits
c53a574Release 0.27.1 version95246d8On X11, fix crash when can't disable IMEbf53700Explicitly specify minimum supported rust version5003564Release 0.27.0 version64c22f9Fix changelog entry wrt scrolling4895a29ci: manually point ANDROID_NDK_ROOT to latest supplied version6cdb317Consistently deliver a Resumed event on all platforms4fd52afFix type hint reference for xlib hook5a0bad1Bumpndkandndk-gluedependencies to stable0.7.0release (#2392)08d0259Fix hiding a maximized window On Windows (#2336)- Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)