426 points · by Seldaek · 15y ago · 60 comments
Just a friendly word of (unbacked) warning to frontend devs :)
Think what the latest game engines can do at 60fps, why oh why do our browsers still sweat over a few alpha channels in 2011?
EDIT: My galaxy S phone runs Quake 3 at 60fps, flawlessly. MY PHONE RUNS QUAKE 3! Why can't my browser do alpha blending at more than 10fps?
Browsers have this little thing they have to deal with called "text". Turns out that stuffing reasonable text into a texture and then scrolling it, say, is not something GPUs can do a good job of. This is why games just bitmap all their text and it looks like crap, by the way. I doubt you'd want text in a browser to look like it does in most games.
Browsers are working on making this faster, by the way. But it also turns out that not only are GPUs designed around stuff that games do (which is not the same set of stuff that browsers need done), but so are graphics drivers. The parts of them that Firefox 4 has been trying to use are clearly undertested, because they're ... rather buggy. Which is why there's now a driver blacklist (whitelist on Linux) and so forth...
(Is the difference between Chrome and Chromium likely to be relevant?)
This was repeatable several times at first, but now it's become intermittent. It takes me back to the days of tweaking settings in X-Windows, when there was a "saveunder" setting that would specify whether to retain the contents of a window in memory when it became obscured by another window.
Here is the result. The images would slide left to right as a slideshow, and the box shadows are on the borders to create the "layered" effect. The images however do indeed use real image shadows. http://i.imgur.com/0D7WQ.png
There are other factors which can make scrolling less than butter smooth on slightly aged hardware, this seems to be a weak spot of many fancy designs. I don’t know whether those designs are just not tested in all browsers and on slightly older hardware or whether that’s an intentional trade-off. I’m extremely annoyed by even slightly jittery scrolling, but that’s probably just me.
(via browserling) http://img29.imageshack.us/img29/4448/ie9corners.png
Hmm, webpagetest shows it works completely in IE9
http://cdn.webpagetest.org/thumbnail.php?width=930&test=...
maybe a later release
Performance: o_O
Looks great on my Droid though...
The good thing is that in IE<9, it just shows a white box. But it's still perfectly readable and usable, it just looks less fancy, which is an acceptable loss in some cases.
Works on the defualt browser,
Works on the Opera Mobile brwoser,
Works on the Firefox browser.
So my mobile phone has better CSS rendering then my desktop IE8. Go figure.
Firefox 3.6 and Chrome all good though.
"Known browser support: Firefox 3.5+, Chrome 5+, Safari 5+, Opera 10.6+"