Qt Forum

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

    Update: Forum Guidelines & Code of Conduct

    OpenGL VAO's and QOpenGLVertexArrayObject

    General and Desktop
    3
    3
    870
    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.
    • K
      kloveridge last edited by

      I'm learning how Qt implements OpenGL. Some android devices do not support VAO's. We have written a VAO class that will use VAO's if they are present. Otherwise it will send down the VAO equivalent on non-VAO devices.

      But there I see QOpenGLVertexArrayObject.

      My question is, does QOpenGLVertexArrayObject allow me to use it in place of a VAO? And thus, Regardless if the device supports VAO's, will "do the right thing" like our home brewed VAO object?

      1 Reply Last reply Reply Quote 0
      • SGaist
        SGaist Lifetime Qt Champion last edited by

        Hi,

        I think the interest mailing list would be a better place to ask this low-level question, maybe the Android-development. You'll find there Qt's developers/maintainers. This forum is more user oriented.

        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
          agocs last edited by

          Yes, that's why QOpenGLVertexArrayObject is there. It supports both core profile contexts and extensions like GL_OES_vertex_array_object.

          When no support is available, it will silently do nothing. Use isCreated() after calling create() to check if VAO support is functional.

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