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

Canvas3D getError behaves wrong.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Done
    • Affects Version/s: 5.5.0 Alpha
    • Fix Version/s: 5.5.0 Alpha
    • Component/s: Canvas3D
    • Labels:
      None
    • Commits:
      bfaa3442e3b38bc0867185db7a79506383fe82a1

      Description

      Canvas3D handles internal errors just by setting the last error enum to an internal attribute. This is wrong errors should be stored as a set of booleans that can be set and are cleared one by one when getError is called repeatedly, returning the error from each flag per call.

      Also Canvas3D can end up hiding errors due to the logAllGLErrors implementation and the current implementation doesn't handle merging of internal errors and errors coming from OpenGL at all.

      To fix the errors should be first merged from OpenGL to internal errors and then reported from those flags in getError one by one.

        Attachments

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

          Activity

            People

            Assignee:
            pakerane Pasi Keränen
            Reporter:
            pakerane Pasi Keränen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes