1/4 WineD3D: split WGL pixel format selection code off from CreateContext

Roderick Colenbrander thunderbird2k at gmx.net
Sun Apr 27 15:01:21 CDT 2008


Hi,

This series of patches will rewrite the WGL pixel selection code used in WineD3D. The reason for the rewrite is that wglChoosePixelFormatARB is not very convenient to use (you need the PUSH1 macro), there is code duplication (between the window and pbuffer backends) and it is hard to extend with new functionality like multisampling (one of the last missing pieces of d3d9 which is now trivial to add).

This patch moves the window pixel format selection from CreateContext to WineD3D_ChoosePixelFormat.

Regards,
Roderick Colenbrander
-- 
GMX startet ShortView.de. Hier findest Du Leute mit Deinen Interessen!
Jetzt dabei sein: http://www.shortview.de/?mc=sv_ext_mf@gmx
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Split-the-pixel-format-selection-off-into-a-separate.patch
Type: text/x-patch
Size: 0 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20080427/28b4e2dd/attachment.bin 


More information about the wine-patches mailing list