pub struct SyncSupport {
pub export_sync_file: bool,
pub import_sync_file: bool,
}Expand description
Whether GPU completion can be handed to another component as a fence.
Fields§
§export_sync_file: boolCan export a sync_file fd from a fence, for use as IN_FENCE_FD on
an atomic commit.
import_sync_file: boolCan import a sync_file fd and wait on it on the GPU timeline.
Implementations§
Source§impl SyncSupport
impl SyncSupport
Sourcepub const fn supports_explicit_scanout(self) -> bool
pub const fn supports_explicit_scanout(self) -> bool
Whether the frame loop can stay fully explicit on the DRM path.
When false, the DRM target must wait on the CPU before committing. That is correct but slower, and on Tier-1 hardware it is a driver bug to chase rather than a state to settle into, so callers are expected to log it loudly.
Trait Implementations§
Source§impl Clone for SyncSupport
impl Clone for SyncSupport
impl Copy for SyncSupport
Source§impl Debug for SyncSupport
impl Debug for SyncSupport
Source§impl Default for SyncSupport
impl Default for SyncSupport
impl Eq for SyncSupport
Source§impl PartialEq for SyncSupport
impl PartialEq for SyncSupport
impl StructuralPartialEq for SyncSupport
Auto Trait Implementations§
impl Freeze for SyncSupport
impl RefUnwindSafe for SyncSupport
impl Send for SyncSupport
impl Sync for SyncSupport
impl Unpin for SyncSupport
impl UnsafeUnpin for SyncSupport
impl UnwindSafe for SyncSupport
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