diff options
author | Georges Basile Stavracas Neto <georges.stavracas@gmail.com> | 2022-02-09 13:58:50 -0300 |
---|---|---|
committer | Ondrej Holy <oholy@redhat.com> | 2022-02-10 07:49:44 +0000 |
commit | a5d25f37d6499628e0669e8441e0e7d654a6ab69 (patch) | |
tree | fde520524933059b07d665ada9b6b412075a7ee3 /build-aux | |
parent | 9cbe348cdfbd70d3926ad17fa613e0ed9bf8e2b5 (diff) | |
download | nautilus-a5d25f37d6499628e0669e8441e0e7d654a6ab69.tar.gz |
flatpak: Allow accessing the GPU
By giving the --device=dri permission, Nautilus can access
the GPU. This wasn't a big deal with GTK3, but on GTK4 that
enabled hardware-accelerated rendering via OpenGL, and it
makes a noticeable difference in terms of CPU usage and
perceived performance.
Diffstat (limited to 'build-aux')
-rw-r--r-- | build-aux/flatpak/org.gnome.Nautilus.json | 1 | ||||
-rw-r--r-- | build-aux/flatpak/org.gnome.Nautilus.yml | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/build-aux/flatpak/org.gnome.Nautilus.json b/build-aux/flatpak/org.gnome.Nautilus.json index a35d17303..91d05dab7 100644 --- a/build-aux/flatpak/org.gnome.Nautilus.json +++ b/build-aux/flatpak/org.gnome.Nautilus.json @@ -10,6 +10,7 @@ "nightly" ], "finish-args": [ + "--device=dri", "--share=ipc", "--socket=x11", "--socket=wayland", diff --git a/build-aux/flatpak/org.gnome.Nautilus.yml b/build-aux/flatpak/org.gnome.Nautilus.yml index a0dc3ff11..d4117d3bc 100644 --- a/build-aux/flatpak/org.gnome.Nautilus.yml +++ b/build-aux/flatpak/org.gnome.Nautilus.yml @@ -9,6 +9,7 @@ tags: - development - nightly finish-args: +- "--device=dri" - "--share=ipc" - "--socket=x11" - "--socket=wayland" |