From: "Leonardo E. Reiter" <lreiter@win4lin.com>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] Updated BGR vs. RGB vga patch...
Date: Mon, 10 Apr 2006 15:11:12 -0400 [thread overview]
Message-ID: <443AADD0.9000106@win4lin.com> (raw)
In-Reply-To: <Pine.LNX.4.64.0604102304420.1905@home.oyster.ru>
Probably... I just don't know anything about SDL and I needed this patch
to work right away with at least the command-line option. It's
definitely deducible from X11, and that's very easy.
- Leo Reiter
malc wrote:
> On Mon, 10 Apr 2006, Leonardo E. Reiter wrote:
>
>> Anyway, I didn't spend time figuring out how to query SDL for the
>> ordering. You still have to manually pass in -bgr. The good news is
>> that all the computation is now done at compile-time, with only very
>> few tests done at run-time. I agree with your assessment of
>> compile-time versus run-time options... I was merely suggesting a
>> compromise to fend off the minor performance hit of using the old
>> patch. But the method you suggested is much better and that's how
>> it's implemented now.
>
>
> I maybe going out on a limb here, but isn't rgb/bgr trivially deducible
> from: sdl.c:screen->format->[RGBA]shift.
>
--
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
http://www.win4lin.com
next prev parent reply other threads:[~2006-04-10 19:11 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-04-10 16:25 [Qemu-devel] Updated BGR vs. RGB vga patch Leonardo E. Reiter
2006-04-10 16:35 ` Paul Brook
2006-04-10 16:41 ` Leonardo E. Reiter
2006-04-10 16:46 ` Paul Brook
2006-04-10 16:48 ` Leonardo E. Reiter
2006-04-10 16:44 ` Leonardo E. Reiter
2006-04-10 16:49 ` Paul Brook
2006-04-10 16:51 ` Leonardo E. Reiter
2006-04-10 16:59 ` Paul Brook
2006-04-10 18:24 ` Leonardo E. Reiter
2006-04-10 19:08 ` malc
2006-04-10 19:11 ` Leonardo E. Reiter [this message]
2006-04-11 17:06 ` Leonardo E. Reiter
2006-04-11 17:11 ` Leonardo E. Reiter
2006-04-10 18:25 ` Leonardo E. Reiter
2006-04-10 23:12 ` Thiemo Seufer
2006-04-10 23:22 ` Leonardo E. Reiter
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=443AADD0.9000106@win4lin.com \
--to=lreiter@win4lin.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).