I'm looking at using some of the emscripten_webgl_* calls in IMVU code ... but it imposes a pretty large size hit due to the JSEvents stuff.
All of the functions apart from emscripten_set_webglcontextlost_callback and emscripten_set_webglcontextrestored_callback could readily be moved to a separate library_webgl.js, except for the usage of JSEvents.findEventTarget in emscripten_webgl_create_context ... which could be duplicated or moved to some where else?
I'm looking at using some of the
emscripten_webgl_*calls in IMVU code ... but it imposes a pretty large size hit due to theJSEventsstuff.All of the functions apart from
emscripten_set_webglcontextlost_callbackandemscripten_set_webglcontextrestored_callbackcould readily be moved to a separatelibrary_webgl.js, except for the usage ofJSEvents.findEventTargetinemscripten_webgl_create_context... which could be duplicated or moved to some where else?