Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
[Caml-list] First alpha release of LablGTK2
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2002-12-27 (17:37)
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 

To unsubscribe, mail Archives:
Bug reports: FAQ:
Beginner's list: