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

QGLContext::bindTexture does not generates mipmaps

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • 5.3.0
    • 5.2.1
    • GUI: OpenGL
    • None
    • Windows 7 x64.
      Build with mingw32.
    • 8adca56674bd51a39b278fb08f270624c825b002

    Description

      QGLContext::bindTexture (if calling with QGLContext::MipmapBindOption) does not generates mipmaps due to it checks
      qgl_extensions()->hasOpenGLExtension(QOpenGLExtensions::GenerateMipmap)
      which always returns false.

      Because it calls qt_gl_resolve_extensions() where checks some extensions and there is no checking for "GL_SGIS_generate_mipmap" extension and therefore bit flag set for QOpenGLExtensions::GenerateMipmap

      Attachments

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

        Activity

          People

            lagocs Laszlo Agocs
            maratik Marat Buharov
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes