2
I am aware that a lot of the 3D game engines for HTML5 use Webgl technology, but I had a question when it comes to 2D. Some 2D game engines for HTML5 reference the functions gl_xxx, IE, use GPU resources to draw 2D, but I saw some tutorials that use examples where they do not seem to use anything related to Webgl, as if the rendering was done by the CPU, that’s right?
When developing a 2D game for HTML5, will it run on GPU(via Webgl) or CPU(Rendering software)? Or programmer that defines this? Links with examples of different ways to implement a 2D platform would be useful.
Great! Now searching google for "2d context vs webgl" I can remove my doubts.
– Gustavo Piucco