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 4 of 4

Thread: Global display lists

  1. #1
    Intern Contributor
    Join Date
    Feb 2000
    Location
    Kingston, Ontario Canada
    Posts
    53

    Global display lists

    I am writing an MDI application in Win32 and I have a rendering context and a windows device context embedded in each view window.

    When a view window dies, its rendering context dies with it.

    How can I create display lists that will exist for the duration of the application and that will be accessible by all rendering contexts?

  2. #2
    Junior Member Regular Contributor
    Join Date
    Oct 2000
    Location
    Donetsk,Ukraine
    Posts
    120

    Re: Global display lists

    There is a wglShareLists procedure
    Maybe you should create a dummy context that dies only with application.

  3. #3
    Intern Contributor
    Join Date
    Feb 2000
    Location
    Kingston, Ontario Canada
    Posts
    53

    Re: Global display lists

    Thanks. I'll give it a try.

  4. #4
    Intern Contributor
    Join Date
    Feb 2000
    Location
    Kingston, Ontario Canada
    Posts
    53

    Re: Global display lists

    I'm still working on it. Any ideas on how to do it?

Posting Permissions

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