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 617 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 (Not yet installed UT on it though)

        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

          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

          With your input, this post could be even better 💗

          Register Login
          • First post
            Last post