Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] How to synchtonize swap buffers with vertical retrace in lablgk/lablgtk, or labgl/labltk,
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Peter Ronnquist <pronnquist@y...>
Subject: Re: [Caml-list] How to synchtonize swap buffers with vertical retrace in lablgk/lablgtk, or labgl/labltk,

--- Chris Hecker <checker@d6.com> wrote:
> 
> >I am looking for a way to synchronize swapbuffers
> with
> >the vertical retrace using lablg and lablgtk or
> labltk
> >for creating the window to draw the opengl graphics
> >in.
> >Does anyone know if this is possible?
> 
> You usually have to do this through an extension. 
> It's a windowing system issue (or at least, that's
> how OpenGL thinks of it).  So, on windows there's a
> SwapInterval extension, and I'm not sure about X,
> but it's probably the same.
> 
> You'll need to write a thunk to the extension in C
> to use it, because lablgl does not support
> extensions yet.  I hope to fix this at some point
> soon. 
> 
> Chris
> 
> 

I am interested to look at this. I don't exactly know
where to start at this point but I will take a look at
xfree to get some more information.

Best Regards
Peter Rönnquist

__________________________________________________
Do You Yahoo!?
Yahoo! Auctions - buy the things you want at great prices
http://auctions.yahoo.com/
-------------------
To unsubscribe, mail caml-list-request@inria.fr.  Archives: http://caml.inria.fr