mirror of
https://github.com/mozilla/pdf.js.git
synced 2026-06-27 18:45:48 +02:00
Merge pull request #20965 from calixteman/enable_hwa_default
Enable hardware acceleration by default
This commit is contained in:
commit
7b2901bd21
@ -457,7 +457,7 @@ const defaultOptions = {
|
|||||||
},
|
},
|
||||||
enableHWA: {
|
enableHWA: {
|
||||||
/** @type {boolean} */
|
/** @type {boolean} */
|
||||||
value: typeof PDFJSDev !== "undefined" && !PDFJSDev.test("MOZCENTRAL"),
|
value: true,
|
||||||
kind: OptionKind.API + OptionKind.PREFERENCE,
|
kind: OptionKind.API + OptionKind.PREFERENCE,
|
||||||
},
|
},
|
||||||
enableWebGPU: {
|
enableWebGPU: {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user