Uploaded image for project: 'Qt 3D Studio'
  1. Qt 3D Studio
  2. QT3DS-3603

Implement more robust Q3DS::surfaceFormat() method

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2: Important P2: Important
    • None
    • Qt 3D Studio 2.4 BETA2
    • OpenGL Runtime
    • None

      Current OpenGL Runtime Q3DS::surfaceFormat() static method is not a good solution as the method can be called only after QApplication or QGuiApplication has been created, leading to shared context not getting proper config for 3D rendering:

      • only 16-bit depth buffer instead of 24-bit (causes z-fighting and rendering artefacts)
      • no multisampling (quality loss)
      • no stencil buffer

      Proper solution is to implement platform specific methods for all supported platforms that find out the OpenGL version without creating, then move this methods to Qt adaptation to be shared with all use cases that suffer similar problems.

      For existing projects, especially on embedded space, we need to document how to set the OpenGL version properly for each environment manually until this is fixed.

        There are no Sub-Tasks for this issue.
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            Unassigned Unassigned
            pakerane Pasi Keränen
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes