caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: "Sami Mäkelä" <sajuma@utu.fi>
To: Peter Ronnquist <pronnquist@yahoo.com>
Cc: caml-list@inria.fr
Subject: Re: [Caml-list] How to synchtonize swap buffers with vertical retrace   in lablgk/lablgtk, or labgl/labltk,
Date: Fri, 11 May 2001 17:29:25 +0300	[thread overview]
Message-ID: <3AFBF745.310D2DAC@utu.fi> (raw)
In-Reply-To: <20010511073252.49591.qmail@web11504.mail.yahoo.com>

Peter Ronnquist wrote:
> Some clarification, the behavior I get is that the
> animation is not smooth. It is like the vetical
> retrace is missed sometimes.
> It could be that it do the flip at the correcttime,
> but that the loop sometimes takes too long so that one
> vertical retrace is skipped.

Here are some tips about how to make it faster:

* Use Sdlvideo.surface_display_format to convert the
  image to faster format
* Set the color depth to the depth of your screen
* When using Sdlvideo.update_rect, Sdlvideo.flip is unnecessary.
  I don't know if update_rect waits for vertical retrace.
-------------------
To unsubscribe, mail caml-list-request@inria.fr.  Archives: http://caml.inria.fr


  reply	other threads:[~2001-05-11 14:26 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <200105091112.NAA24433@beepbeep.dev33.cvf>
2001-05-10 17:08 ` Peter Ronnquist
2001-05-10 21:20   ` Peter Ronnquist
2001-05-11  7:32     ` Peter Ronnquist
2001-05-11 14:29       ` Sami Mäkelä [this message]
2001-05-12 17:51         ` Peter Ronnquist
     [not found] <200105111336.PAA23160@beepbeep.dev33.cvf>
2001-05-12 17:24 ` Peter Ronnquist
2001-05-03 13:09 Peter Ronnquist
2001-05-03 18:11 ` Chris Hecker
2001-05-04  8:52   ` Sven LUTHER
2001-05-04  9:30     ` Peter Ronnquist
2001-05-04 10:20       ` Sven LUTHER
2001-05-04 13:47         ` Peter Ronnquist
2001-05-12 21:25   ` Peter Ronnquist

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3AFBF745.310D2DAC@utu.fi \
    --to=sajuma@utu.fi \
    --cc=caml-list@inria.fr \
    --cc=pronnquist@yahoo.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).