mirror of
https://github.com/italicsjenga/winit-sonoma-fix.git
synced 2024-12-23 22:01:31 +11:00
Note the status quo on RedrawRequested
(#2641)
And link to https://github.com/rust-windowing/winit/issues/2640
This commit is contained in:
parent
d448d3e14f
commit
7341ee80ea
|
@ -202,7 +202,16 @@ pub enum Event<'a, T: 'static> {
|
||||||
/// Mainly of interest to applications with mostly-static graphics that avoid redrawing unless
|
/// Mainly of interest to applications with mostly-static graphics that avoid redrawing unless
|
||||||
/// something changes, like most non-game GUIs.
|
/// something changes, like most non-game GUIs.
|
||||||
///
|
///
|
||||||
|
///
|
||||||
|
/// ## Platform-specific
|
||||||
|
///
|
||||||
|
/// - **macOS / iOS:** Due to implementation difficulties, this will often, but not always, be
|
||||||
|
/// emitted directly inside `drawRect:`, with neither a preceding [`MainEventsCleared`] nor
|
||||||
|
/// subsequent `RedrawEventsCleared`. See [#2640] for work on this.
|
||||||
|
///
|
||||||
/// [`MainEventsCleared`]: Self::MainEventsCleared
|
/// [`MainEventsCleared`]: Self::MainEventsCleared
|
||||||
|
/// [`RedrawEventsCleared`]: Self::RedrawEventsCleared
|
||||||
|
/// [#2640]: https://github.com/rust-windowing/winit/issues/2640
|
||||||
RedrawRequested(WindowId),
|
RedrawRequested(WindowId),
|
||||||
|
|
||||||
/// Emitted after all [`RedrawRequested`] events have been processed and control flow is about to
|
/// Emitted after all [`RedrawRequested`] events have been processed and control flow is about to
|
||||||
|
|
Loading…
Reference in a new issue