Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. How to use multiple QGLWidgets rendering concurrently...
Forum Updated to NodeBB v4.3 + New Features

How to use multiple QGLWidgets rendering concurrently...

Scheduled Pinned Locked Moved General and Desktop
10 Posts 3 Posters 6.6k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P Offline
    P Offline
    PigiRoN
    wrote on last edited by
    #1

    How to use multiple QGLWidgets rendering concurrently?

    1 Reply Last reply
    0
    • A Offline
      A Offline
      alexander
      wrote on last edited by
      #2

      What's the problem?

      1 Reply Last reply
      0
      • P Offline
        P Offline
        PigiRoN
        wrote on last edited by
        #3

        QGLBuffers cannot bind to the context correctly...
        [quote author="Alexander Kuchumov" date="1289304938"]What's the problem?[/quote]

        1 Reply Last reply
        0
        • A Offline
          A Offline
          alexander
          wrote on last edited by
          #4

          do you use: @QGlWidget::makeCurrent()@

          1 Reply Last reply
          0
          • P Offline
            P Offline
            PigiRoN
            wrote on last edited by
            #5

            Yes.
            [quote author="Alexander Kuchumov" date="1289308404"]do use @QGlWidget::makeCurrent()@?[/quote]

            1 Reply Last reply
            0
            • A Offline
              A Offline
              alexander
              wrote on last edited by
              #6

              I used QGLWidgets concurrently in one application, but it worked.
              Can you show example?

              1 Reply Last reply
              0
              • P Offline
                P Offline
                PigiRoN
                wrote on last edited by
                #7

                Thanks a lot~ i have fixed it by your reply.
                [quote author="Alexander Kuchumov" date="1289308758"]I used QGLWidgets concurrently in one application, but it worked.
                Can you show example?[/quote]

                1 Reply Last reply
                0
                • A Offline
                  A Offline
                  alexander
                  wrote on last edited by
                  #8

                  What was the problem? makeCurrent ?

                  1 Reply Last reply
                  0
                  • P Offline
                    P Offline
                    PigiRoN
                    wrote on last edited by
                    #9

                    When i bind buffer to update data, i lost makeCurrent...
                    [quote author="Alexander Kuchumov" date="1289311058"]What was the problem? makeCurrent ?[/quote]

                    1 Reply Last reply
                    0
                    • K Offline
                      K Offline
                      Kantharaj
                      wrote on last edited by
                      #10

                      I have a problem in sharing a GLContext between two GLWidgets,
                      I have Dual monitor system which has got NVidia Graphics Card, Monitors are configured as Screen 0 & Screen 1 ( Separate X Screens). and i am trying to create one GLwidget on Screen 0 and the second GLWidget on Screen 1, if Both GLWidgets are at same screen i am able to share the context but if i create a second GLWidget on Screen 1 context is not sharing. Advance Thanks for any help.

                      1 Reply Last reply
                      0

                      • Login

                      • Login or register to search.
                      • First post
                        Last post
                      0
                      • Categories
                      • Recent
                      • Tags
                      • Popular
                      • Users
                      • Groups
                      • Search
                      • Get Qt Extensions
                      • Unsolved