Re: [linux-audio-dev] FLTK/X11 question

New Message Reply About this list Date view Thread view Subject view Author view Other groups

Subject: Re: [linux-audio-dev] FLTK/X11 question
From: Steve Harris (S.W.Harris_AT_ecs.soton.ac.uk)
Date: Wed Sep 25 2002 - 19:45:36 EEST


On Wed, Sep 25, 2002 at 06:12:31 +0200, Tim Goetze wrote:
> >> I seem to remeber that on the Amiga and in GL I could issue a call to wait
> >> for the next vertical blank, forcing the redraw to be in sync with the
> >> video hardware. Is there an equivalent in FLTK or X?
> >>
> >> How do other people get round this?
>
> i'd look at the GL kernel support sites, they might have a patch that
> creates some sort of a '/dev/retrace', or add it to GLX. with vanilla
> linux/X there's no way to do this except busy-wait reading inb
> (0x3da) afaik.

There is a copy-on-next-vert-refresh call in X, I think. Part of the dbe
extension.

I dont think I can use it with FLTK though, as I can't find a way of
drawing onto an non-screen surface and then using the dbe.

Its probably just a bad choice of toolkit. GDK and SDL seem to be able to
do it.

- Steve
_______________________________________________
linux-audio-dev mailing list
linux-audio-dev_AT_music.columbia.edu
http://music.columbia.edu/mailman/listinfo/linux-audio-dev


New Message Reply About this list Date view Thread view Subject view Author view Other groups

This archive was generated by hypermail 2b28 : Wed Sep 25 2002 - 20:03:16 EEST