[Wayland-bugs] [Bug 79809] radeonsi: mouse cursor corruption using weston on AMD Kaveri

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Jun 10 20:29:39 PDT 2014


https://bugs.freedesktop.org/show_bug.cgi?id=79809

--- Comment #10 from Michel Dänzer <michel at daenzer.net> ---
(In reply to comment #9)
> I've tested on my pc and it works, but is sufficient like that or
> GBM_BO_USE_CURSOR_64X64 should be used only if width and height are 64 (like
> in the previous patch)?

The latter, as GBM will reject cursor dimensions other than 64x64 if it doesn't
define GBM_BO_USE_CURSOR. Something like this:

#ifdef GBM_BO_USE_CURSOR
    flags = GBM_BO_USE_CURSOR | GBM_BO_USE_WRITE;
#else
    flags = GBM_BO_USE_WRITE;
    if (ec->cursor_width == 64 && ec->cursor_height == 64)
        flags |= GBM_BO_USE_CURSOR_64X64;
#endif

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/wayland-bugs/attachments/20140611/6e3629c2/attachment.html>


More information about the Wayland-bugs mailing list