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

QML XYSeries (LineSeries, etc..) looks less sharp with useOpenGL enabled on embedded device

    XMLWordPrintable

Details

    Description

      A reproducer:

      Window {
          width: 640
          height: 480
          visible: true
          title: qsTr("Hello World")
      
          ChartView {
              title: "Line Chart"
              anchors.fill: parent
              antialiasing: true
      
              LineSeries {
                  useOpenGL: true
                  name: "Line"
      
                  XYPoint {
                      x: 0
                      y: 0
                  }
      
                  XYPoint {
                      x: 1.1
                      y: 2.1
                  }
      
                  XYPoint {
                      x: 1.9
                      y: 3.3
                  }
      
                  XYPoint {
                      x: 2.1
                      y: 2.1
                  }
      
                  XYPoint {
                      x: 2.9
                      y: 4.9
                  }
      
                  XYPoint {
                      x: 3.4
                      y: 3
                  }
      
                  XYPoint {
                      x: 4.1
                      y: 3.3
                  }
      
              }
          }
      }
      

      Set useOpenGL to true and false and deploy to target, one can see that with useOpenGL enabled, the line is less sharp, looking blurred and under-antialiased. I am testing on a Apalis iMX6 which has Vivante GC2000 GPU. So OpenGL ES should be supported.

      I am still trying to take screenshot for target though. Also, testing Qt 6.

      Attachments

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

        Activity

          People

            kagro Kaj Grönholm
            luqiaochen Luqiao Chen
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes