Improving HTML5 Canvas performance

Discussion and feedback on Construct 2

Post » Wed Nov 02, 2011 3:28 pm

I've stumbled upon this article that discusses HTML5 canvas performance:
Improving HTML5 Canvas Performance

I consider myself enlightened after reading the article. By applying the canvas performance optimization methods in the article, Construct 2 runtime could benefit from a significant increase in performance.Mipey2011-11-02 15:29:14
B
62
S
21
G
12
Posts: 1,910
Reputation: 13,155

Post » Wed Nov 02, 2011 4:49 pm

I read that article, but most of the tips apply to software renderers. We're gunning for hardware accelerated implementations all round. Things like not rendering at floating point co-ordinates only make a difference for software renderers - on hardware accelerated canvases there should be no measurable difference.
Scirra Founder
B
357
S
214
G
72
Posts: 22,946
Reputation: 178,208

Post » Thu Nov 03, 2011 8:31 pm

Interesting... I liked the article.
Chrome is really strong, and safari surprised me o/
B
202
S
37
G
13
Posts: 136
Reputation: 29,488

Post » Thu Nov 03, 2011 11:06 pm

From my own tests I would actually say even though Chrome now has hardware acceleration, IE9 is still top. Its canvas is still about 25% faster and is even better quality too - you get nice antialiasing on object edges, which Chrome and Firefox don't appear to do.

Although we don't support it yet you can get much better performance from using WebGL, so IE could still end up slowest.
Scirra Founder
B
357
S
214
G
72
Posts: 22,946
Reputation: 178,208


Return to Construct 2 General

Who is online

Users browsing this forum: TheRealDannyyy, Zonacas and 12 guests