|
|
@ -24,7 +24,7 @@ fi
|
|
|
|
FEATURES=""
|
|
|
|
FEATURES=""
|
|
|
|
|
|
|
|
|
|
|
|
case "$GRAPHIC_DRIVER" in
|
|
|
|
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)
|
|
|
|
# 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
|
|
|
|
# see https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26165
|
|
|
|
CHROMIUM_FLAGS+=" --use-gl=angle --use-angle=vulkan --enable-accelerated-video-decode"
|
|
|
|
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"
|
|
|
|
CHROMIUM_FLAGS+=" --use-gl=angle --use-angle=gl"
|
|
|
|
FEATURES+="VaapiVideoDecodeLinuxGL,VaapiVideoEncoder,VaapiOnNvidiaGPUs"
|
|
|
|
FEATURES+="VaapiVideoDecodeLinuxGL,VaapiVideoEncoder,VaapiOnNvidiaGPUs"
|
|
|
|
;;
|
|
|
|
;;
|
|
|
|
intel)
|
|
|
|
|
|
|
|
CHROMIUM_FLAGS+=" --use-gl=angle --use-angle=gl"
|
|
|
|
|
|
|
|
FEATURES+="VaapiVideoEncoder,VaapiVideoDecodeLinuxGL"
|
|
|
|
|
|
|
|
;;
|
|
|
|
|
|
|
|
*)
|
|
|
|
*)
|
|
|
|
CHROMIUM_FLAGS+=" --use-gl=angle --use-angle=gl --disable-gpu-compositing"
|
|
|
|
CHROMIUM_FLAGS+=" --use-gl=angle --use-angle=gl --disable-gpu-compositing"
|
|
|
|
FEATURES+="VaapiVideoEncoder,VaapiVideoDecodeLinuxGL"
|
|
|
|
FEATURES+="VaapiVideoEncoder,VaapiVideoDecodeLinuxGL"
|
|
|
|