Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Solved Testing a platform's OpenGL capabilities

    General and Desktop
    2
    5
    1231
    Loading More Posts
    • 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.
    • ?
      A Former User last edited by A Former User

      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 Reply Quote 0
      • SGaist
        SGaist Lifetime Qt Champion last edited by

        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 Reply Quote 0
        • ?
          A Former User last edited by

          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 Reply Quote 0
          • SGaist
            SGaist Lifetime Qt Champion last edited by

            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 Reply Quote 0
            • ?
              A Former User @SGaist last edited by

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

              1 Reply Last reply Reply Quote 0
              • First post
                Last post