pub struct TrustedFlatlandConfig {
pub schedule_asap: Option<bool>,
pub pass_acquire_fences: Option<bool>,
pub skips_present_credits: Option<bool>,
/* private fields */
}Expand description
All arguments are optional; default values will be provided if they are absent.
By default, the resulting Flatland will behave identically to connecting
to the fuchsia.ui.composition.Flatland service instead of connecting via the factory.
Fields§
§schedule_asap: Option<bool>If true, a frame will be scheduled to be presented as soon as all acquire fences are signaled, instead of waiting for other clients to present in the same vsync. This can reduce latency for this client, but may increase power consumption.
If absent, schedule_asap is false.
pass_acquire_fences: Option<bool>If true, Scenic should pass acquire fences to the drivers for composition HW, instead of waiting for them on CPU. This can improve performance by reducing CPU overhead.
If absent, pass_acquire_fences is false.
skips_present_credits: Option<bool>If true, the client will not utilize Flatland’s built in frame-scheduling mechanism and will ignore present credits, instead relying on their own flow control system.
If absent, skips_present_credits is false.
Trait Implementations§
Source§impl Debug for TrustedFlatlandConfig
impl Debug for TrustedFlatlandConfig
Source§impl Decode<TrustedFlatlandConfig, DefaultFuchsiaResourceDialect> for TrustedFlatlandConfig
impl Decode<TrustedFlatlandConfig, DefaultFuchsiaResourceDialect> for TrustedFlatlandConfig
Source§impl Default for TrustedFlatlandConfig
impl Default for TrustedFlatlandConfig
Source§fn default() -> TrustedFlatlandConfig
fn default() -> TrustedFlatlandConfig
Source§impl Encode<TrustedFlatlandConfig, DefaultFuchsiaResourceDialect> for &mut TrustedFlatlandConfig
impl Encode<TrustedFlatlandConfig, DefaultFuchsiaResourceDialect> for &mut TrustedFlatlandConfig
Source§impl PartialEq for TrustedFlatlandConfig
impl PartialEq for TrustedFlatlandConfig
Source§impl ResourceTypeMarker for TrustedFlatlandConfig
impl ResourceTypeMarker for TrustedFlatlandConfig
Source§type Borrowed<'a> = &'a mut TrustedFlatlandConfig
type Borrowed<'a> = &'a mut TrustedFlatlandConfig
Encode<Self>
type cheaply obtainable from &mut Self::Owned. There are three cases: Read moreSource§fn take_or_borrow<'a>(
value: &'a mut <Self as TypeMarker>::Owned,
) -> Self::Borrowed<'a>
fn take_or_borrow<'a>( value: &'a mut <Self as TypeMarker>::Owned, ) -> Self::Borrowed<'a>
&mut Self::Owned to Self::Borrowed. For
HandleBased types this is “take” (it returns an owned handle and
replaces value with Handle::invalid), and for all other types it is
“borrow” (just converts from one reference to another).Source§impl TypeMarker for TrustedFlatlandConfig
impl TypeMarker for TrustedFlatlandConfig
Source§type Owned = TrustedFlatlandConfig
type Owned = TrustedFlatlandConfig
Source§fn inline_align(_context: Context) -> usize
fn inline_align(_context: Context) -> usize
Source§fn inline_size(_context: Context) -> usize
fn inline_size(_context: Context) -> usize
inline_align.Source§fn encode_is_copy() -> bool
fn encode_is_copy() -> bool
Self::Owned matches the FIDL wire
format and encoding requires no validation. When true, we can optimize
encoding arrays and vectors of Self::Owned to a single memcpy. Read moreSource§fn decode_is_copy() -> bool
fn decode_is_copy() -> bool
Self::Owned matches the FIDL wire
format and decoding requires no validation. When true, we can optimize
decoding arrays and vectors of Self::Owned to a single memcpy.