ebiten/internal/graphics
Hajime Hoshi cb73230301 graphics: Revive the special allocating method for vertices for Wasm
It looks like the allocation cost is pretty high even on Wasm.
Revive the special method not only on GopherJS but also on Wasm.

examples/sprites kept 30FPS without this fix, but keeps 35FPS with
this fix, on Hajime's MacBook Pro 2020 (macOS Catalina 10.15.6).

Updates #797
2020-09-21 04:21:21 +09:00
..
math_test.go graphics: Rename NextPowerOf2Int -> InternalImageSize and add image size adjustment 2019-02-14 23:06:01 +09:00
math.go graphics: Refactoring 2019-06-26 00:18:40 +09:00
vertex.go graphics: Revive the special allocating method for vertices for Wasm 2020-09-21 04:21:21 +09:00