#[non_exhaustive]pub enum BindingModel {
SceneSubmitsFbId,
DriverOwnsBinding,
}Expand description
How the scene and a source divide responsibility for FB_ID.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
SceneSubmitsFbId
The scene writes FB_ID into the atomic commit.
Covers dumb buffers, GBM buffer objects, imported DMA-BUFs, V4L2 capture buffers — everything that becomes a DRM framebuffer.
DriverOwnsBinding
The driver binds a producer directly to the plane, and the scene must
not write FB_ID for this layer.
EGL Streams and relatives. The hook exists as dormant surface (DR-4) so the scene does not need rewriting when the streams tier lands; no in-tree source reports it yet.
Trait Implementations§
Source§impl Clone for BindingModel
impl Clone for BindingModel
impl Copy for BindingModel
Source§impl Debug for BindingModel
impl Debug for BindingModel
Source§impl Default for BindingModel
impl Default for BindingModel
impl Eq for BindingModel
Source§impl Hash for BindingModel
impl Hash for BindingModel
Source§impl Ord for BindingModel
impl Ord for BindingModel
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for BindingModel
impl PartialEq for BindingModel
Source§impl PartialOrd for BindingModel
impl PartialOrd for BindingModel
impl StructuralPartialEq for BindingModel
Auto Trait Implementations§
impl Freeze for BindingModel
impl RefUnwindSafe for BindingModel
impl Send for BindingModel
impl Sync for BindingModel
impl Unpin for BindingModel
impl UnsafeUnpin for BindingModel
impl UnwindSafe for BindingModel
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