struct SetDisplayRotationCmdHack

Defined at line 2973 of file fidling/gen/sdk/fidl/fuchsia.ui.gfx/fuchsia.ui.gfx/cpp/fidl/fuchsia.ui.gfx/cpp/wire_types.h

Depending on the device, the display might be rotated

with respect to what the lower level device controller

considers the physical orientation of pixels. The

compositors and layers must be in alignment with the

underlying physical orientation which means that for

certain operations like screenshotting, they cannot

provide results with the accurate orientation unless

they have information about how the higher-level display

is orienting the screen. The only legal values for the

rotation are 0, 90, 180, and 270, which are each

applied counterclockwise.

Public Members

uint32_t compositor_id
uint32_t rotation_degrees