1/3 winex11: add PixelFormat supports for palettes

Roderick Colenbrander thunderbird2k at gmail.com
Sun Aug 30 13:14:27 CDT 2009


Hi,

This patch is part of a series of patches which will add PixelFormat
support to the palette code. The goal is to get rid of a hardcoded
PixelFormat in X11DRV_PALETTE_ToPhysical / _ToLogical in order to
prepare for 32-bit dibsection support.

This first patch introduces a PixelFormat structure and lets the
current code use it. For now I'm doing something like 'PixelFormat *pf
= &default_format' in the ToLogical/ToPhysical functions but that will
be removed in patch 2 and 3, it is just a temporary line of code, so I
could keep this patch small.

Regards,
Roderick Colenbrander
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Refactor-the-palette-code-to-work-on-a-new-PixelForm.patch
Type: text/x-diff
Size: 10058 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20090830/381f1577/attachment.patch>


More information about the wine-patches mailing list