UBports Robot Logo UBports Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    WebGL in html app

    Scheduled Pinned Locked Moved App Development
    3 Posts 2 Posters 371 Views 1 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
      Reply
      • Reply as topic
      Log in to reply
      This topic has been deleted. Only users with topic management privileges can see it.
      • C Offline
        ComLarsic
        last edited by

        Hello everyone, I made a simple flappy-bird clone using godot and exported it to a WebAssembly and WebGL html app.

        however when i run it using
        clickable desktop
        I get the error telling me it cant find WebGL:
        Screenshot from 2020-04-11 21-57-48.png

        Is there any way to enable WebGL? or is it not suppored in the morph browser?

        1 Reply Last reply Reply Quote 0
        • poVoqP Offline
          poVoq
          last edited by

          The embedded browser framework (qtwebengine) that UT is using only relatively recently added support for GPU acceleration and only with Wayland.

          UT currently still uses a pretty old version of it and all ports except maybe the PinePhone are not using the very new Mir on Wayland methode yet. In classic Mir there is no GPU acceleration with qtwebengine like there was with the previously used older Oxide browser engine.

          So it will be some time before WebGL or any other form of GPU accelerated browser will be available for most phones.

          Fairphone 5 (waiting for port)

          1 Reply Last reply Reply Quote 1
          • C Offline
            ComLarsic
            last edited by

            Ah ok, thx.
            guess i'll try to find another way to port it!

            1 Reply Last reply Reply Quote 0
            • First post
              Last post