How to Enable Direct2D & DirectWrite Hardware Acceleration in Mozilla Firefox?

Did you know you can enable Direct2D and DirectWrite hardware acceleration in Mozilla Firefox to increase performance? Direct2D and DirectWrite are replacement for the good old GDI in Windows. These 2 new technologies use GPU acceleration to boost overall performance.

But you’ll need either Windows 7 or Windows Vista SP2 (with Platform Update installed) to be able to enjoy this method.

Follow these simple steps to enable Direct2D and DirectWrite H/W Acceleration in Mozilla Firefox:

Advertisement

1. Open Firefox and type about:config in the addressbar and press Enter. It’ll confirm, click on I’ll be careful, I promise! button.

2. Now type render in the Filter box and look for following 2 keys:

gfx.font_rendering.directwrite.enabled
mozilla.widget.render-mode

3. The entry “gfx.font_rendering.directwrite.enabled” would be set to false. Double-click on it or right-click on it and select “Toggle“. It’ll change its value to true.

4. The entry “mozilla.widget.render-mode” would be set to -1. Double-click on it and set its value to 6.

Direct2D_DirectWrite_HW_Acceleration_Firefox.png

PS: If you can’t find “mozilla.widget.render-mode” entry, you’ll need to manually create it. Right-click on empty space and select “New -> Integer” and set its name to mozilla.widget.render-mode.

Advertisement

5. That’s it. Restart your browser and enjoy better looking fonts and performance.

NOTE: If you want to disable the hardware acceleration, set “gfx.font_rendering.directwrite.enabled” to false and “mozilla.widget.render-mode” to 0.

Published in: Mozilla Firefox

About the author: Vishal Gupta (also known as VG) has been awarded with Microsoft MVP (Most Valuable Professional) award. He holds Masters degree in Computer Applications (MCA). He has written several tech articles for popular newspapers and magazines and has also appeared in tech shows on various TV channels.

Comments

NOTE: Older comments have been removed to reduce database overhead. Be the first one to start the discussion.

Leave a Comment

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

NOTE: Your comment may not appear immediately. It'll become visible once we approve it.