Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Then what is stopping browser vendors from implementing canvas directly in gl directly, making canvas more or less a wrapper?


Canvas is directly implemented in gl (or directx) in most browsers at this point. WebGL is still faster like the poster above says because you as the programmer an can make optimizations that are not possible with the canvas api like drawing many things with one call.

http://blog.tojicode.com/2012/07/sprite-tile-maps-on-gpu.htm...




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: