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

Potential issue with QML components that use non-shared OpenGL contexts

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P2: Important P2: Important
    • 5.6.0 RC
    • 5.4.0, 5.5.0 Alpha
    • Canvas3D
    • None
    • 5a861acb8064ddc41399bf9e036983ae14da9ea7

      In some cases (e.g. when loading resources with XMLHttpRequest) we may end up executing OpenGL calls outside of the initGL and renderGL signals that make the QtCanvas3D OpenGL context active. Initial fix was to remove the "doneCurrent" call at the end of renderGL signal handling. But a proper solution would be to define an extension API to QtCanvas3D that includes "makeCurrent" that can be called in these cases from JavaScript to ensure the context indeed is current before making OpenGL API calls.

      This is needed if customer uses e.g. QtDataVisualization QML component together with QtCanvas3D on Android, in that case we can end up executing OpenGL calls with wrong non-shared OpenGL context active.

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

            e0348803 Miikka Heikkinen
            pakerane Pasi Keränen
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes