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 KAA08554; Fri, 4 May 2001 10:51:14 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id KAA08544 for ; Fri, 4 May 2001 10:51:13 +0200 (MET DST) Received: from dpt-info.u-strasbg.fr (dpt-info.u-strasbg.fr [130.79.6.1]) by concorde.inria.fr (8.11.1/8.10.0) with ESMTP id f448pBD14705 for ; Fri, 4 May 2001 10:51:11 +0200 (MET DST) Received: from lambda.u-strasbg.fr (mail@lambda.u-strasbg.fr [130.79.90.63]) by dpt-info.u-strasbg.fr (8.9.3/8.9.3) with ESMTP id KAA01597; Fri, 4 May 2001 10:51:01 +0200 Received: from luther by lambda.u-strasbg.fr with local (Exim 3.22 #1 (Debian)) id 14vbJy-0003TO-00; Fri, 04 May 2001 10:52:18 +0200 Date: Fri, 4 May 2001 10:52:18 +0200 To: Chris Hecker Cc: Peter Ronnquist , caml-list@inria.fr Subject: Re: [Caml-list] How to synchtonize swap buffers with vertical retrace in lablgk/lablgtk, or labgl/labltk, Message-ID: <20010504105218.A13338@lambda.u-strasbg.fr> References: <20010503130947.30320.qmail@web11503.mail.yahoo.com> <4.3.2.7.2.20010503110802.04354560@shell16.ba.best.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.17i In-Reply-To: <4.3.2.7.2.20010503110802.04354560@shell16.ba.best.com>; from checker@d6.com on Thu, May 03, 2001 at 11:11:50AM -0700 From: Sven LUTHER Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk On Thu, May 03, 2001 at 11:11:50AM -0700, 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. Does X not do this by himself, at least if you use hardware accelerated mesa drivers (the dri version of them). Not sure though. Friendly, Sven Luther ------------------- To unsubscribe, mail caml-list-request@inria.fr. Archives: http://caml.inria.fr