Enable Firefox Hardware Accelerated Graphics

Over the past few days, news have been surfacing of the Mozilla developers bringing performance improvements to the Firefox web browser, specifically in the regions of JavaScript and hardware-rendered graphics. Over the last couple of days, blog posts by developers like Asa Dotzler have indicated the upcoming new JavaScript engine, the JaegerMonkey, and the landing of DirectWrite and Direct2D in Firefox nightly builds, bringing hardware acceleration to text and 2-D graphics for Windows 7 and Vista.

The JaegerMonkey engine is believed to improve the JavaScript performance of Firefox by 30% to 45%, with room for lots of further improvements.

You may want to check out the blog post by David Mandelin, which offers specific high-level information on starting the JaegerMonkey engine, and this post by David Anderson providing an overview of the how and what the work is being done in this front.

The second improvement, that is, addition of browser’s capability to use Windows Vista’s and Windows 7’s DirectWrite and Direct2D APIs would be more interesting to watch, since Asa Dotzler claims that even the fonts look really great with DirectWrite enabled. For those of our adventurous readers that want to try it out for themselves, you can download the latest nightly build here, and make the following changes to enable these features.

  1. Enter ‘about:config’
  2. Click through the warning, if necessary
  3. Enter gfx.font in the ‘Filter’ box
  4. Double-click on ‘gfx.font_rendering.directwrite.enabled’ to set it to true
  5. Below this, right click and select New > Integer to add a pref setting
  6. Enter ‘mozilla.widget.render-mode’ for the preference name, 6 for the value
  7. Restart

(To disable, set gfx.font_rendering.directwrite.enabled to false, delete mozilla.widget.render-mode, then restart.)

Note: If the above does not make sense to you, please do not try this. This is a developers’ release, and may render your browser unstable. It would be better to backup your browser first.

It may take a while for these features to get integrated in any final release of the Firefox browser, but once it does it would be interesting to watch how Firefox compares with its competitors (Chrome, for example), that are already ahead of it in terms of JavaScript rendering.

  • Share this article!

    • Digg this!
    • Bookmark on Reddit
    • Bookmark at Delicious
    • Stumble this!
    • Share this post at Facebook
    • Tweet this!
    • Share on Yahoo! Buzz
    • Add AddictiveTips to your Technorati favorites
    • Share on Friendfeed
This entry was posted in Internet and tagged , , . Bookmark the permalink. Post a comment or leave a trackback: Trackback URL.

2 Comments

  1. Hisham
    Posted March 2, 2010 at 5:22 am | Permalink

    Seems Interesting! But HW Acclerated Graphics are surely to improve Visuals With its Anti alaising and many more techniques :D Kudos to Mozilla!

  2. aatif
    Posted March 2, 2010 at 8:39 am | Permalink

    You're right about that. We look forward to these changes in Firefox, since Chrome is quickly becoming a threatening competitor on this ground.

Post a Comment

Your email is never published nor shared. Required fields are marked *

*
*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>


More in Internet (5 of 5 articles)