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

WASM: Invalid QOffscreenSurface

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Do
    • P2: Important
    • None
    • 5.15.0 Beta3
    • GUI: OpenGL
    • None
    • WebAssembly

    Description

      I'm experiencing problems with created QOffscreenSurface objects being invalid when building my Qt application for WASM.

      How to reproduce

      The problem can be reproduced by adding assert(m_offscreenSurface->isValid()) checks to the quick/rendercontrol sample project as shown in https://codereview.qt-project.org/c/qt/qtdeclarative/+/296531. The following assertion then fail when running in debug mode:

      Application exit (RuntimeError: abort(Assertion failed: m_offscreenSurface->isValid(), at: ../source/window_singlethreaded.cpp,117,WindowSingleThreaded). 
      

      Attachments

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

        Activity

          People

            mikolaj.boc Mikołaj Boc (Inactive)
            forderud Fredrik Orderud
            Veli-Pekka Heinonen Veli-Pekka Heinonen
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There is 1 open Gerrit change