Comparison of HTML5 Canvas 2D and NaCl pp :: Graphics2D (performance)

My application makes heavy use of HTML5 Canvas2D. After profiling, I found that the largest number of function calls are HTML5 functions Canvas.stroke () and .fill (). Therefore, to further improve the performance of my application, I need to optimize painting on Canvas. I am considering a Chrome NaCl module. I found that it has its own pp :: Graphics2D interface for drawing 2D graphics. Does anyone know if NaCl's 2D GUI is faster than HTML5 Canvas 2D?

+3
source share
1 answer

NaCL is much faster than WebGL or any other rendering methods in the browser.

NaCL, . , WebGL, .

0

Source: https://habr.com/ru/post/1791119/


All Articles