template <typename BuilderImpl>
class WireTableBaseBuilder
Defined at line 13892 of file fidling/gen/sdk/fidl/fuchsia.sysmem2/fuchsia.sysmem2/cpp/fidl/fuchsia.sysmem2/cpp/wire_types.h
Public Methods
::fuchsia_sysmem2::wire::Config Build ()
Build and return the table. The builder should not be used after this.
bool has_format_costs ()
void clear_format_costs ()
Clears the format_costs field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
::fidl::VectorView< ::fuchsia_sysmem2::wire::FormatCostEntry> & format_costs ()
This is the ordered list of FormatCost entries which will be considered
by sysmem when breaking ties among formats supported by all participants
of a buffer collection.
During config aggregation, if a later entry has matching FormatCostKey,
the earlier entry is omitted/removed. This allows later files to
override entries in earlier files, and allows files specified in
assembly platform config to override entries in files specified in the
board info.
This vector will normally not have any two entries with matching
pixel_format, pixel_format_modifier, and buffer_usage_bits in the Config
instance loaded from sysmem_config.persistent_fidl by sysmem. If somehow
two entries do match in those fields, sysmem can ignore all but one of
the entries chosen arbitrarily.
BuilderImpl & format_costs (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fidl::VectorView< ::fuchsia_sysmem2::wire::FormatCostEntry>>> elem)
This is the ordered list of FormatCost entries which will be considered
by sysmem when breaking ties among formats supported by all participants
of a buffer collection.
During config aggregation, if a later entry has matching FormatCostKey,
the earlier entry is omitted/removed. This allows later files to
override entries in earlier files, and allows files specified in
assembly platform config to override entries in files specified in the
board info.
This vector will normally not have any two entries with matching
pixel_format, pixel_format_modifier, and buffer_usage_bits in the Config
instance loaded from sysmem_config.persistent_fidl by sysmem. If somehow
two entries do match in those fields, sysmem can ignore all but one of
the entries chosen arbitrarily.
Protected Methods
void WireTableBaseBuilder< ::fuchsia_sysmem2::wire::Config, BuilderImpl> (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_sysmem2::wire::Config>> && frame)