From: Daryll S. <da...@va...> - 2000-06-30 17:52:29
|
On Fri, Jun 30, 2000 at 10:41:57AM -0700, Allen Akin wrote: > I guess the bottom line is that the implementation *is* free to > generate errors under conditions not mandated by the spec, but it > would be dangerous for apps to depend on it. A nice compromise is to > use an OpenGL debugger to check for things like NULL pointers in > inappropriate places, but I don't know if one of the existing *NIX or > Win32 debuggers has been ported to Linux yet. That would be a good > open-source project. Given the pluggable architecture of the DRI, it should be possible to add a layer between the normal dispatch and the true OpenGL function that did things like debugging checks or recorded what operations where being performed for later playback. You could even think of using it to analyze your OpenGL code and determine where you're being inefficient. Those would be very useful contributions! - |Daryll |