make --use-gl=egl default for x11/wayland
This commit is contained in:
parent
ab76257ed3
commit
fb9b6a995e
@ -1,8 +1,5 @@
|
|||||||
# system wide chromium flags
|
# system wide chromium flags
|
||||||
CHROMIUM_FLAGS=""
|
CHROMIUM_FLAGS=""
|
||||||
CHROMIUM_FLAGS+=" --disable-features=AudioServiceSandbox,UseChromeOSDirectVideoDecoder,AllowQt"
|
CHROMIUM_FLAGS+=" --disable-features=AudioServiceSandbox,UseChromeOSDirectVideoDecoder"
|
||||||
CHROMIUM_FLAGS+=" --enable-features=VaapiVideoDecoder,VaapiVideoEncoder"
|
CHROMIUM_FLAGS+=" --enable-features=VaapiVideoDecoder,VaapiVideoEncoder"
|
||||||
|
CHROMIUM_FLAGS+=" --use-gl=egl"
|
||||||
if [ "$XDG_SESSION_TYPE" == "wayland" ] || [[ $WAYLAND_DISPLAY ]] ; then
|
|
||||||
CHROMIUM_FLAGS+=" --use-gl=egl"
|
|
||||||
fi
|
|
||||||
|
@ -21,7 +21,7 @@
|
|||||||
|
|
||||||
# This flag is so I can build things very fast on a giant system.
|
# This flag is so I can build things very fast on a giant system.
|
||||||
# Enabling this in koji causes aarch64 builds to timeout indefinitely.
|
# Enabling this in koji causes aarch64 builds to timeout indefinitely.
|
||||||
%global use_all_cpus 1
|
%global use_all_cpus 0
|
||||||
|
|
||||||
%if %{use_all_cpus}
|
%if %{use_all_cpus}
|
||||||
%global numjobs %{_smp_build_ncpus}
|
%global numjobs %{_smp_build_ncpus}
|
||||||
@ -38,7 +38,7 @@
|
|||||||
# %2 what
|
# %2 what
|
||||||
%global build_target() \
|
%global build_target() \
|
||||||
export NINJA_STATUS="[%2:%f/%t] " ; \
|
export NINJA_STATUS="[%2:%f/%t] " ; \
|
||||||
ninja -j %{numjobs} -l %{numjobs} -C '%1' '%2' %limit_build -m 3072
|
ninja -j %{numjobs} -C '%1' '%2'
|
||||||
|
|
||||||
# enable|disable headless client build
|
# enable|disable headless client build
|
||||||
%global build_headless 1
|
%global build_headless 1
|
||||||
@ -1659,7 +1659,8 @@ getent group chrome-remote-desktop >/dev/null || groupadd -r chrome-remote-deskt
|
|||||||
%{chromium_path}/chromedriver
|
%{chromium_path}/chromedriver
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Sat Apr 22 2023 Than Ngo <than@redhat.com> - 112.0.5615.165-2
|
* Sun Apr 23 2023 Than Ngo <than@redhat.com> - 112.0.5615.165-2
|
||||||
|
- make --use-gl=egl default for x11/wayland
|
||||||
- enable WebUIDarkMode
|
- enable WebUIDarkMode
|
||||||
|
|
||||||
* Thu Apr 20 2023 Than Ngo <than@redhat.com> - 112.0.5615.165-1
|
* Thu Apr 20 2023 Than Ngo <than@redhat.com> - 112.0.5615.165-1
|
||||||
|
Loading…
Reference in New Issue
Block a user