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

Perfect frames on Metal: ensure atomicity with regards to drawable size

    XMLWordPrintable

Details

    • Technical task
    • Resolution: Done
    • P2: Important
    • 5.14
    • Qt RHI
    • None

    Description

      Must figure out a way to ensure the CAMetalLayer's drawableSize is set once, and only once, per frame (frame as in QRhi::beginFrame() - endFrame()).

      The goal of https://codereview.qt-project.org/c/qt/qtbase/+/274571 is to allow the renderer to ensure the drawable size stays constant while preparing and submitting a frame. https://codereview.qt-project.org/c/qt/qtbase/+/274704 follows that change but does not guarantee proper atomicity due to API constraint (surfacePixelSize() is more like a getter)

       

       

      Attachments

        Issue Links

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

          Activity

            People

              lagocs Laszlo Agocs
              lagocs Laszlo Agocs
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes