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. OpenGL VAO's and QOpenGLVertexArrayObject

OpenGL VAO's and QOpenGLVertexArrayObject

Scheduled Pinned Locked Moved General and Desktop
3 Posts 3 Posters 990 Views
  • 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 Offline
    K Offline
    kloveridge
    wrote on last edited by
    #1

    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
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      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
      0
      • A Offline
        A Offline
        agocs
        wrote on last edited by
        #3

        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
        0

        • Login

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