Hi,

On some GPUs (like AMD Kaveri), mouse cursor gets corrupted, because 64x64 
cursor size is assumed.
This restriction was removed on mesa gbm, which now exports GBM_BO_USE_CURSOR.

These patches depend on that gbm fix, but have a fallback for previous mesa 
versions.   

More details on bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=79809

Alvaro Fernando García (3):
  Do not assume 64x64 cursor, added support for other sizes (like in AMD
    Kaveri, 128x128).
  Init cursor size to 64x64 if drmGetCap() fails.
  Use Mesa GBM_BO_USE_CURSOR define (which removes 64x64 restriction)

 src/compositor-drm.c | 43 ++++++++++++++++++++++++++++++++++++-------
 1 file changed, 36 insertions(+), 7 deletions(-)

-- 
2.0.0

_______________________________________________
wayland-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/wayland-devel

Reply via email to