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

Canvas3D getError behaves wrong.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.5.0 Alpha
    • 5.5.0 Alpha
    • Canvas3D
    • None
    • 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

            pakerane Pasi Keränen
            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