[2/2] WGL: Sync pixmap after glFlush/glFinish, not before every GL call
chris.kcat at gmail.com
Thu Sep 13 10:52:52 CDT 2007
On Thursday 13 September 2007 04:40:03 am Alexandre Julliard wrote:
> Chris Robinson <chris.kcat at gmail.com> writes:
> > From 95214f29672566796564db30ab7f61a2462e4e50 Mon Sep 17 00:00:00 2001
> > From: Chris Robinson <chris.kcat at gmail.com>
> > Date: Wed, 12 Sep 2007 06:42:05 -0700
> > Subject: [PATCH] WGL: Sync pixmap after glFlush/glFinish, not before
> > every GL call
> The goal is to sync the pixmap before we start drawing to it, so doing
> it at glFlush time is too late.
Is the pixmap updated with the DIB memory, or is the DIB memory updated with
the pixmap? In the latter case, it should be fine.
Also, I'm not even sure a DIB can have a proper GL context, given that GL
rendering by nature is device-dependant (possibly forgoing generic/software
rendering, which we don't export). Is there anything which shows this is
possible, or should I try to make some tests?
More information about the wine-devel