From: Brian P. <br...@va...> - 2000-10-06 14:43:33
|
Stephen J Baker wrote: > > On Thu, 5 Oct 2000, Daryll Strauss wrote: > > > On Thu, Oct 05, 2000 at 03:41:42PM -0700, Allen Akin wrote: > > > Since 1994 I've been using the visinfo package that I wrote while at > > > SGI. Among other things, it's used in isfast and glean, and it had > > > some influence on Mark Kilgard's design for the display initialization > > > string in GLUT. > > > > Maybe this is something we should package up and include in GLU or > > something. It sounds like it would be generally useful and might > > discourage the use of glXChooseVisual. > > I don't think GLU is the right place for it because GLU is generally > independent of the windowing system - just as GL is...and rightly so. Right. > That leaves GLUT (which already has it - essentially) or building > a new command into GLX where everyone can get at it. > > I vote for a GLX extension. In this case I don't feel an extension is necessary. Allen's visual selection utility is completely layered on top of the GLX API; it needs no hooks inside GLX. I think people who need the code could simply add the .c and .h files to their project and compile it in. That way, there's no hassles with versioning or compile-time or run- time extension testing, etc. And we all know how bad that can be! -Brian |