Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-74406 Abstract away the graphics APIs in Qt
  3. QTBUG-78601

Ensure we do not regress when doing Quick on OpenGL on QRhi when it comes to OpenGL context resets

    XMLWordPrintable

    Details

    • Type: Technical task
    • Status: Reported
    • Priority: P2: Important
    • Resolution: Unresolved
    • Fix Version/s: 6.x
    • Component/s: Qt RHI, Quick: SceneGraph
    • Labels:
      None

      Description

      Context reset (loss) on OpenGL. What is needed here? How to verify we do not regress in cases that are important on Linux with NVIDIA for KDE in particualr? (lots of trouble in due to driver decision to lose resources on sleep/wake up, this NV-specific stuff is also hooked up to the context reset notification in the xcb plugin)

      Patches are coming in from KDE even as of 5.14 to fix up various pieces in Qt to better handle the case when makeCurrent() fails and QOpenGLContext::isValid() then reports false. We must not regress in this respect in 6.0 when doing OpenGL via the QRhi.

       

      The situation is somewhat convoluted on Windows as well. Consider https://bugreports.qt.io/browse/QTBUG-80257?focusedCommentId=508389&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-508389

      and that's just OpenGL.

       

        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:

                  Gerrit Reviews

                  There are no open Gerrit changes