~eliasnaur/gio

Re: JS access to gl

Details
Message ID
<C9N1NRV94ZGU.3ORMHDTJQ8HFT@themachine>
DKIM signature
pass
Download raw message
(CC'ed the mailing list)

On Tue Mar 2, 2021 at 15:45, paulo melo wrote:
> Hi Elias,
>
> as in glfw example, you can use opengl to draw bellow the gio. 
>
> Is it possible to do it on JS?
>
> How can I from the app.Window get access to the gl to draw on that layer below the Gio?
>

You may be able to port the GLFW example to wasm, but you'd need to map
the input events yourself. Another option is to layer your own <canvas>
below Gio's.

Elias
Reply to thread Export thread (mbox)