struct AddedDisplayInfo
Defined at line 26 of file ../../src/graphics/display/drivers/coordinator/added-display-info.h
Bundles engine driver information about a newly added display.
This structure was designed to shuttle display information between
dispatchers. It is not thread-safe, and it is not suitable for more
complex processing.
Public Members
IdType display_id
Vector pixel_formats
Vector preferred_modes
Public Methods
zx::result<std::unique_ptr<AddedDisplayInfo>> Create (const fuchsia_hardware_display_engine::wire::RawDisplayInfo & fidl_display_info)
Returns a valid instance.
Fails with ZX_ERR_INVALID_ARGS if `fidl_display_info` cannot be used to
produce a valid instance. Fails with ZX_ERR_NO_MEMORY on OOM. All failures
result in logging.
Instances are always created on the heap so they can be conveniently passed
between dispatchers.
Defined at line 23 of file ../../src/graphics/display/drivers/coordinator/added-display-info.cc