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

    • Type: Technical task
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Done
    • Fix Version/s: 5.14
    • Component/s: Qt RHI
    • Labels:
      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

          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:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes