Navigation

    UBports Robot Logo

    UBports Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    WebGL in html app

    App Development
    2
    3
    99
    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
      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
      • poVoq
        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.

        1 Reply Last reply Reply Quote 1
        • C
          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