[−][src]Trait wayland_protocols::wlr::unstable::gamma_control::v1::client::zwlr_gamma_control_v1::RequestsTrait
Required methods
fn set_gamma(&self, fd: RawFd)
set the gamma table
Set the gamma table. The file descriptor can be memory-mapped to provide the raw gamma table, which contains successive gamma ramps for the red, green and blue channels. Each gamma ramp is an array of 16-byte unsigned integers which has the same length as the gamma size.
The file descriptor data must have the same length as three times the gamma size.
fn destroy(&self)
destroy this control
Destroys the gamma control object. If the object is still valid, this restores the original gamma tables.
This is a destructor, you cannot send requests to this object any longer once this method is called.