diff --git a/extensions/chromium/preferences_schema.json b/extensions/chromium/preferences_schema.json index d62821f3cf88c..ec8654581065e 100644 --- a/extensions/chromium/preferences_schema.json +++ b/extensions/chromium/preferences_schema.json @@ -46,9 +46,10 @@ "default": false }, "enableHWA": { + "title": "Enable hardware acceleration", "description": "Whether to enable hardware acceleration.", "type": "boolean", - "default": false + "default": true }, "enableML": { "type": "boolean", diff --git a/web/app_options.js b/web/app_options.js index 20fed9cbf19e3..ac24bf1505873 100644 --- a/web/app_options.js +++ b/web/app_options.js @@ -312,7 +312,7 @@ const defaultOptions = { }, enableHWA: { /** @type {boolean} */ - value: false, + value: typeof PDFJSDev !== "undefined" && !PDFJSDev.test("MOZCENTRAL"), kind: OptionKind.API + OptionKind.VIEWER + OptionKind.PREFERENCE, }, enableXfa: {