On Fri, 12 Oct 2007, chris clepper wrote:
On 10/12/07, chris clepper <[EMAIL PROTECTED]> wrote:
On 10/12/07, Mathieu Bouchard <[EMAIL PROTECTED]> wrote:
Ok, then the only solution is to start a small thread that only tries to
display the last completed frame. It's sort of like the threaded
soundfiler.
Threading and OpenGL are a no-no. Plus, the driver is just going to stall
on all GL calls until the swap is done at refresh.
If you can render to an explicitly off-screen buffer, I imagine that it
would bypass the stalling at the level of all gl commands that use that
buffer, and then you would have that other thread try to copy that buffer
to screen and stall, instead of stalling the main thread. I don't know
whether you can do that with OpenGL. Perhaps it can only be done in an OS
dependent way or maybe not at all. I don't know enough OpenGL to tell.
Maybe you can tell?
_ _ __ ___ _____ ________ _____________ _____________________ ...
| Mathieu Bouchard - tél:+1.514.383.3801, Montréal QC Canada
_______________________________________________
PD-list@iem.at mailing list
UNSUBSCRIBE and account-management ->
http://lists.puredata.info/listinfo/pd-list