Open

Description
Support for pooling would be great. This kind of feautre is must have for html5 games to prevent GarbageCollector throttling effect aka lagging.
The only file that manage memory is in resize.js?
We should then provide callbacks or methods like:
onCreateBuffer()
and onUtilizeBuffer()
that would be called in resize method
in default behaviour onUtilizeBuffer will be just empty, but if someone will be in need both can be overridden to obtain Buffer from Pool and release Buffer to pool.
I can do the code for it but need to be sure that managing memory is only about resize.js source.
Metadata
Metadata
Assignees
Labels
No labels