diff options
author | Michael Thayer <michael.thayer@oracle.com> | 2014-03-31 11:21:42 +0200 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2014-04-03 16:46:55 -0700 |
commit | 901fbfbbbd71c0d82080957f8ba09eebbc786f2b (patch) | |
tree | 968b7a427ae568c8d364b8f4239df9d1185f59f1 /dri3 | |
parent | 62ab4102260fd3342a0e5ae3a4f77b430af64f4e (diff) |
Add a return value to load_cursor_argb() to allow it to report failure
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@oracle.com>
Reviewed-by: Dave Airlie <airlied@redhat.com>
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'dri3')
0 files changed, 0 insertions, 0 deletions