I don't think you should use DGA. Generally, rendering into shared memory and doing XShmPutImage is going to be faster. DGA doesn't work very well with alot of drivers anyhow.
Unfortunately, I think alot of drivers aren't going to be able to do [EMAIL PROTECTED] as that would require Doublescanning. Though nearly all hardware supports that, all drivers will not. A 320x240 modeline would look like: # 320 x 240 31 kHz, 60 Hz Modeline "320x240" 12.4 320 328 360 400 240 241 244 258 Doublescan You're probably better off using OpenGL for displaying. That way you can scale to full screen and not have to worry about modelines. Also, OpenGL implementations can typically do vblank synced flips. Mark. On Mon, 1 Dec 2003, Mike Mestnik wrote: > I recently started work on tuxnes, an emulator for the old school(8 bit) Nintendo. > I was > wondering how I would get started adding a full screen mode ?DGA? to the emulator. > The size is > "256x240" which means I'm going to have to add a mode line or two. I also might not > stop there as > I can tell that gens needs the same thing, luckily it's "320x240". However "[EMAIL > PROTECTED]" would be > better or "[EMAIL PROTECTED]" as to get the FPS right. > > Above the technical challenges thought, there is a learning curve I need to achieve. > This is > where I think this list can help me most. Point me to the howto and the faq. > > __________________________________ > Do you Yahoo!? > Free Pop-Up Blocker - Get it now > http://companion.yahoo.com/ > _______________________________________________ > XFree86 mailing list > [EMAIL PROTECTED] > http://XFree86.Org/mailman/listinfo/xfree86 > _______________________________________________ XFree86 mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/xfree86