Results 1 to 2 of 2

Thread: How to manage more than one opengl window under linux

  1. #1
    Guest

    How to manage more than one opengl window under linux

    I need two or more opengl window for my project,I know that I can use subwindowing a
    main window but before that I wish to know:

    How can I create and manage more than one opengl window under linux. How can I send say sin(x) to window 1 and cos(x) to window 2 at run time and change the order or send anything else.

  2. #2
    Guest

    Re: How to manage more than one opengl window under linux

    If you are using a QT or GTK+ for your software, read their documentation, it should be fairly simple to do.

    If your writing your own code from scratch (XLib), then just set up 2 differnt windows, and 2 different GLX Contexts. I'm guessing you can swap them with glXMakeCurrent..

    Ed.

Similar Threads

  1. Replies: 4
    Last Post: 07-13-2018, 04:37 PM
  2. How to push up and down window in opengl c++ for linux?
    By kaufenpreis in forum OpenGL: Basic Coding
    Replies: 1
    Last Post: 10-31-2014, 09:48 AM
  3. #include window.h replacement for linux.
    By momentum in forum OpenGL: Linux
    Replies: 5
    Last Post: 09-13-2005, 06:59 AM
  4. How OpenGL manage it's Video Memory
    By pango in forum OpenGL: Advanced Coding
    Replies: 1
    Last Post: 04-28-2005, 10:07 PM
  5. FPS - how to manage them and....
    By in forum OpenGL: Linux
    Replies: 3
    Last Post: 07-09-2004, 02:38 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