wlr_gamma_control_unstable_v1 ↗
Copyright
Copyright © 2015 Giulio camuffo Copyright © 2018 Simon Ser Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted without fee, provided that the above copyright notice appear in all copies and that both that copyright notice and this permission notice appear in supporting documentation, and that the name of the copyright holders not be used in advertising or publicity pertaining to distribution of the software without specific, written prior permission. The copyright holders make no representations about the suitability of this software for any purpose. It is provided "as is" without express or implied warranty. THE COPYRIGHT HOLDERS DISCLAIM ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL THE COPYRIGHT HOLDERS BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
- zwlr_gamma_control_manager_v1 — manager to create per-output gamma controls
- zwlr_gamma_control_v1 — adjust gamma tables for an output
manage gamma tables of outputs
This protocol allows a privileged client to set the gamma tables for outputs.
Warning! The protocol described in this file is experimental and backward incompatible changes may be made. Backward compatible changes may be added together with the corresponding interface version bump. Backward incompatible changes are done by bumping the version number in the protocol and interface names and resetting the interface version. Once the protocol is to be declared stable, the 'z' prefix and the version number in the protocol and interface names are removed and the interface version number is reset.
wlr_gamma_control_unstable_v1
zwlr_gamma_control_manager_v1
- get_gamma_control — get a gamma control for an output
- destroy — destroy the manager
manager to create per-output gamma controls
This interface is a manager that allows creating per-output gamma controls.
wlr_gamma_control_unstable_v1
zwlr_gamma_control_v1
- gamma_size — size of gamma ramps
- error
- set_gamma — set the gamma table
- failed — object no longer valid
- destroy — destroy this control
adjust gamma tables for an output
This interface allows a client to adjust gamma tables for a particular output.
The client will receive the gamma size, and will then be able to set gamma tables. At any time the compositor can send a failed event indicating that this object is no longer valid.
There can only be at most one gamma control object per output, which has exclusive access to this particular output. When the gamma control object is destroyed, the gamma table is restored to its original value.