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

tst_qopengl fails with EGL on Mesa

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • 5.5.1
    • 5.5.0
    • GUI: OpenGL
    • None
    • 706af26acc5deeeab17ac135daa23876a69c78dc, 8aaf8d33e1a22778b8a0d6063cee1a7915326838

    Description

      Two issues:
      (1) some FBO tests blow up when using QOffscreenSurface, likely something to do with surfaceless contexts
      (2) when disabling the offscreen tests it still fails with:

      Mesa: User error: GL_INVALID_OPERATION in glTexImage2D(format = GL_RED, type = GL_UNSIGNED_BYTE, internalFormat = GL_RED)
      FAIL!  : tst_QOpenGL::imageFormatPainting() Compared values are not the same
         Actual   (fb.pixel(0, 0))         : 0
         Expected (qRgba(127, 0, 127, 127)): 2139029631
         Loc: [tst_qopengl.cpp(759)]
      

      The issues are not present with GLX on Mesa or other drivers.

      Attachments

        For Gerrit Dashboard: QTBUG-46605
        # Subject Branch Project Status CR V

        Activity

          People

            lagocs Laszlo Agocs
            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