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

Performance issue without multisampling with opengl

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.0.0 Beta 2
    • 5.0.0 Beta 1
    • GUI: OpenGL
    • None
    • Win7 + Qt5 beta 1
    • 4b7dd71aa05570dbf4e7819555c831bd6a79c2d5

    Description

      Firstly, I didn't set the samples of QSurfaceFormat to QQuickView.
      Reference to the doc, the multisampling is default disable. http://qt-project.org/doc/qt-5.0/qsurfaceformat.html#samples

      My sample is easy, just drag the rectangle by MouseArea.
      I found there are two issue will cause the performance higher :
      1. If the panel is wider (ex: 1400x900), the CPU rate is high than small area (360x360).
      2. If mouse control be contained in the Rectangle component, the CPU is high than the component is Item.

      Then I set the sample to 0 (Disable the multisampling). The CPU rate is lower.
      My question is, if default is disable, why the performance has apparently different after setting ?

      Thanks

      Attachments

        For Gerrit Dashboard: QTBUG-27600
        # Subject Branch Project Status CR V

        Activity

          People

            kleint Friedemann Kleint
            jackyang jack yang
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes