WGL: add proper bitmap opengl rendering

Roderick Colenbrander thunderbird2k at gmail.com
Thu May 14 13:05:33 CDT 2009


Hi,

Right now we claim to offer bitmap rendering on all single buffered
pixel formats. This isn't correct (Windows only offers it in software
rendering mode). Second at the time a WGL context is used (when it is
made current) we decide to use direct or indirect rendering. In other
words we use a single WGL pixel format for both direct and indirect
rendering which is evil. This patch duplicates all 'bitmap rendering
capable' formats and only uses indirect rendering for those. This
corresponds to the Windows behavior since in a lot of cases (except
for Nvidia and AIGLX drivers) indirect also means software rendering.

Regards,
Roderick Colenbrander
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Duplicate-some-single-buffered-pixel-formats-for-bit.patch
Type: text/x-patch
Size: 11196 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20090514/e12a45de/attachment.bin>


More information about the wine-patches mailing list