Chrome to get hardware acceleration
By Nicole Kobie
Posted on 31 Aug 2010 at 09:29
Google will add hardware acceleration support to its Chrome browser, following the lead of rival developers.
Hardware acceleration offloads heavy work to the graphics processor in order to speed up the display of video, 3D and other data-intensive images.
After arriving in Apple Safari earlier this year, and due to arrive in Mozilla's Firefox 4 and Microsoft's Internet Explorer 9, support for such a system has now arrived in the latest build of Chromium, the open-source project that underpins Chrome.
"A web page can naturally be divided into a number of more or less independent layers," software engineer Vangelis Kokkevis explained in a post on the Chromium blog. "Layers can contain text styled with CSS, images, videos, and WebGL or 2D canvases.
At the moment, not all work in Chromium can be offloaded to the GPU. "Currently, most of the common layer contents, including text and images, are still rendered on the CPU and are simply handed off to the compositor for the final display," said Kokkevis.
"Other layers use the GPU to accelerate needed operations that touch a lot of pixels," he added. "Video layers, for example, can now do colour conversion and scaling in a shader on the GPU. Finally, there are some layers that can be fully rendered on the GPU, such as those containing WebGL elements."
Sandbox hurdles
Because Chrome is sandboxed on computers for security reasons, making use of the GPU means Chromium developers must jump an extra hurdle than their rivals at Microsoft or Mozilla, and had to create a new GPU process that runs in a modified sandbox, keeping the browser separate from the PC while still allowing some access.
"Creating a specialised process like this allows Chromium’s sandbox to continue to contain as much as possible: the renderer process is still unable to access the system’s graphics APIs, and the GPU process contains less logic," said Kokkevis.
The Chromium system doesn't yet use hardware acceleration as much as its rivals, but developers are working to expand its use, Kokkevis added. "Over time, we’re looking into moving even more of the rendering from the CPU to the GPU to achieve impressive speed-ups."
The hardware acceleration support is listed in a Chromium 7 build, so doesn't look likely to arrive in Chrome 6, which is due soon.
From around the web
advertisement
- Chrome's shine getting lost in translation
- BytePac: the cardboard hard disk enclosure
- How tech loosens our grip on reality
- Hokum watch: Safer Internet Day
- Why I'm deleting Adobe from my PC
- Prepare to be patronised: it's Safer Internet Day
- Dear Sony, Samsung and every other tech company in the world: stop trying to be Apple
- Will Apple's Final Cut Pro X update placate the pros?
- Smartr Contacts for iPhone review
- Switching to Office 365's Outlook Web App
- Why virtualisation hasn't slowed the growth of data
- How to make Google AdWords work for your business
- The curse of sloppily written software
- Paying for your crimes with Bitcoin
- Behind the scenes: tech support for Formula 1
- The security risk of fat fingers
- Why Windows Phone 7 isn't quite ready for business
- When will Microsoft stop fiddling with Windows 8?
- Flash down the pan?
- Metro Style apps vs desktop applications
advertisement
