Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Targeting ES 3.0
Forum Updated to NodeBB v4.3 + New Features

Targeting ES 3.0

Scheduled Pinned Locked Moved Mobile and Embedded
3 Posts 2 Posters 1.4k 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.
  • B Offline
    B Offline
    bblumberg
    wrote on last edited by
    #1

    With 5.3 there is support for OpenGL ES 3.0, but I can't find a way to specify that you want to target ES 3.0. In particular I want to map QOpenGLBuffers, which I should be able to do in 3.0 and not 2.0, but still can't seem to get it to happen (e.g., vBuffer->map(QOpenGLBuffer::ReadWrite); returns a null pointer. This is on OS X 10.9.2

    Thanks

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

      Well, there is no full GLES 3+ support in this sense: While the context creation functions are enhanced in 5.3 so that it is now possible to create GLES 3.0 and 3.1 contexts, other components, such as the wrappers and other utility classes, know nothing about the new features introduced in 3.0+.

      What QOpenGLBuffer supports in map() is GL_OES_mapbuffer which is an OpenGL ES 2.0 extension. It is most likely not able to use GLES3's standard glMapBuffer().

      Instead, you could include GLES3/gl3.h and use glMapBuffer() directly. This of course implies that you are building for the targetted mobile/embedded platform where the GLES 3.0 headers/libs are available.

      1 Reply Last reply
      0
      • A Offline
        A Offline
        agocs
        wrote on last edited by
        #3

        In the meantime I created QTBUG-38168 but that is 5.4 material.

        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