DrmOutputOptions
struct · ferroui-linuxframebuffer · v0.5.0
struct DrmOutputOptions
DRM Output Options
Members
scalingorientationenable_initial_buffer_swappinginitial_buffer_swapping_colorvideo_modeconnector_type_id
scaling
scaling: f64
Scaling factor. Default: 1.0
orientation
orientation: ferroui_base::platform::SurfaceOrientation
The orientation of the screen relative to the frame buffer memory orientation Default: Normal
enable_initial_buffer_swapping
enable_initial_buffer_swapping: bool
If true an two cycle buffer swapping is processed at init. Default: True
initial_buffer_swapping_color
initial_buffer_swapping_color: ferroui_base::media::Color
Color for enable_initial_buffer_swapping
Default: R0 G0 B0 A0
video_mode
video_mode: Option<ferroui_base::PixelSize>
Specifies the video mode with which the DrmOutput should be created, if it is not found it will fallback to the preferred mode. If null, the preferred mode will be used.
connector_type_id
connector_type_id: Option<u32>
Specifies the connector type ID used with connector_type.
If null, the preferred connector type ID will be used.
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeBorrow<T>BorrowMut<T>CloneToUninitInto<U>From<T>TryInto<U>TryFrom<U>AnyToOwnedPropertyValueAnyValueClassDefaultsCloneDebugStructuralPartialEqPartialEqDefaultErasedDestructorIntoEither
Availability
Extracted for x86_64-unknown-linux-gnu, aarch64-apple-darwin. Cargo features are listed in the crate index.