class Info

Defined at line 1908 of file fidling/gen/sdk/fidl/fuchsia.hardware.display/fuchsia.hardware.display/cpp/fidl/fuchsia.hardware.display/cpp/natural_types.h

Description for a display device attached to the system.

Display devices include external monitors and internal panels.

Public Methods

void Info (::fuchsia_hardware_display_types::DisplayId id, ::std::vector< ::fuchsia_hardware_display_types::Mode> modes, ::std::vector< ::fuchsia_images2::PixelFormat> pixel_format, ::std::string manufacturer_name, ::std::string monitor_name, ::std::string monitor_serial, uint32_t horizontal_size_mm, uint32_t vertical_size_mm, bool using_fallback_size)
void Info ()

Default constructs a |Info| only if all of its members are default constructible.

Defined at line 1918 of file fidling/gen/sdk/fidl/fuchsia.hardware.display/fuchsia.hardware.display/cpp/fidl/fuchsia.hardware.display/cpp/natural_types.h

void Info (Info && )

Defined at line 1921 of file fidling/gen/sdk/fidl/fuchsia.hardware.display/fuchsia.hardware.display/cpp/fidl/fuchsia.hardware.display/cpp/natural_types.h

void Info (Storage_ storage)
void Info (const Info & other)
Info & operator= (const Info & other)
bool operator== (const Info & other)
bool operator!= (const Info & other)
const ::fuchsia_hardware_display_types::DisplayId & id ()

Uniquely identifies the display in a Controller connection.

See [`fuchsia.hardware.display.types/DisplayId`].

::fuchsia_hardware_display_types::DisplayId & id ()

Uniquely identifies the display in a Controller connection.

See [`fuchsia.hardware.display.types/DisplayId`].

Info & id (::fuchsia_hardware_display_types::DisplayId value)

Uniquely identifies the display in a Controller connection.

See [`fuchsia.hardware.display.types/DisplayId`].

const ::std::vector< ::fuchsia_hardware_display_types::Mode> & modes ()

Operational modes supported by the described display device.

The first entry is the device's preferred mode.

::std::vector< ::fuchsia_hardware_display_types::Mode> & modes ()

Operational modes supported by the described display device.

The first entry is the device's preferred mode.

Info & modes (::std::vector< ::fuchsia_hardware_display_types::Mode> value)

Operational modes supported by the described display device.

The first entry is the device's preferred mode.

const ::std::vector< ::fuchsia_images2::PixelFormat> & pixel_format ()

Pixel formats that can be directly displayed on the attached display.

This field will be revised to better reflect the subtleties around

modern display hardware, such as multiple layer types, and around

pixel format modifiers, such as tiling and framebuffer compression

formats. See https://fxbug.dev/42072347 and https://fxbug.dev/42076907.

The formats listed here reflect support from both the display engine

hardware and the display device. This means some of the formats may be

subject to conversion inside the display engine hardware.

The first entry in the list is the display's preferred format. This

format is likely to be supported for transferring data between the

display engine and the display hardware, and not require any conversion

inside the display engine.

Format conversion inside the display engine is likely to be

significantly more power-efficient than a GPU render stage or software

conversion. So, using any format in this list is better than using the

GPU to convert to the preferred format.

::std::vector< ::fuchsia_images2::PixelFormat> & pixel_format ()

Pixel formats that can be directly displayed on the attached display.

This field will be revised to better reflect the subtleties around

modern display hardware, such as multiple layer types, and around

pixel format modifiers, such as tiling and framebuffer compression

formats. See https://fxbug.dev/42072347 and https://fxbug.dev/42076907.

The formats listed here reflect support from both the display engine

hardware and the display device. This means some of the formats may be

subject to conversion inside the display engine hardware.

The first entry in the list is the display's preferred format. This

format is likely to be supported for transferring data between the

display engine and the display hardware, and not require any conversion

inside the display engine.

Format conversion inside the display engine is likely to be

significantly more power-efficient than a GPU render stage or software

conversion. So, using any format in this list is better than using the

GPU to convert to the preferred format.

Info & pixel_format (::std::vector< ::fuchsia_images2::PixelFormat> value)

Pixel formats that can be directly displayed on the attached display.

This field will be revised to better reflect the subtleties around

