From: Nickolay Semyonov-Kolchin <snob@snob.spb.ru>
To: caml-list@inria.fr
Subject: Re: [Caml-list] about optionnal argument ?
Date: Fri, 27 Dec 2002 20:18:13 +0500 [thread overview]
Message-ID: <200212272018.13314.snob@snob.spb.ru> (raw)
In-Reply-To: <20021228001109W.garrigue@kurims.kyoto-u.ac.jp>
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 after
gl[Vertex,Normal,Color,etc] call optimization. Immediate mode is slow by
design. One must use "Vertex Arrays" instead. VAR/VAO will give even more
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
prev parent reply other threads:[~2002-12-27 17:37 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-12-27 9:18 [Caml-list] First alpha release of LablGTK2 Jacques Garrigue
2002-12-27 12:13 ` [Caml-list] about optionnal argument ? Christophe Raffalli
2002-12-27 15:11 ` Jacques Garrigue
2002-12-27 15:18 ` Nickolay Semyonov-Kolchin [this message]
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=200212272018.13314.snob@snob.spb.ru \
--to=snob@snob.spb.ru \
--cc=caml-list@inria.fr \
/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).