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

On EGL always clear all buffers

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Done
    • P2: Important
    • 4.7.0
    • 4.7.0
    • GUI: OpenGL
    • None
    • 9a69656bd64016933124813ea5403e7e5d454719

    Description

      In egl chips like SGX and MBX clearing all buffers is a signal for the driver that we're starting a new frame and that the previous one can be thrown away. The buffers should be cleared even if they were not used. Without this we're suffering from a very noticable perf penalty.

      This patch makes the buffers always be cleared on ::beginPaint - when compiling with EGL. It should prolly be a compile-time setting/define but I think it actually makes sense to be a default for EGL.

      Attachments

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

        Activity

          People

            kjernase Trond Kjernåsen (Inactive)
            mdk Michael Dominic K.
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes