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

Unreasonable CPU load when using QOpenGLFramebufferObject

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.6.0 RC
    • 5.6.0 Alpha
    • GUI: OpenGL
    • None
    • fd6cf5c875d794d23e513c8e7d6ebabc91dae790

    Description

      Run an application that renders into an FBO and thus runs QOpenGLFramebufferObject::bind() on every frame, and watch the CPU usage.

      With NVIDIA drivers the CPU usage for drawing a triangle into an FBO and texturing a cube with the texture used as the color attachment for that FBO gives 19-21% CPU usage on Windows.

      A big part of this is the glCheckFramebufferStatus call in bind(). Removing the call results in 0.8-1% for the same application.

      Attachments

        1. qtbug50496.zip
          6 kB
          Laszlo Agocs
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes