From mboxrd@z Thu Jan 1 00:00:00 1970 X-Sympa-To: caml-list@inria.fr Received: from mail3-relais-sop.national.inria.fr (mail3-relais-sop.national.inria.fr [192.134.164.104]) by walapai.inria.fr (8.13.6/8.13.6) with ESMTP id p3QKcY4Q010787 for ; Tue, 26 Apr 2011 22:38:40 +0200 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AsUNAP4st03RVdi+aWdsb2JhbACYOI0nCBQNCQsHEwchq2SKeIdjNIhjhXYEhX2Cf49cOoNv X-IronPort-AV: E=Sophos;i="4.64,270,1301868000"; d="scan'208";a="81820848" Received: from mail-qy0-f190.google.com ([209.85.216.190]) by mail3-smtp-sop.national.inria.fr with ESMTP/TLS/RC4-SHA; 26 Apr 2011 22:38:33 +0200 Received: by qyg14 with SMTP id 14so1999831qyg.27 for ; Tue, 26 Apr 2011 13:38:32 -0700 (PDT) Received: by 10.224.187.1 with SMTP id cu1mr120527qab.20.1303850311991; Tue, 26 Apr 2011 13:38:31 -0700 (PDT) Path: glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: fa.caml Date: Tue, 26 Apr 2011 13:38:31 -0700 (PDT) In-Reply-To: Reply-To: fa.caml@googlegroups.com Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=132.177.8.40; posting-account=C2cSdAoAAADMDMMNIKs975m9-hquLe4I NNTP-Posting-Host: 132.177.8.40 User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: From: Ethan Burns To: fa.caml@googlegroups.com Cc: Gabriel Scherer , caml-list@inria.fr Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by walapai.inria.fr id p3QKcY4Q010787 X-Validation-by: burns.ethan@gmail.com Subject: Re: [Caml-list] f#/mono vs ocaml runtime system - open gl animation screen tearing. Are you using double buffering? I am certainly no expert, but if you are using double buffering then I am not sure how the GC would interfere. The call to Sdlgl.swap_buffers (assuming you are using the ocamlsdl library) seems to call straight through to SDL_GL_SwapBuffers in the SDL library. Once you have made this call, I don't think that the OCaml GC will get a chance to interfere until the buffer is completely swapped (therefore no stuttering effects). Ethan