From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id XAA08369; Sat, 12 May 2001 23:25:19 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id XAA08364 for ; Sat, 12 May 2001 23:25:19 +0200 (MET DST) Received: from web11507.mail.yahoo.com (web11507.mail.yahoo.com [216.136.172.39]) by nez-perce.inria.fr (8.11.1/8.10.0) with SMTP id f4CLPHb25655 for ; Sat, 12 May 2001 23:25:18 +0200 (MET DST) Message-ID: <20010512212515.85011.qmail@web11507.mail.yahoo.com> Received: from [213.64.99.135] by web11507.mail.yahoo.com; Sat, 12 May 2001 14:25:15 PDT Date: Sat, 12 May 2001 14:25:15 -0700 (PDT) From: Peter Ronnquist Subject: Re: [Caml-list] How to synchtonize swap buffers with vertical retrace in lablgk/lablgtk, or labgl/labltk, To: Chris Hecker , caml-list@inria.fr In-Reply-To: <4.3.2.7.2.20010503110802.04354560@shell16.ba.best.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk --- Chris Hecker 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