[PATCH] Add a return value to load_cursor_argb() to allow it to report failure
Dave Airlie
airlied at gmail.com
Thu Apr 3 16:21:26 PDT 2014
> load_cursor_argb() may need to be able to fail and have the server fall back
> to a software cursor in at least the following circumstances.
> 1) The hardware can only support some ARGB cursors and this does not just
> depend on cursor size.
> 2) Virtual hardware may not wish to pass through a cursor to the host at a
> particular time but may wish to accept the same cursor at another time.
> This patch adds a return value to the API and makes the server do the
> software fall-back on failure.
>
> Signed-off-by: Michael Thayer <michael.thayer at oracle.com>
I think this is a welcome ABI break, and I probably should have done
something like it ages ago when doing -modesetting,
Reviewed-by: Dave Airlie <airlied at redhat.com>
More information about the xorg-devel
mailing list