Google Chrome hardware acceleration making game run slow
Posted
by
powerc9000
on Stack Overflow
See other posts from Stack Overflow
or by powerc9000
Published on 2014-05-30T03:21:53Z
Indexed on
2014/05/30
3:25 UTC
Read the original article
Hit count: 146
So I have been working on a game in HTML5 canvas and noticed that the games lags and performs much slower when hardware acceleration is turned on in Google Chrome then when it is turned off. You can try for yourself here
From doing some profiling I see that the problem lies in drawImage
.
More specifically drawing one canvas onto another. I do a lot of this.
Hardware Acceleration on.
Hardware Acceleration off.
Is there something fundamental I am missing with one canvas to another? Why would the difference be that profound?
© Stack Overflow or respective owner