Skip to content

Moving emscripten_webgl_* out of library_html5.js? #2999

Description

@waywardmonkeys

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?

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions