Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-46161

Add GLES 3.0 and 3.1 functions to QOpenGLFunctions

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 5.6.0 RC
    • Component/s: GUI: OpenGL
    • Labels:
      None
    • Commits:
      4535c7911d47b94ecb2067793f2f6d906794e1fe

      Description

      QOpenGLFunctions it the one true cross-platform GL function wrapper. Unfortunately it is GLES 2.0 only at the moment. Today it is not uncommon to have GLES 3.0 and even 3.1 implementations, especially on mobile, and so some cross-platform solution must be provided that works both with ES3/3.1 and OpenGL 3.x/4.x, as long as the functions in question are available. (ARB_ESn_compatibility is not an option since we need as wide support as possible, including GL 3.x HW/drivers without such extensions)

      All the resolving logic is already in place in 5.5 since we do this already for functions like glBlitFramebuffer. All we need to do is to generate the functions, function pointers, resolver functions, etc. for the new stuff in 3.0 and 3.1.

      (we may want to put the 3.0/3.1 stuff into a new subclass, though)

        Attachments

          Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            Activity

              People

              Assignee:
              lagocs Laszlo Agocs
              Reporter:
              lagocs Laszlo Agocs
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes