prepare jpeg as well as jpg
fix gl flush assertion
fix and test glIsProgram
set alpha to false in WebGL rendering - it represents the screen, so no alpha is needed
memory checks for glReadPixels
ensure no writes out of the buffer area in glReadPixels
improve glIsProgram testing
show version and git revision in emcc --version
disable closure if debug info was requested (-g)
use registerize only when not keeping debug, and also use it when closure is disabled, not just ASM_JS mode (which is just one case where closure is disabled)
fix registerize bug on functions with arguments but no locals
default closure to off in all optimization levels - we rely on registerize for much faster effects on runtime speed
remove no longer needed --closure 0 from some tests
remove not-yet-needed assert in addFunction
remove asm memory masking per the new spec
another gl workaround
remove PGO option. It is only relevant for non-ta2 builds, which are on the way to deprecation, and it in the best case is not a precise optimization but an optimistic one
remove PROFILE option. It adds unacceptable overhead, and all browsers have proper JS profilers these days - use those
fix indentation
typo