I use a TEmbeddedWB in a Delphi project to display a HTML5/CSS3/Javascript game fullscreen. It uses IE9 embedded to render the page. That is working fine but i discover some lag, speed difference compared to other browsers and IE9 itself (when the page is loaded in the browser itself). In a browser there is no lag.
Because the game uses drag and drop features to move objects and can be used on touchscreens, the lag in movements is a little annoying.
I tried several things, disable background drawing, repainting, increase CPU priority above normal, disable TEmbeddedWB features etc. I also tried it with TWebBrowser but has the same issues.
Anybody any idea how to solve this? Found nothing on the internet about this.
23 days later:
IE10 pre release is yet launched (today) for Windows 7. Download and installed it, problem of lag is gone.
The Javascript engine of IE10 is much faster comparing to IE9. I think that is the problem.
Although it is not a real solution (problem of lag with IE9 Embedded still persists) but looks promising for the near future. My requirements are at least IE9 to operate but when you want more speed and more HTML5/CSS3 support you must upgrade to IE10.
But, if you find a solution for IE9 in the future, please let me know.
To download a pre release of IE10, you can visit this page (i downloaded the 64 bit version).
http://www.microsoft.com/en-us/download/details.aspx?id=35709