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

Allow specifying damage region for buffer swap in QRhi

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Unresolved
    • P2: Important
    • None
    • 6.8.3, 6.10
    • Qt RHI
    • None
    • Linux/Wayland

    Description

      It should be possible to specify a surface damage region when swapping buffers. This allows the compositor or even graphics hardware to optimize the rendering. Right now, the entire buffer is marked damaged.

      For GLES there’s EGL_KHR_swap_buffers_with_damage and to some extend EGL_KHR_partial_update. Vulkan has VkPresentRegionsKHR. I assume Metal and Direct X have similar capabilities.

      This is also a pre-requisite for ever enabling Qt Quick to report proper surface damage.

      Attachments

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

        Activity

          People

            lagocs Laszlo Agocs
            broulik Kai Uwe Broulik
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes