update hardware accel flags for chromium 131 (#1058)
Co-authored-by: v <vendicated@riseup.net>
This commit is contained in:
@@ -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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user