IE9 Flaunts Hardware-Accelerated Canvas
An anonymous reader writes "Over on the IE blog they have a rundown of IE9's hardware accelerated support for the canvas element. They write, 'With the recent release of the latest IE9 platform preview, we talked about how we're rebuilding the browser to use the power of your whole PC to browse the web, and to unlock a new class of HTML5 applications. One area that developers are especially excited about is the potential of HTML5 canvas. Like all of the graphics in IE9, canvas is hardware accelerated through Windows and the GPU. In this blog post we discuss some of the details behind canvas and the kinds of things developers can build.'"
If ya got it... flaunt it!
But in the end, did it ever matter?
will ie9 support that?
So basically instead of just writing a windows app, people are going to write IE-9 specific HTML 5 extended (or enhanced) pages that load only on Windows systems and pretty much perform the same things a windows app would do (hardware accelerated).
Isn't this a really long roundabout way of just allowing apps to run off the web in a sandbox? Why the smoke and mirrors?
---
Programming is like sex... Make one mistake and support it the rest of your life.
Firefox 4.0 betas are slightly faster than IE9 previews using the same hardware acceleration API's (Direct2D and Directwrite).
We developed a web based game BattleCell that uses Ajax/CSS instead of Flash for all the heavy lifting. We discover at least one new bug in the IE rendering engine every month. Our pile of IE bugs in the back room that we have to track every time we develop a new feature is testament to the dread with which we view this new hardware-based rendering engine. We know what we're doing.
Just last week, we learned that once you have a stack of enough semi-transparent layers (combination of PNGs with alpha channels coupled with DIVs with various opacity CSS settings), IE fails to render the top-most layers. This doesn't happen after 20-30 layers. This happens after 5-7 layers. At first we thought our code was faulty, until we realized that scrolling down such a page with multiple layers will cause text that was previously "invisible" to suddenly be rendered in its specified color... as we kept scrolling, the text would then disappear again. You get the idea.
Obviously, this all works flawlessly in Safari, Chrome, Opera. For IE, we get to re-architect all sorts of work-arounds --a house built on sand.
Why not build the entire browser in OpenGL or DirectX for computers with a capable graphics card?
It's fast but can it render the page correctly? It doesn't much matter how fast it is if it doesn't do it right. IE8 is still a big turd - have they actually fixed IE9 or is it all smoke and mirrors by posting speed results? The last results I saw proved that they could pass the tests they wanted to pass but that they failed horribly at real world results. I guess if it's good enough for the education system then it's good enough for web browsers eh?
At what price learning? At what cost wisdom? The price is a man's peace of mind, and the cost is his life.
Do Windows box users still have to wait for IE to catch up with Web standards? Or does MS still FLAUNT its use of non-standard web code?
Does IE9 dump ActiveX? Is that security scourge of the Internet finally dead and gone? Or will IE9 users still be victims of ActiveX malware?
Comment removed based on user account deletion
The internet is being viewed on a lot of tablets, phones and netbooks that don't have the hardware support for this. It looks like their share is only going up. I'm sure some dev in a hurry is going to use this feature, but the moment they do they lock out all the new market.
Yay me!
Direct2D? DirectWrite? 15 years ago, we were calling that DirectDraw, and accelerated rasterisation was the hottest thing since sliced time. I guess what goes around comes around, and these kids today will be laughing at the new kids in another 15 years when they discover the wonders of DirectFlatOGram. Also, their Goddamn DirectNoise is too loud on my DirectLawn.
If you were blocking sigs, you wouldn't have to read this.
Microsoft finally caved and built the canvas tag! ActiveX: Bonk with radioactive danger signs. Silverlight: Bonk. SVG? Meh, retained mode scenes with tags all over again. Souped up VML. I'm going to give that a Bonk too (even though it was hardware accelerated).
But canvas, now that's a pixel buffer: simple and beautiful! Now we are *talking*. DING DING DING!
Microsoft's building in canvas is a huge concession that they are losing mindshare to HTML5. And what they're doing is half right by building theirs faster and all micro-optimized and kernel-hooked as they love to do.
But this won't save them, they won't recapture the mojo. Well... that is, not until they backport these new HTML5 features to XP. Here's my take: adding features to an IE that is locked to Windows 7 does not make consumers want to buy Windows 7. Not when it is far simpler for the consumer to install a competing browser that runs on XP (and earlier.) I will go as far as to say that adding canvas to Windows 7's IE is really just advertising new features in the competition's browsers.
I love this canvas tag move by Microsoft, and its far overdue! But they're not back in the game until they stop all this nonsense and backport IE9 to XP (and, heck, Win2K while you're at it!) If your retort is "oh it costs too much to support, oh the API's have changed, oh you should upgrade your 9 year old turd of an OS!". C'mon. Cost? API's? We're talking about moneybags Microsoft here! They can do whatever they want; I have no pity for them when or if they fail due to another botched marketing plan and neither should you. And I will not upgrade my XP/Server 2003 until the reboots get faster on Windows 7. It takes my friend 5 minutes on cherry hardware to get a usable desktop after reboot, and his harddrive is always doing something in the background when nothing is going on! On my XP, the harddrive is quiet unless I am doing something with it, the CPU is idle unless I do something.
Upon further reflection over canvas ... Here's a thought Microsoft, maybe I can meet you half way. How's about backporting canvas to IE7/8 but with no hardware acceleration? This way you can sell the merits of a Windows 7+IE9 upgrade. See, I can be reasonable. :)
Every time I hear "hardware accelerated" associated with the browser, I feel as though they have essentially given up trying to unbloat their browser and operating system so they are trying to make up for it by pushing off such tasks to the hardware.
I am down with hardware accelerated video and windows processing, especially years ago when processors were just too slow to do an effective job. But today we are working with multi-gigahertz multi-core processors on nearly every machine. It's truly a lot of processing power. Is it being wasted?
Other browsers get by just fine without hardware acceleration. Why does MSIE need it?
The ammount of wrong on the IE team is amazing. I am looking at the test, and I want to murder these dudes.
Canvas is not create to replace Flash, to create fullpages in canvas. This is a idiotic idea, and if some people run with it, we are trully fucked. Canvas is to enhance our hability to create webpages with things that nowdays are not possible. This is things like graphics of sales and useage dinamically written. Using canvas to create a page mutch like flash, adds nothing to the web, actually make it worse.
The IE team is the people with the worst ideas of the internet. Is a dangerous grupo of people, that seems activatelly tryiing to make the internet a bad location :-(
-Woof woof woof!
before shoving in shiny crap. your ie8 causes SO many problems to web developers, webmasters and even their users that it isnt even funny to talk about it anymore.
ie8 still interprets a form tag as an element which should be block, regardless of whatever you try to do with it. it screws up a lot of designs which involve any complex form designs. the ONLY browser doing this is ie8. not even ie6.
do a good job about making a browser work before filling it shit.
Read radical news here
plug your hardware directly into the internet, protected by a few layers of microsoft security? Sounds like a great idea to me!
"Microsoft today petitioned the US Government to bring Travis Ormandy up on charges for manslaughter, after he failed to wait 3 years before disclosing an IE9 vulnerability that can allow a malicious website to burn someone's house down by turning off his GPU fan."
HTML5 scares me, because I think it will lead to a farm more annoying web. For example I run Firefox because of Flashblock. I've not yet found anything like it in IE (the ones I have found work for crap). So why do I block Flash? Because I am an anti-flash zealot? No. Because it slows down browsing? No, my system is a heavy hitting quad core, it can spare lots of power for shiny effects. So why then?
Because Flash is used for the power of annoying. All over the damn web Flash it used for ads in an extremely annoying fashion. The ads that block everything out and move all over your damn page and so on. I don't want to see that shit. So, I block Flash, except on sites I want it on, and the web suddenly gets way less annoying.
HTML5 means that they'll be able to do all this shit, and even MORE annoying stuff, and I can't escape it. It'll be an inherent part of the web.
Not at all looking forward to that.
DirectDraw was just basic graphics acceleration. Mostly what DD offered was the ability to write things quickly to video memory, as one could do in DOS. It had support for blitting, calling page flips, and so on. More or less the kind of stuff you could do when you had low level access to everything in the system, but which you couldn't really do with a GUI in the way directly.
This all got deprecated by default with the advances in Direct3D and so on. You could just use a texture quad to do all that to the extent it was still needed. Most programs these days aren't concerned with quickly pushing a bunch of raw pixels to the screen.
Ok well Direct2D is a vector graphics API. It is to allow you to design 2D scenes that scale well to any size, and then its partner DirectWrite handles all the nice n' flashy font stuff. Part of the idea is to be able to easily do resolution independent user interfaces and such. DirectDraw wasn't for that at all, and the GDI isn't all that well suited for it. Direct2D is easy interfaces to allow you to draw custom, scalable, content. Could all be done with D3D probably, and you need a card with some 3D features backing it up to use, but that would be rather complex.
The basic hardware accelerated rasterization is something that has just been assumed for years which is why you don't hear about it. The GDI would make use of graphics cards to accelerate basic drawing. However the new features are all about doing more than just speeding up putting pixels on the screen. Rather you have the graphics card actually do some heavy lifting and composite the image together. THAT allows for cool new 2D features, like truly resolution independent stuff. You tell the GPU "I want a line from here to here," it takes care of all the details.
This means the first virus to infect a GPU is not that far away.
boycott slashdot February 10th - 17th check out: altSlashdot.org
You can't fuck anything other than your goddamned hand because you have a shrinking dick.
it works really well on an old MacBook without dedicated 3D graphics (Intel something)
Dennis Onstenk
... .NET powering everything to anyone else? i.e. how it was going to save the world, walk the dog, make your breakfast, lunch, dinner and coffee, and go to work for you and life would be great?
(I'm still surprised that M$ managed to gain a foothold in the console world, but then they have enough cash to ride out losses for much longer than any other player and they went very conservatively w/the first XBOX(gimped PC), but it's about their only recent endeavor that seems to have gone anywhere outside of their mainstay Windows & Office products... They've been coasting on inertia for a long time now and, ufortunately, have the cash(and Windows/Office sales) for a long time yet to come...)
IE will never be ubiquitous. MS will never spread it past its own OS offerings. Microsoft is loosing ground in its monopoly, and the field is growing wider all the time. People should just stop using IE so that the world can move on from proprietary to community. I think that every browser that supports multiple platforms should be supported. Let the best 4 win. We need options, but not IE.
Really people!!! Don't we want to use something that will work across all platforms?????
There's nothing wrong with their graphic API. If you use DirectX or OpenGL to write the canvas element, it will be hardware accelerated. But like all mainstream operating systems, Windows has several graphic APIs. Some are hardware accelerated, and some are not. Thats not a thing specific to Windows. Get a grip.
IE 9 doesn't work on 72% of the machines out there and it never will. It doesn't run on Windows XP. How standard does such a fringe browser have to be?
Help stamp out iliturcy.
Microsoft is getting that many licenses, yes. So many people are trying to say that that means the thing is popular. Vista licensed 10 Million units a month in the face of a global recession. What does this mean? That license figures have nothing to do with adoption rates for Windows versions, nor for popularity of the software. It's just a measure of how effectively the company has cowed the industry that enterprises automatically get a license seat of their latest software under Software Assurance and most OEMs purchase a license for every machine shipped whether the machine will even run the software or not, or even if the end-user gets that license. It's a measure of the pent-up demand in a market that avoided purchasing hardware to avoid Vista and just can't wait any more. It's also not new money: Microsoft would pretty much get that money even if W7 was a blank disc.
Where is W7 adoption at really? 13.7%. That's doing pretty well but 1/3 of that was taken from Vista - the widely reviled product people can't get off of fast enough. As a whole Windows share is off by 2% in the past year. That's not a free-fall, but it's not a move in Microsoft's favor either.
The article is about IE9. IE9 will not install on Windows XP. Enterprises looking to migrate to IE9 services and applications cannot do so until they migrate to Windows 7. Application developers can't target the market for services that leverage IE9 technologies until the market moves to a platform that supports IE9. It's a catch-22. It's a real problem and you shouldn't pooh-pooh it.
On the other hand, other standards based browsers use the latest technologies and run on whatever platform you're running, so they make the better target for the application developer.
Help stamp out iliturcy.
stupid personal attack aside, what difference would it make if i was shaking my fist from a basement ? huh ? logic stops at the basement door ? i havent gotten that memo.
they keep screwing up, and they keep pushing out new versions of their shit over and over, with the hopes of not screwing this time. instead of doing a good job when they actually do something. and people have to pay for that shit. endless numbers of developers, webmasters, and even users are paying for their gross incompetence.
Read radical news here
People hate me for saying this but, MS JVM in first incarnations was perfect. Good performance, the stuff worked, it was well integrated to OS and was using OS features.
What happened to a point that Sun sued them and won? They "extended" it putting windows only features, completely breaking compatibility. I lived that nightmare just months ago when I naively tried to make a favor to a business by upgrading to Sun Java latest. Their intranet broke and we had to hunt for unsupported (by law!) MS JVM to install it to XP. Thank God some guys still keep it on their websites (including 3 trojaned versions we had to ignore).
That is just Sun Java. There are several other examples. MS is capable of supporting standards. They are also capable of influencing them to a point that, nothing will work except on Windows. That is the part people are afraid.
Which "mainstream operating systems" would that be? Neither on OS X, UNIX, or Linux do you have to do anything special in order to get hardware acceleration of 2D graphics if the hardware and drivers support it. I got my first hardware accelerated 2D graphics card for X11 more than 20 years ago and even back then, it just accelerated all apps through the existing APIs.
agreed
How many more years will slashdot have an off-by-one error on your Score in your profile?
Really people!!! Don't we want to use something that will work across all platforms?????
We can, how would MS' implementation of the canvas element in IE possibly stop you from using a cross-platform browser?
See subject line above webchump and quit fooling yourself that you actually understand anything about programming, because webchumps? Are far from being actual coders. The reason most of you end up doing that level of "work" (b.s.), is that you cannot cut it when it comes down to real programming in languages like C or C++. The amusing part is watching moronic little dolts like you act as if you know something about coding, when the reality is that most of you are nothing more than failed programmers trying to play one on tv and yet you had the nerve to call others stupid developers? You're the epitome of that phrase because of what you do.