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

QGLContext::bindTexture does not generates mipmaps

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P1: Critical
    • Resolution: Done
    • Affects Version/s: 5.2.1
    • Fix Version/s: 5.3.0
    • Component/s: GUI: OpenGL
    • Labels:
      None
    • Environment:
      Windows 7 x64.
      Build with mingw32.
    • Commits:
      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

            Assignee:
            lagocs Laszlo Agocs
            Reporter:
            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