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

Immutable texture storage does not work on OpenGL ES 2.0 with GL_EXT_texture_storage

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P3: Somewhat important
    • None
    • 5.8.0
    • GUI: OpenGL
    • None
    • Windows 10/ANGLE driver

    Description

      QOpenGLTexture::hasFeature(QOpenGLTexture::ImmutableStorage) returns false on ANGLE OpenGL implementation even though it has the GL_EXT_texture_storage extension.

      The problem seems to be this test on line 3476 of Src/qtbase/src/gui/opengl/qopengltexture.cpp

      case ImmutableStorage:
      supported = (f.version() >= qMakePair(3, 0) || ctx->hasExtension(QByteArrayLiteral("EXT_texture_storage")))
      && !(renderer && strstr(renderer, "Mali")); // do not use on Mali: QTBUG-45106
      break;

      The test should be for "GL_EXT_texture_storage", not "EXT_texture_storage".

      Attachments

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

        Activity

          People

            lagocs Laszlo Agocs
            tseval Thomas Sevaldrud
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes