C Board  

Go Back   C Board > General Programming Boards > Game Programming

Reply
 
LinkBack Thread Tools Display Modes
Old 04-02-2004, 12:22 AM   #1
& the hat of GPL slaying
 
Thantos's Avatar
 
Join Date: Sep 2001
Posts: 5,732
quick OpenGL question

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?
Thantos is offline   Reply With Quote
Old 04-02-2004, 08:24 AM   #2
Registered User
 
heat511's Avatar
 
Join Date: Dec 2001
Posts: 169
hmmmm

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
heat511 is offline   Reply With Quote
Old 04-02-2004, 11:47 AM   #3
Crazy Fool
 
Perspective's Avatar
 
Join Date: Jan 2003
Location: Canada
Posts: 2,596
Quote:
Originally Posted by Thantos
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?
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.
Perspective is offline   Reply With Quote
Old 04-02-2004, 04:38 PM   #4
Intranasal Heroin User
 
Xterria's Avatar
 
Join Date: Sep 2001
Location: Buffalo, NY
Posts: 1,033
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)
Xterria is offline   Reply With Quote
Old 04-04-2004, 08:46 AM   #5
Banned
 
Join Date: Dec 2003
Posts: 367
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.
bludstayne is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Quick question about types... Elysia C++ Programming 32 12-07-2008 05:39 AM
Quick question about replacing laptop harddrive PJYelton Tech Board 4 01-20-2005 08:02 PM
Quick Question on File Names and Directories Kyoto Oshiro C++ Programming 4 03-29-2002 02:54 AM
* quick question * SavesTheDay C Programming 3 03-27-2002 06:58 PM
Quick question: exit(); ethic C Programming 6 08-15-2001 05:46 PM


All times are GMT -6. The time now is 10:26 PM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22