Version française
Home     About     Download     Resources     Contact us    
Browse thread
ANN: Chess III Arena 0.5
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Daniel_Bünzli <daniel.buenzli@e...>
Subject: Re: [Caml-list] ANN: Chess III Arena 0.5

Le 4 juil. 07 à 23:22, Jon Harrop a écrit :

> The small function that I gave posted offloads the prioritization  
> of texture and vertex data to the OpenGL driver
> and good drivers (e.g. any nVidia driver) will do an excellent job  
> of optimizing for you.
[...]
> What hardware and drivers are you using?

This may not be due to hardware. Looking at the call graph of  
draw_md3 it seems that a glTexImage2D gets captured by the display  
list. On some platforms this is not a good thing, texture objects  
(GlTex.gen_texture etc.) should be used instead. See for example  
question 16.090 here [1].

Daniel

[1] http://www.opengl.org/resources/faq/technical/displaylist.htm