class TrustedFlatlandConfig
Defined at line 4919 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 [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.
const bool & schedule_asap ()
If true and the [PresentArgs.requested_presentation_time] passed to [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 4936 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 4940 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 the [PresentArgs.requested_presentation_time] passed to [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 4955 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 4963 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 4975 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 4979 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 4987 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 4995 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 5011 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 5019 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 5027 of file fidling/gen/sdk/fidl/fuchsia.ui.composition/fuchsia.ui.composition/hlcpp/fuchsia/ui/composition/cpp/fidl.h
bool has_skips_on_frame_presented ()
Defined at line 5042 of file fidling/gen/sdk/fidl/fuchsia.ui.composition/fuchsia.ui.composition/hlcpp/fuchsia/ui/composition/cpp/fidl.h
bool * mutable_skips_on_frame_presented ()
If true, the client will not receive [Flatland.OnFramePresented] events.
If absent, `skips_on_frame_presented` is false.
Defined at line 5049 of file fidling/gen/sdk/fidl/fuchsia.ui.composition/fuchsia.ui.composition/hlcpp/fuchsia/ui/composition/cpp/fidl.h
void clear_skips_on_frame_presented ()
Defined at line 5057 of file fidling/gen/sdk/fidl/fuchsia.ui.composition/fuchsia.ui.composition/hlcpp/fuchsia/ui/composition/cpp/fidl.h
TrustedFlatlandConfig & set_schedule_asap (bool _value)
TrustedFlatlandConfig & set_pass_acquire_fences (bool _value)
TrustedFlatlandConfig & set_skips_present_credits (bool _value)
TrustedFlatlandConfig & set_skips_on_frame_presented (bool _value)
void TrustedFlatlandConfig ()
void TrustedFlatlandConfig (TrustedFlatlandConfig && other)
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 5007 of file fidling/gen/sdk/fidl/fuchsia.ui.composition/fuchsia.ui.composition/hlcpp/fuchsia/ui/composition/cpp/fidl.h
const bool & skips_on_frame_presented ()
If true, the client will not receive [Flatland.OnFramePresented] events.
If absent, `skips_on_frame_presented` is false.
Defined at line 5038 of file fidling/gen/sdk/fidl/fuchsia.ui.composition/fuchsia.ui.composition/hlcpp/fuchsia/ui/composition/cpp/fidl.h
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)