pub enum AuxPresentMode {
NonBlocking(&'static str),
Fifo,
}Expand description
The present mode a secondary surface ended up with, so the shell can record which arm ran (ADR-0071 reporting: a frame-time measurement that does not name its present mode cannot be compared with another machine’s).
Variants§
NonBlocking(&'static str)
A non-blocking mode was offered and taken: the console’s present does not block on its own display’s vblank.
That is a property of this surface’s present, not a guarantee about the output’s cadence — the two presents still run on one thread, and what the second costs the first is a measurement rather than a deduction. Measured at Plan 0147 Phase 4 on an integrated Radeon: at the 165 Hz vsync cap, 14,797 console presents cost the output 0.0 fps.
Fifo
Only Fifo was offered. The console presents in lockstep with its own
display, which is the configuration where a slower second monitor can be
felt on the output.
Implementations§
Trait Implementations§
Source§impl Clone for AuxPresentMode
impl Clone for AuxPresentMode
Source§fn clone(&self) -> AuxPresentMode
fn clone(&self) -> AuxPresentMode
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for AuxPresentMode
impl Debug for AuxPresentMode
Source§impl PartialEq for AuxPresentMode
impl PartialEq for AuxPresentMode
Source§fn eq(&self, other: &AuxPresentMode) -> bool
fn eq(&self, other: &AuxPresentMode) -> bool
self and other values to be equal, and is used by ==.impl Copy for AuxPresentMode
impl Eq for AuxPresentMode
impl StructuralPartialEq for AuxPresentMode
Auto Trait Implementations§
impl Freeze for AuxPresentMode
impl RefUnwindSafe for AuxPresentMode
impl Send for AuxPresentMode
impl Sync for AuxPresentMode
impl Unpin for AuxPresentMode
impl UnsafeUnpin for AuxPresentMode
impl UnwindSafe for AuxPresentMode
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.