Namespaces
Enumerations
enum class ConfigResult : uint32_t
| Name | Value | Comments |
|---|---|---|
| kOk | 0u |
The config is compatible with the current hardware. |
| kEmptyConfig | 1u |
The config doesn't impact any connected display.
Said differently, the config does not assign layers to any display that
Clients should process any display changes and retry the |
| kInvalidConfig | 2u |
The config is not compatible with any hardware. |
| kUnsupportedConfig | 3u |
The config layer assignment is not supported by the current hardware. |
| kTooManyDisplays | 4u |
The config uses more than the number of connected displays. |
| kUnsupportedDisplayModes | 5u |
The config display modes are not supported by the current hardware.
The client should try a different set of displays or display modes. |
The result of checking a draft display config.
Values are produced by [`fuchsia.hardware.display/Coordinator.CheckConfig`].
Defined at line 119 of file fidling/gen/sdk/fidl/fuchsia.hardware.display.types/fuchsia.hardware.display.types/cpp/fidl/fuchsia.hardware.display.types/cpp/common_types.h
enum class CoordinateTransformation : uint8_t
| Name | Value | Comments |
|---|---|---|
| kIdentity | 0u |
Image pixels are passed through without any change.
This is the only value guaranteed to be supported by all display engine |
| kReflectX | 1u |
Image pixels are reflected across a line meeting the image's center, parallel to the X axis.
This enum member's numeric value has a single bit set to 1. Any
This transformation is also called an "X flip".
Example: |
| kReflectY | 2u |
Image pixels are reflected across a line meeting the image's center, parallel to the Y axis.
This enum member's numeric value has a single bit set to 1. Any
This transformation is also called an "Y flip".
Example: |
| kRotateCcw180 | 3u |
Image pixels are rotated around the image's center counter-clockwise by 180 degrees.
This is equivalent to applying the `REFLECT_X` and `REFLECT_Y`
Example: |
| kRotateCcw90 | 4u |
Image pixels are rotated around the image's center counter-clockwise by 90 degrees.
The image produced by this transformation has different dimensions from
This enum member's numeric value has a single bit set to 1. Any
Example: |
| kRotateCcw90ReflectX | 5u |
Image pixels are transformed using `ROTATE_CCW_90`, followed by `REFLECT_X`.
The image produced by this transformation has different dimensions from
Example: |
| kRotateCcw90ReflectY | 6u |
Image pixels are transformed using `ROTATE_CCW_90`, followed by `REFLECT_Y`.
The image produced by this transformation has different dimensions from
Example: |
| kRotateCcw270 | 7u |
Image pixels are rotated around the image's center counter-clockwise by 270 degrees.
The image produced by this transformation has different dimensions from
This is equivalent to applying the `ROTATE_CCW_90` transform, followed
Example: |
Transformations that can be applied by display hardware to input images.
The coordinate system transformations listed here can be implemented in
hardware by display engines, because they have straightforward
implementations for raster images.
Support for input image transformations (every member except for `IDENTITY`)
varies across display engines. This is because each transformation requires
non-trivial hardware modifications that have area (cost) and power
implications.
Defined at line 177 of file fidling/gen/sdk/fidl/fuchsia.hardware.display.types/fuchsia.hardware.display.types/cpp/fidl/fuchsia.hardware.display.types/cpp/common_types.h
enum class AlphaMode : uint8_t
| Name | Value | Comments |
|---|---|---|
| kDisable | 0u |
Alpha is disabled for the plane (default). |
| kPremultiplied | 1u |
Plane alpha is premultiplied. |
| kHwMultiply | 2u |
Hardware should multiply the alpha and color channels when blending. |
Defined at line 290 of file fidling/gen/sdk/fidl/fuchsia.hardware.display.types/fuchsia.hardware.display.types/cpp/fidl/fuchsia.hardware.display.types/cpp/common_types.h