Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 2 of 2

Thread: Can two separate processes render to the same OpenGL window?

  1. #1
    Guest

    Can two separate processes render to the same OpenGL window?

    Can two separate processes render to the same OpenGL window? Odd question I know, but I was just wondering this.

    Thanks

  2. #2
    Senior Member OpenGL Guru Relic's Avatar
    Join Date
    Apr 2000
    Posts
    2,527

    Re: Can two separate processes render to the same OpenGL window?

    No, that would open the door for all sorts of abuses. The wglMakeCurrent of the process not owning the window should fail. Implementations allowing this are broken, IMO.
    But you can render with multiple threads of one process simultaneaously. But don't expect that to render any faster.
    Search the OpenGL on Windows forum for some of my answers to multithreading. It's not too difficult to set it up.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •