Fixing breaking changes

The Dart team switched webgl APIs around in an effort to clean up the
interfaces and make them better. This tracks those changes.