class TrustedFlatlandConfig

Defined at line 5060 of file fidling/gen/sdk/fidl/fuchsia.ui.composition/fuchsia.ui.composition/cpp/fidl/fuchsia.ui.composition/cpp/natural_types.h

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.

Public Methods

void TrustedFlatlandConfig (Storage_ storage)
bool IsEmpty ()
void TrustedFlatlandConfig ()

Defined at line 5065 of file fidling/gen/sdk/fidl/fuchsia.ui.composition/fuchsia.ui.composition/cpp/fidl/fuchsia.ui.composition/cpp/natural_types.h

void TrustedFlatlandConfig (TrustedFlatlandConfig && )

Defined at line 5066 of file fidling/gen/sdk/fidl/fuchsia.ui.composition/fuchsia.ui.composition/cpp/fidl/fuchsia.ui.composition/cpp/natural_types.h

TrustedFlatlandConfig & operator= (TrustedFlatlandConfig && )

Defined at line 5067 of file fidling/gen/sdk/fidl/fuchsia.ui.composition/fuchsia.ui.composition/cpp/fidl/fuchsia.ui.composition/cpp/natural_types.h

const std::optional<bool> & schedule_asap ()

If true and `requested_presentation_time` in [`fuchsia.ui.composition/Flatland.Present`] is

set to 0 or less than or equal to the nearest presentation time, a frame will be scheduled

to be presented as soon as all acquire fences are signaled, instead of waiting for other

clients to present within the same vsync. This allows the caller to decide when to wake up

for preparing a frame.

If `requested_presentation_time` is set to a value greater than the nearest presentation

time, this flag will have no effect and the wakeup time decision will be made by the

scheduler.

If absent, `schedule_asap` is false.

::std::optional<bool> & schedule_asap ()

If true and `requested_presentation_time` in [`fuchsia.ui.composition/Flatland.Present`] is

set to 0 or less than or equal to the nearest presentation time, a frame will be scheduled

to be presented as soon as all acquire fences are signaled, instead of waiting for other

clients to present within the same vsync. This allows the caller to decide when to wake up

for preparing a frame.

If `requested_presentation_time` is set to a value greater than the nearest presentation

time, this flag will have no effect and the wakeup time decision will be made by the

scheduler.

If absent, `schedule_asap` is false.

TrustedFlatlandConfig & schedule_asap (std::optional<bool> value)

If true and `requested_presentation_time` in [`fuchsia.ui.composition/Flatland.Present`] is

set to 0 or less than or equal to the nearest presentation time, a frame will be scheduled

to be presented as soon as all acquire fences are signaled, instead of waiting for other

clients to present within the same vsync. This allows the caller to decide when to wake up

for preparing a frame.

If `requested_presentation_time` is set to a value greater than the nearest presentation

time, this flag will have no effect and the wakeup time decision will be made by the

scheduler.

If absent, `schedule_asap` is false.

const std::optional<bool> & pass_acquire_fences ()

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.

::std::optional<bool> & pass_acquire_fences ()

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.

TrustedFlatlandConfig & pass_acquire_fences (std::optional<bool> value)

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.

const std::optional<bool> & skips_present_credits ()

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.

::std::optional<bool> & skips_present_credits ()

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.

TrustedFlatlandConfig & skips_present_credits (std::optional<bool> value)

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.

void TrustedFlatlandConfig (::fidl::internal::DefaultConstructPossiblyInvalidObjectTag )

Friends

class MemberVisitor
class NaturalTableCodingTraits