class DriverLayer

Defined at line 25 of file ../../src/graphics/display/lib/api-types/cpp/driver-layer.h

Equivalent to the FIDL type [`fuchsia.hardware.display.engine/DriverLayer`].

Instances are guaranteed to represent valid layer definitions.

This is a value type. Instances can be stored in containers. Copying, moving

and destruction are trivial.

Public Methods

void DriverLayer (const DriverLayer & )

Defined at line 43 of file ../../src/graphics/display/lib/api-types/cpp/driver-layer.h

void DriverLayer (DriverLayer && )

Defined at line 44 of file ../../src/graphics/display/lib/api-types/cpp/driver-layer.h

DriverLayer & operator= (const DriverLayer & )

Defined at line 45 of file ../../src/graphics/display/lib/api-types/cpp/driver-layer.h

DriverLayer & operator= (DriverLayer && )

Defined at line 46 of file ../../src/graphics/display/lib/api-types/cpp/driver-layer.h

void ~DriverLayer ()

Defined at line 47 of file ../../src/graphics/display/lib/api-types/cpp/driver-layer.h

const Rectangle & display_destination ()

Defined at line 54 of file ../../src/graphics/display/lib/api-types/cpp/driver-layer.h

const Rectangle & image_source ()

Defined at line 55 of file ../../src/graphics/display/lib/api-types/cpp/driver-layer.h

DriverImageId image_id ()

Defined at line 56 of file ../../src/graphics/display/lib/api-types/cpp/driver-layer.h

const ImageMetadata & image_metadata ()

Defined at line 57 of file ../../src/graphics/display/lib/api-types/cpp/driver-layer.h

const Color & fallback_color ()

Defined at line 58 of file ../../src/graphics/display/lib/api-types/cpp/driver-layer.h

AlphaMode alpha_mode ()

Out-of-tree drivers must not use this method, because it will be reworked.

Defined at line 61 of file ../../src/graphics/display/lib/api-types/cpp/driver-layer.h

float alpha_coefficient ()

Out-of-tree drivers must not use this method, because it will be reworked.

Defined at line 64 of file ../../src/graphics/display/lib/api-types/cpp/driver-layer.h

CoordinateTransformation image_source_transformation ()

Defined at line 66 of file ../../src/graphics/display/lib/api-types/cpp/driver-layer.h

bool IsValid (const fuchsia_hardware_display_engine::wire::Layer & fidl_layer)

True iff `layer` is convertible to a valid DriverLayer.

Defined at line 100 of file ../../src/graphics/display/lib/api-types/cpp/driver-layer.h

void DriverLayer (const DriverLayer::ConstructorArgs & args)

Constructor that enables the designated initializer syntax.

NOLINTNEXTLINE(google-explicit-constructor)

Defined at line 155 of file ../../src/graphics/display/lib/api-types/cpp/driver-layer.h

void DriverLayer (const fuchsia_hardware_display_engine::wire::Layer & fidl_layer)

`fidl_layer` must be convertible to a valid DriverLayer.

Defined at line 167 of file ../../src/graphics/display/lib/api-types/cpp/driver-layer.h

fuchsia_hardware_display_engine::wire::Layer ToFidl ()

Defined at line 189 of file ../../src/graphics/display/lib/api-types/cpp/driver-layer.h

Friends

bool DriverLayer (const DriverLayer & lhs, const DriverLayer & rhs)
bool DriverLayer (const DriverLayer & lhsconst DriverLayer & rhs)