Do not assume 64x64 cursor, added support for other sizes (like in AMD Kaveri, 128x128).

Graphics / Wayland / Weston - Alvaro Fernando GarcĂ­a [gmail.com] - 29 July 2014 02:51 UTC

Init cursor size to 64x64 if drmGetCap() fails.

Use Mesa GBM_BO_USE_CURSOR define (which removes 64x64 restriction)

dce7c6e Do not assume 64x64 cursor, added support for other sizes (like in AMD Kaveri, 128x128).
src/compositor-drm.c | 41 ++++++++++++++++++++++++++++++++++-------
1 file changed, 34 insertions(+), 7 deletions(-)

Upstream: cgit.freedesktop.org


  • Share