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

Performance issue without multisampling with opengl

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Done
    • Affects Version/s: 5.0.0 Beta 1
    • Fix Version/s: 5.0.0 Beta 2
    • Component/s: GUI: OpenGL
    • Labels:
      None
    • Environment:
      Win7 + Qt5 beta 1
    • Commits:
      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

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

          Activity

            People

            Assignee:
            kleint Friedemann Kleint
            Reporter:
            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