If I want to code a program using OpenGL in Linux do I have to have the X11 server running? Or can I (with OpenGL) create the windows and system calls on my own?
If I want to code a program using OpenGL in Linux do I have to have the X11 server running? Or can I (with OpenGL) create the windows and system calls on my own?
im not a linuxer but i think you may have better luck posting that kinda question at the nehe.gamedev.net forums. sorry i don't have any actual information for you
"uh uh uh, you didn't say the magic word"
-Jurassic Park
OpenGL itself provides no support for creating windows (which is why its so portable). A lib like GLUT can manage windows for you but it makes use of the running windowing system. I dont know of any libs for OpenGL that can create windows without an X server running.Originally Posted by Thantos
the opengl forums on gamedev rather than just nehe seem to give me more answers to my problems(14 responses from opengl forum and 3 on nehe...for my specific problem)
You would have to probably use the framebuffer to do this and pray that they have a hardware accelerated frame buffer driver. Most graphics cards do have hardware accelerated X drivers, and it would be much, much simpler to just use X.