WGL: add proper bitmap opengl rendering

Roderick Colenbrander thunderbird2k at gmail.com
Thu May 14 16:58:36 CDT 2009


Use this version instead. The other contained a major bug (it switched
direct and indirect rendering).

Roderick

On Thu, May 14, 2009 at 8:05 PM, Roderick Colenbrander
<thunderbird2k at gmail.com> wrote:
> 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/f6350080/attachment.bin>


More information about the wine-patches mailing list