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

Qtwebengine is not working properly for webGL content/class.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P2: Important
    • None
    • 5.14.2
    • WebEngine
    • None
    • macOS

    Description

      I am trying to draw WebGL contents in QtwebEngine on Mac OS(Catalina) but getting the error.

      So I have following findings on Different Qt version,

                1.QtwebEngine(Qt5.14.2) -

      1. With this, I am getting the following error,

      [83000:775:0612/182121.893476:ERROR:context_group.cc(143)] ContextResult::kFatalFailure: WebGL1 blacklisted

      1.  2.QtwebEngine(Qt5.12.3) -

                 With this, I am getting the following error,

                 js: Failed to load https:// <some resource> The 'Access-Control-Allow-Origin' header has a value 'qrc://' that is not equal to the supplied origin. Origin 'qrc://' is therefore not allowed access.

               Somehow I manage to resolve this error but after that getting below error-

      [52886:83459:0609/174212.245657:ERROR:gles2_cmd_decoder.cc(10371)] [.WebGL-0x7ff08d83b600]PERFORMANCE WARNING: Attribute 0 is disabled. This has significant performance penalty js: [.WebGL-0x7ff08d83b600]PERFORMANCE WARNING: Attribute 0 is disabled. This has a significant performance penalty.

                 according to the warning:- Somehow while setting up the GPU buffers, the enableVertexAttribArray is not gettings called.

      Note - It works fine with the browser in both cases.

      Could you please suggest some solutions to achieve the same/resolve the error ?

      Any inputs would be really appreciated!

      Attachments

        Issue Links

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

          Activity

            People

              qt_webengine_team Qt WebEngine Team
              sukanya.gavhane Sukanya Gavhane
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes