FbDevOutputOptions
struct · ferroui-linuxframebuffer · v0.5.0
struct FbDevOutputOptions
FbDev output options.
Members
file_name
file_name: Option<String>
The frame buffer device name. Defaults to the value in the environment variable FRAMEBUFFER, or /dev/fb0 when FRAMEBUFFER is not set.
pixel_format
pixel_format: Option<ferroui_base::platform::PixelFormat>
The desired pixel format. When not set the format of the device is used.
render_directly_to_mapped_memory
render_directly_to_mapped_memory: bool
Render directly to the mapped memory of the device instead of to a back buffer that is copied after the vertical sync.
scaling
scaling: f64
The initial scale factor to use.
use_async_front_buffer_blit
use_async_front_buffer_blit: Option<bool>
When true, the wait for the vertical sync and the copy that follows
run on a dedicated thread, saving the rendering thread from a
blocking wait. Only has an effect when
render_directly_to_mapped_memory is false.
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.