Results 1 to 3 of 3

Thread: Multiple windows using X protocol

  1. #1
    Junior Member Newbie
    Join Date
    Jul 2001
    Posts
    4

    Multiple windows using X protocol

    Hi everybody!

    I'm trying to write a simple program with glut using the X protocol. I want to display multiple windows on different machines, but I don't know how to do this, because in glutInit I can specify only one "-display" parameter, and multiple calls of glutInit is not possible. Has anybody some idea how can I resolve this problem?


    Thanks,
    joco

  2. #2
    Senior Member Frequent Contributor
    Join Date
    Apr 2000
    Location
    Adelaide, South Australia, Australia
    Posts
    763

    Re: Multiple windows using X protocol

    Hello,

    I'd wager that you cannot, for glut won't expose multiple graphics pipes to the API.

    The only solution(s) I can think of;

    - modify the GLUT source for your ends and allow the create window function to accept a display
    - abandon GLUT altogether and use GLX

    cheers,
    John

  3. #3
    Junior Member Newbie
    Join Date
    Jul 2001
    Posts
    4

    Re: Multiple windows using X protocol

    Hi John,


    Thanks for your help, I think, that I'll choose the second solution.

    joco

Similar Threads

  1. How to create multiple windows on multiple displays with GLFW
    By Wally Lee in forum OpenGL: Basic Coding
    Replies: 1
    Last Post: 06-30-2017, 09:52 AM
  2. implement multiple windows in multiple threads
    By jayaprakash in forum OpenGL: Linux
    Replies: 3
    Last Post: 04-20-2009, 12:02 PM
  3. Replies: 4
    Last Post: 01-30-2006, 03:25 PM
  4. 0n multiple glut/opengl windows in multiple threads
    By kaas in forum OpenGL: Advanced Coding
    Replies: 11
    Last Post: 05-30-2002, 01:55 AM
  5. Multiple windows using X protocol
    By jozsefke in forum OpenGL: Linux
    Replies: 3
    Last Post: 07-27-2001, 03:25 PM

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