Merge pull request #20965 from calixteman/enable_hwa_default

Enable hardware acceleration by default
This commit is contained in:
calixteman 2026-03-25 07:49:36 +01:00 committed by GitHub
commit 7b2901bd21
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -457,7 +457,7 @@ const defaultOptions = {
},
enableHWA: {
/** @type {boolean} */
value: typeof PDFJSDev !== "undefined" && !PDFJSDev.test("MOZCENTRAL"),
value: true,
kind: OptionKind.API + OptionKind.PREFERENCE,
},
enableWebGPU: {