Browse thread
[Caml-list] First alpha release of LablGTK2
-
Jacques Garrigue
-
Christophe Raffalli
-
Jacques Garrigue
- Nickolay Semyonov-Kolchin
-
Jacques Garrigue
-
Christophe Raffalli
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
| Date: | -- (:) |
| From: | Nickolay Semyonov-Kolchin <snob@s...> |
| Subject: | Re: [Caml-list] about optionnal argument ? |
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