update hardware accel flags for chromium 131 (#1058)

Co-authored-by: v <vendicated@riseup.net>
This commit is contained in:
Cookie 2025-02-01 19:51:04 -05:00 committed by GitHub
parent 00fb658355
commit eddbe27c4d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -35,7 +35,12 @@ function init() {
if (hardwareAcceleration === false) { if (hardwareAcceleration === false) {
app.disableHardwareAcceleration(); app.disableHardwareAcceleration();
} else { } else {
enabledFeatures.push("VaapiVideoDecodeLinuxGL", "VaapiVideoEncoder", "VaapiVideoDecoder"); enabledFeatures.push(
"AcceleratedVideoDecodeLinuxGL",
"AcceleratedVideoEncoder",
"AcceleratedVideoDecoder",
"AcceleratedVideoDecodeLinuxZeroCopyGL"
);
} }
if (disableSmoothScroll) { if (disableSmoothScroll) {