On Tue, Nov 28, 2000 at 09:26:35AM -0500, Kevin Lawton wrote:
> Well, first I think people got me wrong. My point is that our virtual
> graphics card should spit out a _generic_ set of primitives, for which
> there are GUI _specific_ methods. One set of specific methods for
> SDL, one for X, one for Win32, etc.
Exelecent. The Big Man agrees with the plan I was thinking of!
> Architecting our video handling to expect, assume, and rely on SDL
> is a broken idea. SDL looks quite cool, and I think using it might
> make a good primary use target.
I'd say the same thing, but for a different reason. SDL is exelecent at
providing a framebuffer interface, but doesn't provide any acceleration
support for anything but bitblitting inside the framebuffer.
This means that using primitives and writing the methods to use the
display's (by which I mean X or Win32) acceleration will probably be faster.
Ever try running X with XAA off?
And for platforms where you don't have X or Win32 on the host, then also
have support for SDL. And for platforms where you don't have X or Win32 on
the guest, support framebuffer access like we do now.
-=- James Mastros
--
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GU>CS d->-- s-:- a20 C++ UL+++@ P+++>+++++ L++@ E-() N o? K? w@ M-- !V
PS++ PE Y+ PGP(-) t++@ 5+ X+++ R+ tv+ b+++ DI+ D+ G e>++ h! r- y?
------END GEEK CODE BLOCK------