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

Qt disables the XSYNC protocol unconditionally

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Not Evaluated
    • None
    • 5.5.1
    • QPA: X11/XCB
    • None

    Description

      qxcbwindow.cpp

      if (platformScreen->syncRequestSupported())
      m_usingSyncProtocol = supportsSyncProtocol();

      supportsSyncProtocol() returns "!window->supportsOpenGL()" and supportsOpenGL() is "type == OpenGLSurface || type == RasterGLSurface" ie. "true".

      What was likely meant was to check whether "type != OpenGLSurface", no idea whether the supportsOpenGL() or the supportsSyncProtocol() query is wrong, but the result is https://bugs.kde.org/show_bug.cgi?id=356562 - supportsSyncProtocol() is false for every relevant surface.

      Attachments

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

        Activity

          People

            paeglis Gatis Paeglis
            luebking Thomas Lübking
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes