class SetDisplayColorConversionCmdHACK
Defined at line 1488 of file fidling/gen/sdk/fidl/fuchsia.ui.gfx/fuchsia.ui.gfx/hlcpp/fuchsia/ui/gfx/cpp/fidl.h
Set the color conversion applied to the compositor's display.
The conversion is applied to to each pixel according to the formula:
(matrix * (pixel + preoffsets)) + postoffsets
where pixel is a column vector consisting of the pixel's 3 components.
`matrix` is passed in row-major order. Clients will be responsible
for passing default values, when needed.
Default values are not currently supported in fidl.
Default Values:
preoffsets = [0 0 0]
matrix = [1 0 0 0 1 0 0 0 1]
postoffsets = [0 0 0]
Public Members
uint32_t compositor_id
array preoffsets
array matrix
array postoffsets
Public Methods
::std::unique_ptr<SetDisplayColorConversionCmdHACK> New ()
void Encode (::fidl::Encoder * _encoder, size_t _offset, std::optional< ::fidl::HandleInformation> maybe_handle_info)
void Decode (::fidl::Decoder * _decoder, SetDisplayColorConversionCmdHACK * value, size_t _offset)
zx_status_t Clone (SetDisplayColorConversionCmdHACK * result)