News

Microsoft's IE9 to tap hardware for speed boost

Microsoft's next browser, Internet Explorer 9 (IE9), will offload image and text rendering chores to the PC's graphic processor, one way the company plans to increase the browser's overall performance, according to the firm's top IE manager.

But Microsoft won't be alone. Rivals including Mozilla, which makes Firefox, and Norwegian developer Opera, are working on ways to use a computer's graphics processor unit (GPU) to accelerate their browsers.

Microsoft last week revealed a few details about IE9, which has no set ship date or even a publicly-disclosed development plan. While acknowledging that the company had a lot of catching up to do, however, Steven Sinofsky, Microsoft's president of Windows and Windows Live, said that early work on IE9 had already shown significant performance strides.

In a follow-up interview, Dean Hachamovitch, the general manager for IE, explained one way that Microsoft would speed up IE9.

“One reason why you get such great value from PC hardware comes from the machine's graphics, [so] we're moving IE on top of the modern Windows graphics engine, DirectX,” said Hachamovitch. Specifically, IE9 will ditch Windows' GDI (Graphics Device Interface) used by earlier versions for image rendering, and instead call on the Direct2D and DirectWrite APIs (application programming interfaces) to render two-dimensional images and text, respectively.

Those APIs shift the processing from the PC's CPU to its GPU. “Graphics hardware acceleration means that rich, graphically intensive sites can render faster while using less CPU,” Hachamovitch said.

Although Hachamovitch declined to peg a goal for IE9's hardware-based acceleration, he said early results have been encouraging. “On top of GDI, we were seeing IE render at 5-10 frames per second. Users don't know whether that's [caused by] the network, or a site script, but it just seems kind of slow to them. Using [Direct2D], we're seeing 40, 50 or 60 frames per second. That's game-like responsiveness.”

Because the image and text rendering — DirectWrite results in much sharper text — is done by Windows in conjunction with the GPU, there's nothing Web site or Web application developers will have to do to make their sites seem faster to IE9 users. “Web developers can take advantage of the hardware ecosystem's advances in graphics, but don't have to rewrite their sites to do that,” Hachamovitch said.

Microsoft isn't alone in exploring graphics acceleration: The top engineers at Mozilla and Opera both said that their companies are pursing the same grail.

“We have our own projects to use OpenGL on open platforms, and Microsoft's APIs on Windows,” said Mike Shaver, Mozilla's vice president of engineering. OpenGL, or Open Graphics Library, is an open-source set of function calls used to render two- and three-dimensional images.

Opera, like Mozilla, doesn't limit itself to building a browser for Windows only, as does Microsoft, and so faces the same cross-platform issues as Mozilla. But hardware acceleration is coming, argued Hakon Wium Lie, Opera's chief technology officer. “We're going to see hardware acceleration across the board,” Wie said. “But we can't tie ourselves to a single API, like Microsoft.”

Both Shaver and Lie noted that graphics-based browser acceleration would deliver even more benefits on mobile devices, such as smartphones. Mozilla is working on a mobile version of Firefox, dubbed Fennec, while the mobile version of Opera is much more popular than its desktop sibling.

Shaver said that hardware acceleration would debut in one of the upcoming editions of Firefox, although not in Firefox 3.6, which is slated to hit release candidate status later this month and ship before the end of the year. “We'll put it in when it's ready,” Shaver said. Firefox 3.7, another minor upgrade, is set to wrap up in the first half of next year, while the major upgrade to Firefox 4.0 is currently scheduled for later in 2010.

Although some have accused Microsoft of ignoring available standards — including OpenGL for rendering two-dimensional images — charges that have been leveled against the company numerous times in the past over other issues, Shaver and Lie refused to be drawn into that conversation. “It would be nice if we could use OpenGL on Windows, but you have to play the cards that are dealt,” Shaver said. “On Windows, DirectX and Direct2D are the only reasonable path right now, so for building a Windows browser, using the DirectX APIs is reasonable. Microsoft isn't doing anything that we wouldn't be able to do.”

Shaver pointed out that Direct2D was only available on Windows Vista and Windows 7, a limiting factor. Most Windows PCs, however, still run the eight-year-old-and-counting Windows XP.

“Microsoft's approach is reasonable as long as [the APIs] remain documented,” said Lie, who added that if they weren't, Opera would be the first to object. Opera has done that in the past by filing complaints with European antitrust regulators over Microsoft's bundling of IE with Windows, and IE's purported lack of support for widely-used Web standards.

“Hardware acceleration will deliver extraordinary performance [to IE9],” said Microsoft's Hachamovitch, something that Shaver and Lie echoed.

“Everyone will have a better experience on the Web,” Lie agreed.

Previous ArticleNext Article

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

GET TAHAWULTECH.COM IN YOUR INBOX

The free newsletter covering the top industry headlines