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. Testing a platform's OpenGL capabilities
Qt 6.11 is out! See what's new in the release blog

Testing a platform's OpenGL capabilities

Scheduled Pinned Locked Moved Solved General and Desktop
5 Posts 2 Posters 1.7k 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.
  • ? Offline
    ? Offline
    A Former User
    wrote on last edited by A Former User
    #1

    Hi,

    in the Scene Graph-Rendering FBOs in a thread example the platform's support for threaded OpenGL is tested like this:

    QGuiApplicationPrivate::platform_integration->hasCapability(QPlatformIntegration::ThreadedOpenGL))
    

    As one can see, this involves including private qt features. As the example is around for some years (months?) now, I thought that in the meantime stuff might have been added that offers the same functionality without the need for private qt features to be included.

    Any ideas?

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      What OpenGL capabilities do you have in mind ?

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • ? Offline
        ? Offline
        A Former User
        wrote on last edited by
        #3

        First I need to know if desktop OpenGL is available or only OpenGLES. If the system has support for desktop OpenGL then the next thing I need to know is, if threaded OpenGL (like in my post above) is available.

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          Would "QOpenGLContext::OpenGLModuleType":http://doc.qt.io/qt-5/qopenglcontext.html#OpenGLModuleType-enum fit for the first part ?

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          ? 1 Reply Last reply
          0
          • SGaistS SGaist

            Would "QOpenGLContext::OpenGLModuleType":http://doc.qt.io/qt-5/qopenglcontext.html#OpenGLModuleType-enum fit for the first part ?

            ? Offline
            ? Offline
            A Former User
            wrote on last edited by
            #5

            @SGaist Great! Thank you! Didn't know this exists. :-)

            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