Skip to content

Commit

Permalink
Bug 902952 - Part 2: Use Direct2D 1.1 where available. r=jrmuizel
Browse files Browse the repository at this point in the history
  • Loading branch information
Bas-moz committed Oct 1, 2014
1 parent e4844e6 commit 6176118
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions modules/libpref/init/all.js
Original file line number Diff line number Diff line change
Expand Up @@ -577,8 +577,8 @@ pref("gfx.font_rendering.opentype_svg.enabled", true);
#ifdef XP_WIN
// comma separated list of backends to use in order of preference
// e.g., pref("gfx.canvas.azure.backends", "direct2d,skia,cairo");
pref("gfx.canvas.azure.backends", "direct2d,skia,cairo");
pref("gfx.content.azure.backends", "direct2d,cairo");
pref("gfx.canvas.azure.backends", "direct2d1.1,direct2d,skia,cairo");
pref("gfx.content.azure.backends", "direct2d1.1,direct2d,cairo");
#else
#ifdef XP_MACOSX
pref("gfx.content.azure.backends", "cg");
Expand Down Expand Up @@ -3899,6 +3899,7 @@ pref("gfx.xrender.enabled",true);
#ifdef XP_WIN
// Whether to disable the automatic detection and use of direct2d.
pref("gfx.direct2d.disabled", false);
pref("gfx.direct2d.use1_1", true);

// Whether to attempt to enable Direct2D regardless of automatic detection or
// blacklisting
Expand Down

0 comments on commit 6176118

Please sign in to comment.