On Wed, 18 Oct 2006, Ramya Segar wrote:
> I m a realtive newcomer to linux and device drivers in particular.
> I have doubts regrading how to enable double buffering in the fb driver for
> I m interested in knowing how to enable double bufefring, where two buffers
> are allocated and swapped during vertical blanking period (this is how i
> understood it).
> As I understand it, the dbe extension of XFree86 X server provides software
> double buffering, where each window has two buffers, a front and back..
> If you can point me to any documentation on this, it would be a great help..
If your graphics engine supports virtual screens and panning, one simple way is
- Make the virtual vertical resolution (fb_var_screeninfo.yres_virtual) 2
times the real vertical resolution (fb_var_screeninfo.yres)
- Use panning to switch from the top (fb_var_screeninfo.yoffset = 0) to the
bottom (fb_var_screeninfo.yoffset = fb_var_screeninfo.yres) and vice versa
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@...
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds