Browse thread
ANN: Chess III Arena 0.5
[
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: | Jon Harrop <jon@f...> |
| Subject: | Re: [Caml-list] ANN: Chess III Arena 0.5 |
On Wednesday 04 July 2007 21:06:29 Grant Olson wrote: > My point was offloading the work to another subsystem doesn't give me a > very good idea of the general-case performance of the language. For most > programs the GPU is not a factor one way or the other. Don't forget the OpenGL driver. This is a very complicated and often highly optimized piece of software. In the case of display lists, it is essentially acting as an optimizing compiler. 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. When you are rendering static geometry (as you are), display lists are an excellent way to get huge performance improvements without leaving the comfort of idiomatic OCaml code. > Incidentally, Jon's code seemed to run slower on my graphics card anyway. What hardware and drivers are you using? -- Dr Jon D Harrop, Flying Frog Consultancy Ltd. The OCaml Journal http://www.ffconsultancy.com/products/ocaml_journal/?e