class TrustedFlatlandConfig
Defined at line 6958 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.
void TrustedFlatlandConfig ()
void TrustedFlatlandConfig (TrustedFlatlandConfig && other)
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 6975 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 6979 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 6994 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 7002 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 7014 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 7018 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 7026 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 7034 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 7050 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 7058 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 7066 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 7081 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 7088 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 7096 of file fidling/gen/sdk/fidl/fuchsia.ui.composition/fuchsia.ui.composition/hlcpp/fuchsia/ui/composition/cpp/fidl.h
void clear_use_flatland2_api ()
Defined at line 7134 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)
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 7046 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 7077 of file fidling/gen/sdk/fidl/fuchsia.ui.composition/fuchsia.ui.composition/hlcpp/fuchsia/ui/composition/cpp/fidl.h
const bool & use_flatland2_api ()
If true, clients may use the [`fuchsia.ui.composition/Flatland2`] protocol, which is
composed into the "classic" [`fuchsia.ui.composition/Flatland`] protocol.
Note: some "classic" Flatland methods are disabled when Flatland2 is enabled; see the
[`fuchsia.ui.composition/Flatland2`] documentation for details.
If absent, `use_flatland2_api` is false.
Defined at line 7111 of file fidling/gen/sdk/fidl/fuchsia.ui.composition/fuchsia.ui.composition/hlcpp/fuchsia/ui/composition/cpp/fidl.h
bool has_use_flatland2_api ()
Defined at line 7115 of file fidling/gen/sdk/fidl/fuchsia.ui.composition/fuchsia.ui.composition/hlcpp/fuchsia/ui/composition/cpp/fidl.h
bool * mutable_use_flatland2_api ()
If true, clients may use the [`fuchsia.ui.composition/Flatland2`] protocol, which is
composed into the "classic" [`fuchsia.ui.composition/Flatland`] protocol.
Note: some "classic" Flatland methods are disabled when Flatland2 is enabled; see the
[`fuchsia.ui.composition/Flatland2`] documentation for details.
If absent, `use_flatland2_api` is false.
Defined at line 7126 of file fidling/gen/sdk/fidl/fuchsia.ui.composition/fuchsia.ui.composition/hlcpp/fuchsia/ui/composition/cpp/fidl.h
TrustedFlatlandConfig & set_use_flatland2_api (bool _value)
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)