|
|
|
@ -24,7 +24,7 @@ fi
|
|
|
|
|
FEATURES=""
|
|
|
|
|
|
|
|
|
|
case "$GRAPHIC_DRIVER" in
|
|
|
|
|
amd)
|
|
|
|
|
amd|intel)
|
|
|
|
|
# Need new mesa with AMD multi planes support, is supported in fedora >= 40 (mesa-24.1.1 or newer)
|
|
|
|
|
# see https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26165
|
|
|
|
|
CHROMIUM_FLAGS+=" --use-gl=angle --use-angle=vulkan --enable-accelerated-video-decode"
|
|
|
|
@ -37,10 +37,6 @@ case "$GRAPHIC_DRIVER" in
|
|
|
|
|
CHROMIUM_FLAGS+=" --use-gl=angle --use-angle=gl"
|
|
|
|
|
FEATURES+="VaapiVideoDecodeLinuxGL,VaapiVideoEncoder,VaapiOnNvidiaGPUs"
|
|
|
|
|
;;
|
|
|
|
|
intel)
|
|
|
|
|
CHROMIUM_FLAGS+=" --use-gl=angle --use-angle=gl"
|
|
|
|
|
FEATURES+="VaapiVideoEncoder,VaapiVideoDecodeLinuxGL"
|
|
|
|
|
;;
|
|
|
|
|
*)
|
|
|
|
|
CHROMIUM_FLAGS+=" --use-gl=angle --use-angle=gl"
|
|
|
|
|
FEATURES+="VaapiVideoEncoder,VaapiVideoDecodeLinuxGL"
|
|
|
|
|