bug 2398: OpenGL, child windows, and wine

Lionel Ulmer lionel.ulmer at free.fr
Wed Oct 19 16:31:07 CDT 2005

On Wed, Oct 19, 2005 at 10:24:32PM +0100, Huw D M Davies wrote:
> It's going to be used to enable OpenGL to draw on dibsections (ie
> PFD_DRAW_TO_BITMAP).  The deal is that while you can use a Window as a
> glx drawable you can't use a Pixmap, so the old drawable Escape
> wasn't sufficient.  There are some more bits to come, but they'll have
> to wait until after 0.9.

I hesitated between the two possilibites (but one could imagine that once we
get GL rendering to DIBs, the poor's man fix for the GL windowed problem
would be to create DIBs for each GL 'subwindow' and then just BitBlt the DIB
onto the screen - with Wine handling clipping - each time it is
necessary)... Probably slow (as I doubt that GLXPixmaps are using any direct
rendering) but workable.

Anyway, it will be nice be able to have Civ3 running without it complaining
about 'unhandled pixel format flag' :-)


PS: thanks for the update, always wanted to ask you on IRC about this patch
    but always forgot it :-)

		 Lionel Ulmer - http://www.bbrox.org/

More information about the wine-devel mailing list