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

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

      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)

       

       

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes