Results 1 to 4 of 4

Thread: issues with GLX/X11...

  1. #1

    issues with GLX/X11...

    Hi fellow coders,

    I am currently working on porting a leading 3d engine infrastructure to the linux operating system.

    Our engine is split up in several different components, the core API and the driver API (among others)

    Problem is as follows, the engine was originally developped in windows where one could set up a window and then apply a rendering context to that window. In our case, the actual window opening is done first in the core API, followed by the opengl(d3d,etc..) initialization in the driver. In X11 this doesn't appear to be possible since you must choose the correct Visual and ColorMap before the window is created.

    Quoting Mark Kilgard (from some website),
    "In the X Window System, display mode choices (such as single or double buffering, color index or RGBA mode) must be declared before
    the window is initially opened.......... "

    Needless to say (maybe), I am not an X11 specialists, I am really looking for a solution to this problem, hopefully! they are some X command that will allow the attributes of a window to be changed after it is created. Can anyone help me out on that?


    Ed. (

  2. #2
    Junior Member Newbie
    Join Date
    Feb 2000

    Re: issues with GLX/X11...

    I have been looking too for a solution for this problem for some time. Sadly, I've never found one

    As a workaround, I moved the creation of the window to the render library, in stead of creating the window when the application starts

  3. #3

    Re: issues with GLX/X11...

    That's not quite an option, the engine I am working on was written in win32 and been ported to Be already...

    I think that's a serious problem, X11 is a versatile system, so there must be something that can be done.

    I was wondering if someone owned a copy of the green book and if it said anything about this situation?


  4. #4
    Member Contributor
    Join Date
    Jul 2000

    Re: issues with GLX/X11...

    I'm not entirely sure what you are wanting, if it is just to create a simple X11 window, well I have created a very simple tutorial to do this( it is extremely simple ). But it may give you enough to understand what you need to do. I don't want to give the URL out, unfortunately at the moment my bandwidth is very low. If this is what you are wanting to do, please email me

Similar Threads

  1. AMD Lag Issues?
    By kidx86 in forum OpenGL: Linux
    Replies: 0
    Last Post: 07-25-2013, 07:09 PM
  2. VSM issues
    By MagnumOpus in forum OpenGL: GLSL
    Replies: 6
    Last Post: 04-18-2013, 02:44 AM
  3. VBO issues
    By GooberMan in forum OpenGL: Basic Coding
    Replies: 3
    Last Post: 10-17-2010, 03:58 AM
  4. C# XSD issues
    By MrMoss in forum COLLADA
    Replies: 4
    Last Post: 06-22-2007, 02:19 AM
  5. Two issues with VBO
    By Obli in forum OpenGL: Advanced Coding
    Replies: 0
    Last Post: 01-31-2004, 02:56 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
Proudly hosted by Digital Ocean