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

Add the ability to hide the message: WebGL: this extension has very low support on mobile devices

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P5: Not important
    • None
    • 6.7.0 Beta1
    • GUI: OpenGL
    • None
    • WebAssembly
    • It is a Chrome issue

    Description

      Hello,

      I wrote a simple example that draws a quad with a texture. I attached the example. When I run this example as WebAssembly: https://profound-sunflower-a5633b.netlify.app/ I see this message in the browser console:

      WebGL: this extension has very low support on mobile devices; do not rely on it for rendering effects: WEBGL_polygon_mode

      It happens in the JS file on the GLctx.getExtension(ext); line:

              // .getSupportedExtensions() can return null if context is lost, so coerce to empty array.
              var exts = GLctx.getSupportedExtensions() || [];
              exts.forEach(function(ext) {
                // WEBGL_lose_context, WEBGL_debug_renderer_info and WEBGL_debug_shaders are not enabled by default.
                if (!ext.includes('lose_context') && !ext.includes('debug')) {
                  // Call .getExtension() to enable that extension permanently.
                  GLctx.getExtension(ext);
                }
              });

      Please, add the ability to hide this message and print a name of the extension that "has very low support on mobile devices"

      Topics:

      Attachments

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

        Activity

          People

            lagocs Laszlo Agocs
            8observer8 Ivan Enzhaev
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes