struct DisplayEquivalence

Defined at line 24 of file ../../src/ui/scenic/lib/display/internal/display_equivalence.h

Represents the subset of the Display's configuration relevant for

`fuchsia.hardware.display.Coordinator/CheckConfig()`. This struct defines an

**equivalence class**: any two display configurations that produce an identical

`DisplayEquivalence` object are considered equivalent for the purpose of `CheckConfig()`

validation.

This aggregates `LayerEquivalence`s for active layers and display-wide

properties like mode and color conversion settings. This is used to key the

cache for `CheckConfig()` results in `CoordinatorProxy`. The order of layers

in the `layers` vector matters, as it corresponds to the order provided to

the display hardware.

Public Members

vector layers
DisplayMode display_mode
array color_conversion_preoffsets
array color_conversion_coefficients
array color_conversion_postoffsets

Public Methods

bool operator== (const DisplayEquivalence & other)

Defined at line 33 of file ../../src/ui/scenic/lib/display/internal/display_equivalence.h