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

QGLFramebufferObjectFormat::setSamples does not work as described in Documentation

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Do
    • P2: Important
    • None
    • 5.9.5
    • GUI: OpenGL
    • None
    • Windows

    Description

      As stated in the documentation,
      setting QGLFramebufferObjectFormat::setSamples to a value higher than the value reported by the hardware should automatically set the samples count to that value.

      This does not work when using the ANGLE renderer on Windows and leads to GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT errors.

      When using the value reported by glGetIntegerv ( GL_MAX_SAMPLES, &maxSamples ),
      everything renders as expected.
      This only seems to affect OpenGLES 2.0 contexts.

      It would be nice to either fix this or at least mention this fact in the Documentation.

      Attachments

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

        Activity

          People

            owolff Oliver Wolff
            lkdem Ludger Krämer
            Veli-Pekka Heinonen Veli-Pekka Heinonen
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes