[Bug 42131] Problem with resizing OpenGL windows when using XCB

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Jan 3 07:05:34 PST 2012


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

--- Comment #1 from ikrabbe.ask at gmail.com 2012-01-03 07:05:34 PST ---
I can confirm this bug. It seems that there are some internal events, forwarded
to the DRI(2) module that get lost, as xcb doesn't use XEvents. That's why it
works, when you use the Xlib Event Loop { if (XPending(D)) XNextEvent(D,&E); }
with XSetEventQueueOwner(Xlib...);

When you use the xcb event loop mechanism, mesa does not detect the events,
that need to be reacted on by the DRI module.

So after all, this problem has to be solved within mesa, not within xcb.
Obviously there where some experiments that care about xcb and mesa, but I
haven't found a good development branch yet.

What I do about this problem now is to create a glXCreateWindow (overlay) at
full screen size and render my scene into the visible part of the window, by
translation and scaling.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the dri-devel mailing list