Menu

Dart/webgl optimization

2014-10-16
2014-10-23
  • Ronnie Hedlund

    Ronnie Hedlund - 2014-10-23

    Most of the problems are now solved, and it is up and running

    For example
    http://www.galaxy-forces.com/web_replay2.php?Level=mission07&Place=1

    Problems remaining (help welcome)
    - Garbage collection takes time and causes frame skipping (all browsers).
    There are almost no allocations in the code while running, but there are still garbage to collect.
    - Audio not working in firefox.
    - Ortho drawing (webgl) is not pixel perfect on all graphic cards.
    Adding half a pixel solves it on one card but makes all others i have access to behave bad. It should be possible to fix by following the gl spec?

     

    Last edit: Ronnie Hedlund 2014-11-17

Log in to post a comment.