pub struct LinuxPresentTelemetry { /* private fields */ }Expand description
Explicit per-frame Linux presentation telemetry separating direct GPU vs Wayland shm vs X11 software blits.
Implementations§
Source§impl LinuxPresentTelemetry
impl LinuxPresentTelemetry
pub fn get_mode(&self) -> LinuxPresentationMode
pub fn get_mut_mode(&mut self) -> &mut LinuxPresentationMode
pub fn set_mode(&mut self, val: LinuxPresentationMode) -> &mut Self
pub fn get_outcome(&self) -> LinuxPresentOutcome
pub fn get_mut_outcome(&mut self) -> &mut LinuxPresentOutcome
pub fn set_outcome(&mut self, val: LinuxPresentOutcome) -> &mut Self
pub fn get_cpu_mirror_active(&self) -> bool
pub fn get_mut_cpu_mirror_active(&mut self) -> &mut bool
pub fn set_cpu_mirror_active(&mut self, val: bool) -> &mut Self
pub fn get_upload_bytes(&self) -> u64
pub fn get_mut_upload_bytes(&mut self) -> &mut u64
pub fn set_upload_bytes(&mut self, val: u64) -> &mut Self
pub fn get_dirty_rect_count(&self) -> u32
pub fn get_mut_dirty_rect_count(&mut self) -> &mut u32
pub fn set_dirty_rect_count(&mut self, val: u32) -> &mut Self
pub fn get_committed_buffer_slot(&self) -> u8
pub fn get_mut_committed_buffer_slot(&mut self) -> &mut u8
pub fn set_committed_buffer_slot(&mut self, val: u8) -> &mut Self
pub fn get_submitted_frames(&self) -> u64
pub fn get_mut_submitted_frames(&mut self) -> &mut u64
pub fn set_submitted_frames(&mut self, val: u64) -> &mut Self
pub fn get_skipped_unchanged_frames(&self) -> u64
pub fn get_mut_skipped_unchanged_frames(&mut self) -> &mut u64
pub fn set_skipped_unchanged_frames(&mut self, val: u64) -> &mut Self
pub fn get_failed_frames(&self) -> u64
pub fn get_mut_failed_frames(&mut self) -> &mut u64
pub fn set_failed_frames(&mut self, val: u64) -> &mut Self
Trait Implementations§
Source§impl Clone for LinuxPresentTelemetry
impl Clone for LinuxPresentTelemetry
impl Copy for LinuxPresentTelemetry
Source§impl Debug for LinuxPresentTelemetry
impl Debug for LinuxPresentTelemetry
Source§impl Default for LinuxPresentTelemetry
impl Default for LinuxPresentTelemetry
impl Eq for LinuxPresentTelemetry
Source§impl PartialEq for LinuxPresentTelemetry
impl PartialEq for LinuxPresentTelemetry
impl StructuralPartialEq for LinuxPresentTelemetry
Auto Trait Implementations§
impl Forget for LinuxPresentTelemetry
impl Freeze for LinuxPresentTelemetry
impl Move for LinuxPresentTelemetry
impl RefUnwindSafe for LinuxPresentTelemetry
impl Send for LinuxPresentTelemetry
impl Sync for LinuxPresentTelemetry
impl Unpin for LinuxPresentTelemetry
impl UnsafeUnpin for LinuxPresentTelemetry
impl UnwindSafe for LinuxPresentTelemetry
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
Mutably borrows from an owned value. Read more