modern display hardware, such as multiple layer types, and around

pixel format modifiers, such as tiling and framebuffer compression

formats. See https://fxbug.dev/42072347 and https://fxbug.dev/42076907.

The formats listed here reflect support from both the display engine

hardware and the display device. This means some of the formats may be

subject to conversion inside the display engine hardware.

The first entry in the list is the display's preferred format. This

format is likely to be supported for transferring data between the

display engine and the display hardware, and not require any conversion

inside the display engine.

Format conversion inside the display engine is likely to be

significantly more power-efficient than a GPU render stage or software

conversion. So, using any format in this list is better than using the

GPU to convert to the preferred format.

const ::std::string & manufacturer_name ()

Part of a display device identifier that persists across boot cycles.

If the `manufacturer_name`, `monitor_name` and `monitor_serial` fields

are all non-empty, they make up an identifier that is likely to be

unique to the attached device, and is highly unlikely to change across

boot cycles. Software that needs to identify displays (for example, to

honor display-specific preferences) should use this triplet.

::std::string & manufacturer_name ()

Part of a display device identifier that persists across boot cycles.

If the `manufacturer_name`, `monitor_name` and `monitor_serial` fields

are all non-empty, they make up an identifier that is likely to be

unique to the attached device, and is highly unlikely to change across

boot cycles. Software that needs to identify displays (for example, to

honor display-specific preferences) should use this triplet.

Info & manufacturer_name (::std::string value)

Part of a display device identifier that persists across boot cycles.

If the `manufacturer_name`, `monitor_name` and `monitor_serial` fields

are all non-empty, they make up an identifier that is likely to be

unique to the attached device, and is highly unlikely to change across

boot cycles. Software that needs to identify displays (for example, to

honor display-specific preferences) should use this triplet.

const ::std::string & monitor_name ()

Part of a display device identifier that persists across boot cycles.

See `manufacturer_name` for details.

::std::string & monitor_name ()

Part of a display device identifier that persists across boot cycles.

See `manufacturer_name` for details.

Info & monitor_name (::std::string value)

Part of a display device identifier that persists across boot cycles.

See `manufacturer_name` for details.

const ::std::string & monitor_serial ()

Part of a display device identifier that persists across boot cycles.

See `manufacturer_name` for details.

::std::string & monitor_serial ()

Part of a display device identifier that persists across boot cycles.

See `manufacturer_name` for details.

Info & monitor_serial (::std::string value)

Part of a display device identifier that persists across boot cycles.

See `manufacturer_name` for details.

uint32_t horizontal_size_mm ()

Physical horizontal size of the displayed image area, in millimeters.

If `using_fallback_size` is true, the value is a best guess from the

driver. Otherwise, the value here is reported by the display device.

uint32_t & horizontal_size_mm ()

Physical horizontal size of the displayed image area, in millimeters.

If `using_fallback_size` is true, the value is a best guess from the

driver. Otherwise, the value here is reported by the display device.

Info & horizontal_size_mm (uint32_t value)

Physical horizontal size of the displayed image area, in millimeters.

If `using_fallback_size` is true, the value is a best guess from the

driver. Otherwise, the value here is reported by the display device.

Info & operator= (Info && )

Defined at line 1922 of file fidling/gen/sdk/fidl/fuchsia.hardware.display/fuchsia.hardware.display/cpp/fidl/fuchsia.hardware.display/cpp/natural_types.h

uint32_t vertical_size_mm ()

Physical vertical size of the displayed image area, in millimeters.

See `horizontal_size_mm` for more details.

uint32_t & vertical_size_mm ()

Physical vertical size of the displayed image area, in millimeters.

See `horizontal_size_mm` for more details.

Info & vertical_size_mm (uint32_t value)

Physical vertical size of the displayed image area, in millimeters.

See `horizontal_size_mm` for more details.

bool using_fallback_size ()

True if the driver does not have the display's physical sizing info.

bool & using_fallback_size ()

True if the driver does not have the display's physical sizing info.

Info & using_fallback_size (bool value)

True if the driver does not have the display's physical sizing info.

void Info (::fidl::internal::DefaultConstructPossiblyInvalidObjectTag )

Friends

class MemberVisitor
class NaturalStructCodingTraits