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

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

    XMLWordPrintable

Details

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

    Description

      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.

       

       

      Attachments

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

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes