quick OpenGL question

This is a discussion on quick OpenGL question within the Game Programming forums, part of the General Programming Boards category; If I want to code a program using OpenGL in Linux do I have to have the X11 server running? ...

  1. #1
    & the hat of GPL slaying Thantos's Avatar
    Join Date
    Sep 2001
    Posts
    5,681

    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?

  2. #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

  3. #3
    Crazy Fool Perspective's Avatar
    Join Date
    Jan 2003
    Location
    Canada
    Posts
    2,640
    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.

  4. #4
    Intranasal Heroin User Xterria's Avatar
    Join Date
    Sep 2001
    Location
    Buffalo, NY
    Posts
    1,035
    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)

  5. #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.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Quick question about types...
    By Elysia in forum C++ Programming
    Replies: 32
    Last Post: 12-07-2008, 04:39 AM
  2. Quick question about replacing laptop harddrive
    By PJYelton in forum Tech Board
    Replies: 4
    Last Post: 01-20-2005, 07:02 PM
  3. Quick Question on File Names and Directories
    By Kyoto Oshiro in forum C++ Programming
    Replies: 4
    Last Post: 03-29-2002, 01:54 AM
  4. * quick question *
    By SavesTheDay in forum C Programming
    Replies: 3
    Last Post: 03-27-2002, 05:58 PM
  5. Quick question: exit();
    By Cheeze-It in forum C Programming
    Replies: 6
    Last Post: 08-15-2001, 05:46 PM

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