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

Keep screen textures on GPU during screen capture

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: P2: Important P2: Important
    • None
    • None
    • Multimedia
    • None
    • All

      Today, bitmaps captured by screen capture are always copied to the CPU before they can be stored to file or presented in a scene. With a 4K monitor (3840x2160), the GPU/CPU transfer rate becomes approx. 2GB/sec at 60 Hz.

      These kinds of transfer rates will impact system performance, and can potentially cause problems in performance sensitive use cases such as gaming.

      The goal of this task is to allow keeping grabbed textures in GPU memory as long as possible, to facilitate GPU based resizing, compression, to avoid transferring entire screen bitmaps to the CPU memory. 

       

      Example from laptop Intel GPU:

       

       

      On a discrete nVidia GPU, the problem is not as visible.

       

       

        1. image-2023-05-24-12-49-27-964.png
          173 kB
          Jøger Hansegård
        2. image-2023-05-24-13-00-17-521.png
          172 kB
          Jøger Hansegård
        For Gerrit Dashboard: QTBUG-113784
        # Subject Branch Project Status CR V

            jogerh Jøger Hansegård (Inactive)
            johanseg Jøger Hansegård
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes