[SDL] [patch] DirectFB driver: MGA CRTC2 support

Thomas Jarosch tomj at simonv.com
Mon Sep 29 15:27:01 PDT 2003


> > I've never used DirectFB, but the patch looks sane.
>
> One thing came to my mind during breakfast this morning:
> Isn't the output of the second head in DirectFB_FlipHWSurface
> one frame behind? I first flip the "offscreen" memory and
> then copy it. Shouldn't I copy it first and the flip it?

Ok, I wrote a test program and the code works the way it is.
-> First flip, then copy

Attached is the "final" version of the patch. I've fixed the comments, 
#ifdefed the printfs() and changed the indent of my code.
Should be ready for CVS :-)

Thomas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sdl-directfb-mga-crtc2.patch
Type: text/x-diff
Size: 10129 bytes
Desc: not available
URL: <http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20030929/b9c045a4/attachment.patch>


More information about the SDL mailing list