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

multiple QPainter::drawImage() calls are broken when OpenGL is used

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 5.15.8, 6.4.2
    • GUI: OpenGL, GUI: Painting
    • None
    • All

    Description

      When multiple subsequent QPainter::drawImage() cals are made to a QOpenGLWidget based QGraphicsView, only the first image is rendered.

      See the attached example that renders a big image (my samples are > 8192x8192) tiled to the QGraphicView's background. When QOpenGLWidget is used, only the first tile is rendered on Windows. On Linux, the rendering works fine (tested on 2HW configurations Nvidia & AMD). Without OpenGL, the example works on all platforms.

      Attachments

        1. opengl_bug-windows.tar.gz
          1 kB
          Martin Tůma
        2. paris_france-mercator.jpg
          20.04 MB
          Martin Tůma

        Issue Links

          Activity

            People

              qt.team.graphics.and.multimedia Qt Graphics Team
              tumic Martin Tůma
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: