[Xcb] No opengl3 rendering
Peter Harris
peter at harr.ca
Tue Nov 3 18:52:42 PST 2015
On 3 November 2015 at 18:41, Remi Thebault wrote:
> My installed mesa is 10.1.3.
> the call to xcb_register_for_special_xge is present in the source base.
>
> However, my client receive some unknown event type:
> 1st frame: 12 102 103
> all other frames: 12 102
>
> My render code is in expose (code 12) and rendering only works in the first
> frame.
> Are those 102 and 103 the special events?
Probably. (Extension events can change based on which other extensions
the server has loaded. xdpyinfo -queryExtensions can confirm)
See the last comment in
https://bugs.freedesktop.org/show_bug.cgi?id=35945 for a way to pass
unrecognized events to your libGL (or any other registered Xlib
handlers).
> If I do not call XSetEventQueueOwner, I only receive event 12 and everything
> seems to work, even when I use the XCB event queue API.
> Is this portable?
I don't think that's portable. If nothing else, it's entirely possible
for Xlib to have retrieved events that the xcb API will never see.
Peter Harris
More information about the Xcb
mailing list