xserver-multidpi/hw/xfree86/ramdac
Michael Thayer 901fbfbbbd 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>
2014-04-03 16:46:55 -07:00
..
BT.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
BT.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
BTPriv.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
CURSOR.NOTES Merging XORG-CURRENT into trunk 2004-04-23 19:54:30 +00:00
IBM.c Add a return value to load_cursor_argb() to allow it to report failure 2014-04-03 16:46:55 -07:00
IBM.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
IBMPriv.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
Makefile.am Replace INCLUDES with AM_CPPFLAGS 2013-08-06 13:08:13 +10:00
TI.c Add a return value to load_cursor_argb() to allow it to report failure 2014-04-03 16:46:55 -07:00
TI.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
TIPriv.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
xf86Cursor.c Add a return value to load_cursor_argb() to allow it to report failure 2014-04-03 16:46:55 -07:00
xf86Cursor.h Add a return value to load_cursor_argb() to allow it to report failure 2014-04-03 16:46:55 -07:00
xf86CursorPriv.h Add a return value to load_cursor_argb() to allow it to report failure 2014-04-03 16:46:55 -07:00
xf86HWCurs.c Add a return value to load_cursor_argb() to allow it to report failure 2014-04-03 16:46:55 -07:00
xf86RamDac.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
xf86RamDac.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
xf86RamDacCmap.c xf86: migrate to using xf86ScreenToScrn wrapper (v2) 2012-05-21 12:59:08 +01:00
xf86RamDacPriv.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00