[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] Updated BGR vs. RGB vga patch...

From: Leonardo E. Reiter
Subject: Re: [Qemu-devel] Updated BGR vs. RGB vga patch...
Date: Mon, 10 Apr 2006 12:48:02 -0400
User-agent: Mozilla Thunderbird 1.0.7 (X11/20051013)

Okay, that makes perfect sense. Let me see if I can figure out how to get SDL to report the ordering, and I'll try to roll it out that way.

thanks for clarifying,

- Leo Reiter

Paul Brook wrote:
Unfortunately X11 will not allow you to force a certain color order in
24-bit mode.  You can tell it to force byte-order but this only affects
16-bit blits - it's ignored for 24-bit since the individual components
of the 24-bit blits, even if packed into 32-bits, are still 8-bits long.
 That's what the color masks are for.  There is no efficient way to do
this at the server level that I can see.  If you find a better way
(within the current scope of the VGA architecture), I'd be glad to try
to implement it.  I was just sharing something that was useful to me.

It should be possible to select between different 24-bit packings the same way different bit depths are handled.


Leonardo E. Reiter
Vice President of Product Development, CTO

Win4Lin, Inc.
Virtual Computing from Desktop to Data Center
Main: +1 512 339 7979
Fax: +1 512 532 6501

reply via email to

[Prev in Thread] Current Thread [Next in Thread]