You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
App is a new type that replaces the previous type alias pointing to appit::App. The previously exported type wasn't able to be used beyond
passing it as a parameter for opening additional windows. This new type
exposes additional winit information including monitor configurations.
Window::ocluded has had its spelling fixed and is now Window::occluded.
Window::position has been renamed to Window::outer_position
Window::set_position has been renamed to Window::set_outer_position.
Fixed
Window now calls winit's pre_present_notify() before presenting the
surface.
WindowHandle's Clone implementation no longer requires its generic
parameter to implement Clone.
Temporarily worked around a Wayland-only issue where window resize events are
not being generated from explicit window sizing requests.
Added
PendingApp::on_startup executes a callback once the event loop has begun
executing.
Monitors, Monitor, and VideoMode are new types that offer information
about the monitor configurations available to the application. This
information can be retrieved from an App or ExecutingApp.
WindowBehavior::moved is invoked when the window is repositioned.
Window::outer_size is a new function that returns the window's size
including decorations.
Window::inner_position returns the position of the top-left of the content
area of the window.
App::prevent_shutdown() returns a guard that prevents the application from
closing automatically when the final window is closed.
WindowBehavior::initialized is invoked once the window has been fully
initialized.
WindowBehavior::pre_initialize is invoked before wgpu is initialized on the
window.