[Bug 16559] PixelFormat_WineD3DtoDD Can't translate this Pixelformat

wine-bugs at winehq.org wine-bugs at winehq.org
Thu Jul 2 01:52:10 CDT 2009


http://bugs.winehq.org/show_bug.cgi?id=16559





--- Comment #29 from Andrew Church <wine at achurch.org>  2009-07-02 01:52:10 ---
I'm afraid I'm a bit too busy to look into Trickstyle at the moment, but as far
as the patch goes, I looked around the DirectX SDKs and did a bit of Googling
to figure out how the three formats are used.  In case you want to look into it
yourself, it's basically just a matter of counting bits -- for example,
R8G8B8A8 breaks down as:

8 bits of R (red):   bits  0-7  = 0x000000FF
8 bits of G (green): bits  8-15 = 0x0000FF00
8 bits of B (blue):  bits 16-23 = 0x00FF0000
8 bits of A (alpha): bits 24-31 = 0xFF000000

The trick is figuring out what all the different letters mean and how they
correlate to DDPixelFormat structure fields -- I'm no 3D expert either, and
things like Q and W stump me.

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list