[SDL] Speed with X11 ...

michael at surfnetcity.com.au michael at surfnetcity.com.au
Mon Dec 14 16:39:38 PST 1998


On Mon, Dec 14, 1998 at 06:26:03PM -0800, Sam Lantinga wrote:

> > Is this true, even in a windowed mode?  If so, does this work on remote X
> > displays?
> 
> _if_ the flag is set in the _returned_ surface, yes.
> It will never be set in windowed mode. :)

Hmm... this could get tricky... I'll explain the problem:

I'm hacking the SDL driver for vMac, so I'll be effectively blitting the
contents of the video RAM to the SDL_Surface.  Running SDL_UpdateRects() is a
real kludge there, as then you're effectively blitting it to the screen twice
(once by the emulated Mac, and once by SDL)

How can I gracefully handle this situation?

-- 
-- Michael Samuel <michael at surfnetcity.com.au>



More information about the SDL mailing list