class TrustedFlatlandConfig

Defined at line 4862 of file fidling/gen/sdk/fidl/fuchsia.ui.composition/fuchsia.ui.composition/hlcpp/fuchsia/ui/composition/cpp/fidl.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 Members

static const fidl_type_t * FidlType

Public Methods

bool IsEmpty ()

Returns whether no field is set.

TrustedFlatlandConfig & set_schedule_asap (bool _value)
TrustedFlatlandConfig & set_pass_acquire_fences (bool _value)
TrustedFlatlandConfig & set_skips_present_credits (bool _value)
void TrustedFlatlandConfig ()
void TrustedFlatlandConfig (TrustedFlatlandConfig && other)
void ~TrustedFlatlandConfig ()
TrustedFlatlandConfig & operator= (TrustedFlatlandConfig && other)
::std::unique_ptr<TrustedFlatlandConfig> New ()
void Encode (::fidl::Encoder * _encoder, size_t _offset, std::optional< ::fidl::HandleInformation> maybe_handle_info)
void Decode (::fidl::Decoder * _decoder, TrustedFlatlandConfig * _value, size_t _offset)
zx_status_t Clone (TrustedFlatlandConfig * _result)
const 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.

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

bool has_schedule_asap ()

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

bool * mutable_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.

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

void clear_schedule_asap ()

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

const 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.

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

bool has_pass_acquire_fences ()

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

bool * mutable_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.

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

void clear_pass_acquire_fences ()

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

const 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.

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

bool has_skips_present_credits ()

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

bool * mutable_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.

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

void clear_skips_present_credits ()

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