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 UAA01662; Thu, 3 May 2001 20:13:08 +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 UAA01771 for ; Thu, 3 May 2001 20:13:08 +0200 (MET DST) Received: from mta5.snfc21.pbi.net (mta5.snfc21.pbi.net [206.13.28.241]) by concorde.inria.fr (8.11.1/8.10.0) with ESMTP id f43ID7H23500 for ; Thu, 3 May 2001 20:13:07 +0200 (MET DST) Received: from checkerlap.d6.com ([64.160.53.33]) by mta5.snfc21.pbi.net (Sun Internet Mail Server sims.3.5.2000.01.05.12.18.p9) with ESMTP id <0GCR002Q7UJ4OT@mta5.snfc21.pbi.net> for caml-list@inria.fr; Thu, 3 May 2001 11:11:29 -0700 (PDT) Date: Thu, 03 May 2001 11:11:50 -0700 From: Chris Hecker Subject: Re: [Caml-list] How to synchtonize swap buffers with vertical retrace in lablgk/lablgtk, or labgl/labltk, In-reply-to: <20010503130947.30320.qmail@web11503.mail.yahoo.com> X-Sender: def6@shell16.ba.best.com To: Peter Ronnquist , caml-list@inria.fr Message-id: <4.3.2.7.2.20010503110802.04354560@shell16.ba.best.com> MIME-version: 1.0 X-Mailer: QUALCOMM Windows Eudora Version 4.3.2 Content-type: text/plain; charset="us-ascii" Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk >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 ------------------- To unsubscribe, mail caml-list-request@inria.fr. Archives: http://caml.inria.fr