Merge pull request #18255 from calixteman/disable_hwa_only_for_mc
Only disable HWA in m-c build and for local dev
This commit is contained in:
commit
06800cd966
@ -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",
|
||||
|
||||
@ -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: {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user