[nautilus/gbsneto/dri: 21/21] flatpak: Allow accessing the GPU
- From: Ondrej Holy <oholy src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus/gbsneto/dri: 21/21] flatpak: Allow accessing the GPU
- Date: Thu, 10 Feb 2022 07:49:46 +0000 (UTC)
commit a5d25f37d6499628e0669e8441e0e7d654a6ab69
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date: Wed Feb 9 13:58:50 2022 -0300
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.
build-aux/flatpak/org.gnome.Nautilus.json | 1 +
build-aux/flatpak/org.gnome.Nautilus.yml | 1 +
2 files changed, 2 insertions(+)
---
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"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]