[Mesa-dev] [Bug 105132] glxSwapBuffers has no effect

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Feb 19 14:08:49 UTC 2018


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

--- Comment #4 from Julien Isorce <julien.isorce at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20180219/71067e85/attachment-0001.html>


More information about the mesa-dev mailing list