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

wasm: QSGContext::initialize: stencil buffer support missing, expect rendering errors

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P2: Important P2: Important
    • 5.13.1, 5.14.0 Alpha
    • 5.13.0 Alpha 1
    • QPA
    • None
    • thread support
    • WebAssembly
    • 9fc17c14fa682984742e8febd7551dd18bc36726 (qt/qtbase/5.13)

      Testing the sgenging example I noticed an error 

      "QSGContext::initialize: stencil buffer support missing, expect rendering errors"

      Which led me to debug a bit.

      The example explicitly requests a depthBufferSize of 16, which would mean we create a webgl context that has depthBuffer support, but since WebGL does not have support for separate depth and stencil buffers, we need to enable stencil buffer as well.

       

       

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

            lpotter Lorn Potter
            lpotter Lorn Potter
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes