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

Some deprecated GL functions included on core profile classes

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • 5.5.0
    • 5.4.0
    • GUI: OpenGL
    • None
    • 18aae36a90c0753f1b1e615ba8437d8ebd1bd2fb

    Description

      Some of the core profile versioned function classes (including 3.1) have member functions for deprecated OpenGL functionality. These should not have been added but are the result of either bugs in the old gl.spec files or the parsing of these files. This was noticed when adding new classes for 4.4 and 4.5 which use the new XML based specification files.

      The function pointers for these functions will never have been able to be resolved at runtime and so they are useless. Prevent users from using these broken functions by having these broken functions call a qFatal() with a suitable message so that they can be fixed in client code.

      Some function pointers were also mistakenly classified (core vs deprecated/compat). These will also be fixed on the backend classes. This is BC and transparent to client code (with a recompile for the inlined functions).

      Attachments

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

        Activity

          People

            seanharmer Sean Harmer
            seanharmer Sean Harmer
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes