title: Google Chrome hardware acceleration making game run slow
body: <p>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 <a href="http://claymurray.website/rts" rel="nofollow noreferrer">here</a></p>
  
  <p>From doing some profiling I see that the problem lies in <code>drawImage</code>.
  More specifically drawing one canvas onto another. I do a lot of this.</p>
  
  <p>Hardware Acceleration on.
  <img src="https://i.stack.imgur.com/eX2dO.png" alt="Profile while hardware accelerated"></p>
  
  <p>Hardware Acceleration off.
  <img src="https://i.stack.imgur.com/Mqrhr.png" alt="enter image description here"></p>
  
  <p>Is there something fundamental I am missing with one canvas to another? Why would the difference be that profound? </p>