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 SAA32039; Fri, 27 Dec 2002 18:37:13 +0100 (MET) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f 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 SAA32129 for ; Fri, 27 Dec 2002 18:37:12 +0100 (MET) Received: from dux.ru (ns.dux.ru [193.125.210.65]) by nez-perce.inria.fr (8.11.1/8.11.1) with ESMTP id gBRHbBn24447 for ; Fri, 27 Dec 2002 18:37:12 +0100 (MET) Received: from dux.ru (localhost [127.0.0.1]) by dux.ru (8.12.6/8.12.6) with ESMTP id gBRHfjbc066717 for ; Fri, 27 Dec 2002 20:41:45 +0300 (MSK) (envelope-from snob@snob.spb.ru) Received: (from uucp@localhost) by dux.ru (8.12.6/8.12.1/Submit) with UUCP id gBRHfjo8066716 for caml-list@inria.fr; Fri, 27 Dec 2002 20:41:45 +0300 (MSK) (envelope-from snob@snob.spb.ru) Received: (qmail 2585 invoked by uid 0); 27 Dec 2002 17:37:06 -0000 Received: from unknown (HELO athlon.snob.spb.ru) (unknown) by unknown with SMTP; 27 Dec 2002 17:37:06 -0000 Content-Type: text/plain; charset="iso-8859-1" From: Nickolay Semyonov-Kolchin To: caml-list@inria.fr Subject: Re: [Caml-list] about optionnal argument ? Date: Fri, 27 Dec 2002 20:18:13 +0500 User-Agent: KMail/1.4.3 References: <20021227181837A.garrigue@kurims.kyoto-u.ac.jp> <3E0C43FE.7030200@univ-savoie.fr> <20021228001109W.garrigue@kurims.kyoto-u.ac.jp> In-Reply-To: <20021228001109W.garrigue@kurims.kyoto-u.ac.jp> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Message-Id: <200212272018.13314.snob@snob.spb.ru> Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk On Friday 27 December 2002 20:11, Jacques Garrigue wrote: > I don't know how glVertex is implemented on the C side, but if it is > only copying its data to a queue, then we may want to optimize the > marshalling. But again it depends how your data was layed out > originally: if it is in a table, the vector form is best as no copy is > needed. If you have to compute it for each call, then the flat unboxed > calls are best. > This discussion is pointless. There will be almost no perfomance gain aft= er=20 gl[Vertex,Normal,Color,etc] call optimization. Immediate mode is slow by=20 design. One must use "Vertex Arrays" instead. VAR/VAO will give even more= =20 speedup. Nickolay ------------------- To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ Beginner's list: http://groups.yahoo.com/group/ocaml_beginners