https://bugs.freedesktop.org/show_bug.cgi?id=105132
--- Comment #4 from Julien Isorce <julien.iso...@gmail.com> ---
Created attachment 137438
--> https://bugs.freedesktop.org/attachment.cgi?id=137438&action=edit
wip-not-working: poll special dri2 events
As Scott also mentioned, mesa/src/glx/dri2.c::DRI2WireToEvent is never called
when xcb owns the Xlib event queue or as soon as xcb_poll_for_event is called
from the app client.
I was curious of what is done for present extension in
src/loader/loader_dri3_helper.c, so I mimic that solution, i.e. poll special
events by calling "xcb_register_for_special_xge(xcb_dri2_id)" and
"xcb_poll_for_special_event".
The attached experimental patch builds and runs but
"xcb_poll_for_special_event" does not return any event but it was worth a try.
(I am not sending it to mesa-dev as it is an experimentation)
--
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev