I think we could use custom HTML/CSS to do this. Set the visible property to false on the canvas, and so forth. Perhaps we could hook that into GLFW_VISIBLE?
On Fri, Apr 8, 2016 at 8:35 AM, Robert Goulet <[email protected]> wrote: > Is it possible to create the WebGL canvas initially hidden and show it > later when its appropriate? For example, we would like to keep it hidden > until all graphic resources are done loading, then show it. If yes, how to > do it? > > Also, looks like the current Emscripten GLFW implementation does not > support the GLFW_VISIBLE window hint. I could try to fix it if I knew how > to create hidden canvas. > > Thanks! > > -- > You received this message because you are subscribed to the Google Groups > "emscripten-discuss" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "emscripten-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
