From: bugzilla-daemon@freedesktop.org
Subject: [Bug 42131] Problem with resizing OpenGL windows when using XCB
Date: Tue, 03 Jan 2012 15:05:34 +0000
Message-ID:
References:
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Return-path:
Received: from annarchy.freedesktop.org (annarchy.freedesktop.org
[131.252.210.176])
by gabe.freedesktop.org (Postfix) with ESMTP id 68CD39EBAC
for ;
Tue, 3 Jan 2012 07:05:34 -0800 (PST)
In-Reply-To:
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
Sender: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org
Errors-To: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org
To: dri-devel@lists.freedesktop.org
List-Id: dri-devel@lists.freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=42131
--- Comment #1 from ikrabbe.ask@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.