From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from weis@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id WAA25240 for caml-red; Sat, 10 Feb 2001 22:41:23 +0100 (MET) 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 LAA06536 for ; Sat, 10 Feb 2001 11:11:34 +0100 (MET) Received: from user2.hushmail.com (user2.hushmail.com [64.40.111.42]) by nez-perce.inria.fr (8.11.1/8.10.0) with ESMTP id f1AABX513265 for ; Sat, 10 Feb 2001 11:11:33 +0100 (MET) Received: (from root@localhost) by user2.hushmail.com (8.9.3/8.9.3) id CAA00812; Sat, 10 Feb 2001 02:09:55 -0800 From: peter_ronnquist@hushmail.com Message-Id: <200102101009.CAA00812@user2.hushmail.com> Content-type: multipart/mixed; boundary="Hushpart_boundary_piskjTEYHjdpHrURephPkHfXhnjkGhdB" Subject: Re: Slow lablgl. (fwd) Mime-version: 1.0 To: caml-list@inria.fr Date: Sat, 10 Feb 2001 10:03:24 +0000 (GMT+00:00) Cc: garrigue@kurims.kyoto-u.ac.jp, luther@dpt-info.u-strasbg.fr Sender: weis@pauillac.inria.fr --Hushpart_boundary_piskjTEYHjdpHrURephPkHfXhnjkGhdB Content-type: text/plain Some good news, gears.ml now runs in the same speed division as gears.c. Hardware acceleration works well and this even when I compile to byte code. Although to see the output done in the window I have to move the window once, this forces a redisplay I guess. The mistake done on my part was that I missed that the Togl.timer_func ~ms:20 ~cb:(fun () -> view#idle); function was set to 20 ms, so of course it did not get higher frame rates than 50 fps. I changed it to 5 ms and used a big window (about 800 * 600) and it performed similarly to the gears c version. Needless to say I am quite impressed with this. Now there is only one problem left, when I compile gears.ml to native then it takes a long time (maybe some minutes) with almost all processor time used and when I run the resulting executable the machine freezes. Do you get similar problems with gears.ml when compiling to native? This is not so serious for me at the moment since the byte code compilation works alright for my intentions. Best Regards Peter Rönnquist --Hushpart_boundary_piskjTEYHjdpHrURephPkHfXhnjkGhdB-- IMPORTANT NOTICE: If you are not using HushMail, this message could have been read easily by the many people who have access to your open personal email messages. Get your FREE, totally secure email address at http://www.hushmail.com.