fuchsia.ui.display.singleton

Added: 12

PROTOCOLS

Info

Defined in fuchsia.ui.display.singleton/info.fidl

Get information about Scenic's primary display.

GetMetrics

Request

<EMPTY>

Response

NameType
info Metrics

TABLES

Metrics

Defined in fuchsia.ui.display.singleton/info.fidl

Describes the physical display, and how to map between physical and logical pixels.

OrdinalFieldTypeDescription
extent_in_px fuchsia.math/SizeU

Same meaning as horizontal_resolution and vertical_resolution in fuchsia.hardware.display.Mode. Given in physical pixels.

extent_in_mm fuchsia.math/SizeU

Same meaning as horizontal_size_mm and vertical_size_mm in fuchsia.hardware.display.Info.

recommended_device_pixel_ratio fuchsia.math/VecF

The number of physical pixels per "logical" pixel, for example as in fuchsia.ui.composition.LayoutInfo.logical_size. It provides an indication of the size of image buffers that should be allocated. This value would typically be used by a component near the root of the scene graph to set a scale for the rest of the scene beneath.

maximum_refresh_rate_in_millihertz uint32

The maximum mumber of images transmitted to the display in 1000 seconds. This is the display's maximum vertical refresh rate, in millihertz (0.001 Hz).

Added: 16