[haiku-commits] Re: haiku: hrev44844 - src/libs/glut headers/os/opengl/GL

  • From: Alexander von Gluck IV <kallisti5@xxxxxxxxxxx>
  • To: <haiku-commits@xxxxxxxxxxxxx>
  • Date: Fri, 16 Nov 2012 11:48:05 -0600

On 2012-11-16 11:29 am, Axel DÃrfler wrote:
Am 16/11/2012 18:10, schrieb Alexander von Gluck IV:
For now i'm moving it to the test/kits/opengl/ directory.. we should
remove it completely at some point though.

How about an optional package? Or does it not have any relevance anymore?
Also, was libGLUT part of BeOS?

I think most of the relevance in "real" applications is gone.. It pretty much is an OS independent wrapper for GL to accomplish basic (demo-like) tasks. Normally to do GL work, you have to work with the OS provided GL context setup code (GLX on linux, OpenGL kit on BeOS/Haiku, etc).

The guy who wrote it did so for some introduction to GL books and it got picked up as a "standard" early on in the 90's even though it really wasn't designed that way. (correct me if i'm wrong)

I checked my modern "OpenGL super bible, 5th edition" book and it *does* use GLUT for learning examples... here is what it said:

"the GLUT library excels in its role for learning and demonstration exercises and hiding all the platform-specific details of window creation and OpenGL context initialization"

So.. good to have? Yes. Worth keeping around until FreeGLUT is ported due to the strange anti-GPL license situation? Eh.

I think removing it is best as it would encourage anyone who needs it to port FreeGLUT. (I started on it... but it's going to be a lot of work)

Other related posts: