[PATCH] When an cursor is set, it is adjusted to use the gamma ramps of the CRTC:s that it is loaded on.
michel at daenzer.net
Mon Apr 14 18:31:34 PDT 2014
On 15.04.2014 10:18, Mattias Andrée wrote:
> This could be improved to be done in
> `crtc->funcs->load_cursor_argb` with more
> accurate adjustments. But I was not able to
> find where `crtc->funcs->load_cursor_argb`
> is implement.
> Additionally, `xf86_reload_cursors` should be
> called when the gamma settings changes. This
> way the cursor's colours are adjusted to use
> the gamma settings directly when the gamma
> is modified rather than the next time its
> image changes.
AFAIK there are GPUs which handle this automagically, so I'm afraid the
X server is the wrong level to solve this. It should be handled by the
drivers (with KMS, probably in the kernel).
Earthling Michel Dänzer | http://www.amd.com
Libre software enthusiast | Mesa and X developer
More information about the xorg-devel