HTML5 Canvas Performance

Discussion and feedback on Construct 2

Post » Tue Nov 08, 2011 4:35 am

It's been a few weeks. Today I got a new graphics card, a MSI N460GTX Hawk. It's a up-to-date, powerful and supported card. And of course I installed the newest driver (285.58)
To my astonishment Firefox still doesn't care! Under the same testing conditions I still get the same framerates as with the older 9400GS (yes, 8 fps with ghost shooter, 25-32 fps with fishieTank, etc.)

Does anyone also use that model (MSI N460GTX Hawk, 1GB, Talon Version) and Firefox 7.0.1? If so, I'd like to know if you also have that disappointing performance?
Image
B
23
S
8
G
10
Posts: 1,820
Reputation: 8,242

Post » Tue Nov 08, 2011 5:57 am

I read somewhere that Firefox uses direct2d, which like Ashley mentioned, is only available on vista on windows 7. I don't know if they've upgraded that since then, but that might be the problem.Davioware2011-11-08 05:57:57
B
25
S
3
G
6
Posts: 1,197
Reputation: 5,620

Post » Tue Nov 08, 2011 6:05 am

On xp the canvas is not currently hardware accelerated. It's only accelerated on windows systems with direct2d such as vista and 7.

This probably will not always be the case as Mozilla's eventual plan is to use opengl to do the acceleration on systems without direct2d.

Here's an overview of Firefox's rendering engine Azure:
http://blog.mozilla.com/joe/2011/04/26/introducing-the-azure-project/

And here's a forum with Azure's current progress:
http://forums.mozillazine.org/viewtopic.php?f=23&t=2233499
B
79
S
24
G
54
Posts: 4,747
Reputation: 40,757

Post » Tue Nov 08, 2011 1:31 pm

Try Chrome 15, that now has hardware acceleration and it might work. If you're on XP obviously you can't try IE9 which is a shame, because that's always had one of the most robust and fastest canvases...
Scirra Founder
B
359
S
214
G
72
Posts: 22,952
Reputation: 178,600

Post » Tue Nov 08, 2011 6:07 pm

I guess I will have to give Chrome a chance then.
Thank you all very much for the informations, I wasn't aware of the direct2D implementation.
Reading the forum link that ROJOhound provided it seems that there is still hope. Azure will make use of Skia as a replacement of Cairo for all software rendering and OpenGL. Skia is already activated for the Mac versions, and a bug comment from today looks promising. They tested a build for Windows successfully and it seems it will be implemented as another option in the preferences to manually enable Skia, so that people having Direct2D will also be able to alternatively use Skia.
Thanks once again, I wouldn't have learned about it without your answers tulamide2011-11-08 18:08:37
Image
B
23
S
8
G
10
Posts: 1,820
Reputation: 8,242

Post » Tue Nov 08, 2011 6:23 pm


i was testing this and always used firefox, when offline good framerate
but once online its very slow, was a bit dissapointed, but then ran it in chrome and its blazing fast! ie9 is also on same level, very good

i guess its just matter of time for firefox then

test

hold and release space to shoot

vtrix2011-11-08 18:25:12
ImageImage
B
61
S
19
G
6
Posts: 809
Reputation: 9,028

Post » Tue Nov 08, 2011 8:25 pm

Just a fyi. In Firefox you can click on help at the top and select Troubleshooting Information. That will open an about page with all the relevant info.
The flag for if hardware acceleration is enabled is down near the bottom.newt2011-11-08 20:26:31
Image Image
B
161
S
48
G
90
Posts: 7,356
Reputation: 66,767

Post » Tue Nov 08, 2011 9:19 pm

Firefox 8 just came out. Is it any better?
Scirra Founder
B
359
S
214
G
72
Posts: 22,952
Reputation: 178,600

Post » Tue Nov 08, 2011 9:37 pm

To my surprise ghost shooter runs best in ie


Firefox: 2 fps
Chrome: 12 fps
Ie: 16 Fps

In preview mode it runs really slow on all browsers, though.
Only exported it runs "good"
B
18
S
4
G
1
Posts: 413
Reputation: 2,512

Post » Tue Nov 08, 2011 9:39 pm

I just tried Firefox 8 on Space Blaster... seems a bit worse for me :-\ Maybe it's just me though!
Scirra Founder
B
359
S
214
G
72
Posts: 22,952
Reputation: 178,600

PreviousNext

Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 13 guests