[PATCH 0/3] weston compositor-drm.c: remove 64x64 cursor restriction
Alvaro Fernando García
alvarofernandogarcia at gmail.com
Tue Jun 24 20:29:16 PDT 2014
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
More information about the wayland-devel
mailing list