From 5f361f271a1d6dbb23ae77f1496433b4317d2d24 Mon Sep 17 00:00:00 2001
From: Baplar
Date: Sun, 13 Apr 2025 22:27:21 +0200
Subject: [PATCH] Client-side post-processing - OpenXR native post-processing
---
client/application.cpp | 7 ++
client/application.h | 7 ++
client/configuration.cpp | 24 ++++
client/configuration.h | 9 ++
client/scenes/lobby_gui.cpp | 82 +++++++++++++-
client/scenes/stream.cpp | 11 ++
locale/fr/wivrn-dashboard.po | 26 ++---
locale/fr/wivrn.po | 211 +++++++++++++++++++++++++----------
8 files changed, 304 insertions(+), 73 deletions(-)
diff --git a/client/application.cpp b/client/application.cpp
index a80f4e9e..060777b3 100644
--- a/client/application.cpp
+++ b/client/application.cpp
@@ -1044,6 +1044,7 @@ void application::initialize()
opt_extensions.push_back(XR_FB_COMPOSITION_LAYER_DEPTH_TEST_EXTENSION_NAME);
opt_extensions.push_back(XR_KHR_COMPOSITION_LAYER_COLOR_SCALE_BIAS_EXTENSION_NAME);
opt_extensions.push_back(XR_KHR_VISIBILITY_MASK_EXTENSION_NAME);
+ opt_extensions.push_back(XR_FB_COMPOSITION_LAYER_SETTINGS_EXTENSION_NAME);
for (const auto & i: interaction_profiles)
{
@@ -1120,6 +1121,12 @@ void application::initialize()
htc_face_tracking_lip_supported = htc_face_properties.supportLipFacialTracking;
}
+ if (utils::contains(xr_extensions, XR_FB_COMPOSITION_LAYER_SETTINGS_EXTENSION_NAME))
+ {
+ spdlog::info(" OpenXR post-processing extension support: true");
+ openxr_post_processing_supported = true;
+ }
+
switch (xr_system_id.passthrough_supported())
{
case xr::system::passthrough_type::no_passthrough:
diff --git a/client/application.h b/client/application.h
index 020a6d17..2a5e44d0 100644
--- a/client/application.h
+++ b/client/application.h
@@ -135,6 +135,8 @@ class application : public singleton
bool eye_gaze_supported = false;
+ bool openxr_post_processing_supported = false;
+
bool session_running = false;
bool session_focused = false;
bool session_visible = false;
@@ -439,6 +441,11 @@ public:
return instance().eye_gaze_supported;
}
+ static bool get_openxr_post_processing_supported()
+ {
+ return instance().openxr_post_processing_supported;
+ }
+
static xr::hand_tracker & get_left_hand()
{
return instance().left_hand;
diff --git a/client/configuration.cpp b/client/configuration.cpp
index bbfe0839..0be20d8a 100644
--- a/client/configuration.cpp
+++ b/client/configuration.cpp
@@ -189,6 +189,9 @@ configuration::configuration(xr::system & system)
if (auto val = root["sgsr"]; val.is_object())
parse_sgsr_options(val.get_object());
+ if (auto val = root["openxr_post_processing"]; val.is_object())
+ parse_openxr_post_processing_options(val.get_object());
+
if (auto val = root["passthrough_enabled"]; val.is_bool())
passthrough_enabled = val.get_bool();
@@ -217,6 +220,7 @@ configuration::configuration(xr::system & system)
minimum_refresh_rate.reset();
resolution_scale = 1.4;
sgsr = {};
+ openxr_post_processing = {};
show_performance_metrics = false;
passthrough_enabled = system.passthrough_supported() == xr::system::passthrough_type::color;
}
@@ -241,6 +245,16 @@ void configuration::parse_sgsr_options(simdjson::simdjson_result openxr_post_processing_root)
+{
+ openxr_post_processing = {};
+ if (auto val = openxr_post_processing_root["super_sampling"]; val.is_int64())
+ openxr_post_processing.super_sampling = val.get_int64();
+
+ if (auto val = openxr_post_processing_root["sharpening"]; val.is_int64())
+ openxr_post_processing.sharpening = val.get_int64();
+}
+
static std::ostream & operator<<(std::ostream & stream, feature f)
{
return stream << "\"" << magic_enum::enum_name(f) << "\"";
@@ -257,6 +271,14 @@ static std::ostream & write_sgsr(std::ofstream & stream, const configuration::sg
return stream;
}
+static std::ostream & write_openxr_post_processing(std::ofstream & stream, const configuration::openxr_post_processing_settings & openxr_post_processing)
+{
+ stream << "{\"super_sampling\":" << openxr_post_processing.super_sampling;
+ stream << ",\"sharpening\":" << openxr_post_processing.sharpening;
+ stream << "}";
+ return stream;
+}
+
void configuration::save()
{
std::lock_guard lock(mutex);
@@ -294,6 +316,8 @@ void configuration::save()
json << ",\"resolution_scale\":" << resolution_scale;
json << ",\"sgsr\":";
write_sgsr(json, sgsr);
+ json << ",\"openxr_post_processing\":";
+ write_openxr_post_processing(json, openxr_post_processing);
json << ",\"passthrough_enabled\":" << std::boolalpha << passthrough_enabled;
json << ",\"mic_unprocessed_audio\":" << std::boolalpha << mic_unprocessed_audio;
for (auto & [key, value]: features)
diff --git a/client/configuration.h b/client/configuration.h
index 03a61808..e261a87c 100644
--- a/client/configuration.h
+++ b/client/configuration.h
@@ -65,6 +65,14 @@ public:
};
sgsr_settings sgsr{};
+ // XR_FB_composition_layer_settings extension flags
+ struct openxr_post_processing_settings
+ {
+ XrCompositionLayerSettingsFlagsFB super_sampling = 0;
+ XrCompositionLayerSettingsFlagsFB sharpening = 0;
+ };
+ openxr_post_processing_settings openxr_post_processing{};
+
std::string virtual_keyboard_layout = "QWERTY";
bool check_feature(feature f) const;
@@ -75,6 +83,7 @@ private:
std::map features;
void parse_sgsr_options(simdjson::simdjson_result root);
+ void parse_openxr_post_processing_options(simdjson::simdjson_result root);
public:
configuration(xr::system &);
diff --git a/client/scenes/lobby_gui.cpp b/client/scenes/lobby_gui.cpp
index 647326f8..359793e1 100644
--- a/client/scenes/lobby_gui.cpp
+++ b/client/scenes/lobby_gui.cpp
@@ -122,6 +122,21 @@ static void display_recentering_tip(imgui_context & ctx, const std::string & tip
ImGui::PopFont();
}
+std::string openxr_post_processing_flag_name(XrCompositionLayerSettingsFlagsFB flag)
+{
+ switch (flag)
+ {
+ case XR_COMPOSITION_LAYER_SETTINGS_NORMAL_SUPER_SAMPLING_BIT_FB:
+ case XR_COMPOSITION_LAYER_SETTINGS_NORMAL_SHARPENING_BIT_FB:
+ return _cS("openxr_post_processing", "Normal");
+ case XR_COMPOSITION_LAYER_SETTINGS_QUALITY_SUPER_SAMPLING_BIT_FB:
+ case XR_COMPOSITION_LAYER_SETTINGS_QUALITY_SHARPENING_BIT_FB:
+ return _cS("openxr_post_processing", "Quality");
+ default:
+ return _cS("openxr_post_processing", "Disabled");
+ }
+}
+
void scenes::lobby::tooltip(std::string_view text)
{
// FIXME: this is incorrect if we use the docking branch of imgui
@@ -805,6 +820,63 @@ void scenes::lobby::gui_post_processing()
ImGui::PushStyleVar(ImGuiStyleVar_ItemSpacing, ImVec2(20, 20));
+ if (application::get_openxr_post_processing_supported())
+ {
+ ImGui::Text("%s", _S("OpenXR post-processing"));
+ ImGui::Indent();
+ {
+ XrCompositionLayerSettingsFlagsFB current = config.openxr_post_processing.super_sampling;
+ if (ImGui::BeginCombo(_S("Supersampling"), openxr_post_processing_flag_name(current).c_str()))
+ {
+ const XrCompositionLayerSettingsFlagsFB selectable_options[]{
+ 0,
+ XR_COMPOSITION_LAYER_SETTINGS_NORMAL_SUPER_SAMPLING_BIT_FB,
+ XR_COMPOSITION_LAYER_SETTINGS_QUALITY_SUPER_SAMPLING_BIT_FB};
+ for (XrCompositionLayerSettingsFlagsFB option: selectable_options)
+ {
+ if (ImGui::Selectable(openxr_post_processing_flag_name(option).c_str(), current == option, ImGuiSelectableFlags_SelectOnRelease))
+ {
+ config.openxr_post_processing.super_sampling = option;
+ config.save();
+ }
+ vibrate_on_hover();
+ }
+ ImGui::EndCombo();
+ }
+ vibrate_on_hover();
+ if (ImGui::IsItemHovered())
+ {
+ tooltip(_("Reduce flicker for high contrast edges.\nUseful when the input resolution is high compared to the headset display"));
+ }
+ }
+ {
+ XrCompositionLayerSettingsFlagsFB current = config.openxr_post_processing.sharpening;
+ if (ImGui::BeginCombo(_S("Sharpening"), openxr_post_processing_flag_name(current).c_str()))
+ {
+ const XrCompositionLayerSettingsFlagsFB selectable_options[]{
+ 0,
+ XR_COMPOSITION_LAYER_SETTINGS_NORMAL_SHARPENING_BIT_FB,
+ XR_COMPOSITION_LAYER_SETTINGS_QUALITY_SHARPENING_BIT_FB};
+ for (XrCompositionLayerSettingsFlagsFB option: selectable_options)
+ {
+ if (ImGui::Selectable(openxr_post_processing_flag_name(option).c_str(), current == option, ImGuiSelectableFlags_SelectOnRelease))
+ {
+ config.openxr_post_processing.sharpening = option;
+ config.save();
+ }
+ vibrate_on_hover();
+ }
+ ImGui::EndCombo();
+ }
+ vibrate_on_hover();
+ if (ImGui::IsItemHovered())
+ {
+ tooltip(_("Improve clarity of high contrast edges and counteract blur.\nUseful when the input resolution is low compared to the headset display"));
+ }
+ }
+ ImGui::Unindent();
+ }
+
{
// SGSR
{
@@ -815,7 +887,15 @@ void scenes::lobby::gui_post_processing()
vibrate_on_hover();
if (ImGui::IsItemHovered())
{
- tooltip(_("Client-side upscaling and sharpening, adds a performance cost on the headset"));
+ if (application::get_openxr_post_processing_supported())
+ tooltip(_("On this headset, this setting has been fully superseded by the native Sharpening setting above.\nOnly enable if you know what you’re doing."));
+ else
+ tooltip(_("Client-side upscaling and sharpening, adds a performance cost on the headset"));
+ }
+ if (application::get_openxr_post_processing_supported())
+ {
+ ImGui::SameLine();
+ ImGui::TextColored(ImColor(0xf9, 0x73, 0x06) /*orange*/, ICON_FA_TRIANGLE_EXCLAMATION);
}
}
diff --git a/client/scenes/stream.cpp b/client/scenes/stream.cpp
index 66906355..6c49de63 100644
--- a/client/scenes/stream.cpp
+++ b/client/scenes/stream.cpp
@@ -924,6 +924,17 @@ void scenes::stream::render(const XrFrameState & frame_state)
.views = layer_view.data(),
};
+ XrCompositionLayerSettingsFB settings;
+ const configuration::openxr_post_processing_settings openxr_post_processing = application::get_config().openxr_post_processing;
+ if ((openxr_post_processing.sharpening | openxr_post_processing.super_sampling) > 0)
+ {
+ settings = {
+ .type = XR_TYPE_COMPOSITION_LAYER_SETTINGS_FB,
+ .layerFlags = openxr_post_processing.sharpening | openxr_post_processing.super_sampling,
+ };
+ layer.next = &settings;
+ }
+
std::vector imgui_layers;
if (imgui_ctx)
{
diff --git a/locale/fr/wivrn-dashboard.po b/locale/fr/wivrn-dashboard.po
index 356368a0..63ec2ef5 100644
--- a/locale/fr/wivrn-dashboard.po
+++ b/locale/fr/wivrn-dashboard.po
@@ -2,7 +2,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WiVRn-dashboard\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2025-03-14 16:29+0100\n"
+"POT-Creation-Date: 2025-03-25 21:15+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: Guillaume Meunier \n"
"Language: French\n"
@@ -11,47 +11,47 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
-#: dashboard/apk_installer.cpp:175
+#: dashboard/apk_installer.cpp:167
#, kde-format
msgid "Downloading APK: %1 MB / %2 MB"
msgstr "Téléchargement de l'APK : %1 MB / %2 MB"
-#: dashboard/apk_installer.cpp:177
+#: dashboard/apk_installer.cpp:169
#, kde-format
msgid "Downloading APK: %1 MB"
msgstr "Téléchargement de l'APK : %1 MB"
-#: dashboard/apk_installer.cpp:186
+#: dashboard/apk_installer.cpp:178
#, kde-format
msgid "Download cancelled"
msgstr "Téléchargement annulé"
-#: dashboard/apk_installer.cpp:202
+#: dashboard/apk_installer.cpp:194
#, kde-format
msgid "Cannot download APK: %1"
msgstr "Impossible de télécharger l'APK : %1"
-#: dashboard/apk_installer.cpp:225
+#: dashboard/apk_installer.cpp:217
#, kde-format
msgid "Installing APK"
msgstr "Installation de l'APK"
-#: dashboard/apk_installer.cpp:229
+#: dashboard/apk_installer.cpp:221
#, kde-format
msgid "adb failed to start: %1"
msgstr "adb n'a pas pu démarrer : %1"
-#: dashboard/apk_installer.cpp:239
+#: dashboard/apk_installer.cpp:231
#, kde-format
msgid "adb exited abnormally: %1"
msgstr "adb a quitté de façon anormale : %1"
-#: dashboard/apk_installer.cpp:247
+#: dashboard/apk_installer.cpp:239
#, kde-format
msgid "The 'adb install' command failed: exit code %1"
msgstr "La commande 'adb install' a échoué : code de retour %1"
-#: dashboard/apk_installer.cpp:252
+#: dashboard/apk_installer.cpp:244
#, kde-format
msgid "Installation successful"
msgstr "Installation réussie"
@@ -592,9 +592,9 @@ msgid ""
"
- The headset app version is in the \"About\" page
- The "
"server version is %1
"
msgstr ""
-"La version de l'application sur le casque et le serveur doivent correspondre."
-"
- La version de l'application sur le casque est dans la page « À propos »"
-"
- La version du serveur est %1
"
+"La version de l'application sur le casque et le serveur doivent "
+"correspondre.
- La version de l'application sur le casque est dans "
+"la page « À propos »
- La version du serveur est %1
"
#: dashboard/qml/TroubleshootPage.qml:32
#, kde-format
diff --git a/locale/fr/wivrn.po b/locale/fr/wivrn.po
index 9346d379..670f855e 100644
--- a/locale/fr/wivrn.po
+++ b/locale/fr/wivrn.po
@@ -2,7 +2,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WiVRn 0.15\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2025-04-09 23:49+0200\n"
+"POT-Creation-Date: 2025-04-13 16:50+0200\n"
"PO-Revision-Date: 2024-05-20 13:00+0200\n"
"Last-Translator: Guillaume Meunier \n"
"Language: French\n"
@@ -38,15 +38,30 @@ msgstr "Impossible de se connecter à {} ({}): {}"
msgid "Waiting for connection"
msgstr "Attente de connexion"
-#: client/scenes/lobby_gui.cpp:174 client/scenes/lobby_gui.cpp:367
+#: client/scenes/lobby_gui.cpp:131
+msgctxt "openxr_post_processing"
+msgid "Normal"
+msgstr "Normal"
+
+#: client/scenes/lobby_gui.cpp:134
+msgctxt "openxr_post_processing"
+msgid "Quality"
+msgstr "Qualité"
+
+#: client/scenes/lobby_gui.cpp:136
+msgctxt "openxr_post_processing"
+msgid "Disabled"
+msgstr "Désactivé"
+
+#: client/scenes/lobby_gui.cpp:197 client/scenes/lobby_gui.cpp:390
msgid "Cancel"
msgstr "Annuler"
-#: client/scenes/lobby_gui.cpp:180
+#: client/scenes/lobby_gui.cpp:203
msgid "Video stream interrupted"
msgstr "Flux vidéo interrompu"
-#: client/scenes/lobby_gui.cpp:182
+#: client/scenes/lobby_gui.cpp:205
msgid ""
"Connection ready\n"
"Start a VR application on your computer"
@@ -54,7 +69,7 @@ msgstr ""
"Connexion prête\n"
"Démarrez une application VR sur l'ordinateur"
-#: client/scenes/lobby_gui.cpp:184
+#: client/scenes/lobby_gui.cpp:207
#, c++-format
msgid ""
"Connection ready\n"
@@ -63,48 +78,48 @@ msgstr ""
"Connexion prête\n"
"Démarrez une application VR sur {}"
-#: client/scenes/lobby_gui.cpp:197
+#: client/scenes/lobby_gui.cpp:220
msgid "Close"
msgstr "Fermer"
-#: client/scenes/lobby_gui.cpp:203
+#: client/scenes/lobby_gui.cpp:226
msgid "Connection"
msgstr "Connexion en cours"
-#: client/scenes/lobby_gui.cpp:205
+#: client/scenes/lobby_gui.cpp:228
#, c++-format
msgid "Connection to {}"
msgstr "Connexion à {}"
-#: client/scenes/lobby_gui.cpp:235
+#: client/scenes/lobby_gui.cpp:258
msgid "PIN"
msgstr "Code PIN"
-#: client/scenes/lobby_gui.cpp:257
+#: client/scenes/lobby_gui.cpp:280
msgid "Input the PIN displayed on the dashboard"
msgstr "Entrez le code PIN affiché sur le tableau de bord"
-#: client/scenes/lobby_gui.cpp:332
+#: client/scenes/lobby_gui.cpp:355
msgid "Name"
msgstr "Nom"
-#: client/scenes/lobby_gui.cpp:343
+#: client/scenes/lobby_gui.cpp:366
msgid "Address"
msgstr "Adresse"
-#: client/scenes/lobby_gui.cpp:352
+#: client/scenes/lobby_gui.cpp:375
msgid "Port"
msgstr "Port"
-#: client/scenes/lobby_gui.cpp:360
+#: client/scenes/lobby_gui.cpp:383
msgid "TCP only"
msgstr "TCP seulement"
-#: client/scenes/lobby_gui.cpp:381
+#: client/scenes/lobby_gui.cpp:404
msgid "Save"
msgstr "Enregistrer"
-#: client/scenes/lobby_gui.cpp:434
+#: client/scenes/lobby_gui.cpp:457
msgid ""
"Start a WiVRn server on your\n"
"local network"
@@ -112,32 +127,32 @@ msgstr ""
"Démarrez un serveur WiVRn sur\n"
"le réseau local"
-#: client/scenes/lobby_gui.cpp:466
+#: client/scenes/lobby_gui.cpp:489
msgid "Autoconnect"
msgstr "Autoconnexion"
-#: client/scenes/lobby_gui.cpp:492
+#: client/scenes/lobby_gui.cpp:515
msgid "Connect"
msgstr "Connexion"
-#: client/scenes/lobby_gui.cpp:502
+#: client/scenes/lobby_gui.cpp:525
msgid "Incompatible server version"
msgstr "Version du serveur incompatible"
-#: client/scenes/lobby_gui.cpp:504
+#: client/scenes/lobby_gui.cpp:527
msgid "Server not available"
msgstr "Serveur non disponible"
-#: client/scenes/lobby_gui.cpp:590
+#: client/scenes/lobby_gui.cpp:613
msgid "Refresh rate"
msgstr "Taux de rafraichissement"
-#: client/scenes/lobby_gui.cpp:590 client/scenes/lobby_gui.cpp:592
+#: client/scenes/lobby_gui.cpp:613 client/scenes/lobby_gui.cpp:615
msgctxt "automatic refresh rate"
msgid "Automatic"
msgstr "Automatique"
-#: client/scenes/lobby_gui.cpp:599
+#: client/scenes/lobby_gui.cpp:622
msgid ""
"Select refresh rate based on measured application performance.\n"
"May cause flicker when a change happens."
@@ -146,144 +161,222 @@ msgstr ""
"des performances mesurées.\n"
"Peut causer des clignotements lors du changement de fréquence."
-#: client/scenes/lobby_gui.cpp:616
+#: client/scenes/lobby_gui.cpp:639
msgid "Minimum refresh rate"
msgstr "Taux minimal"
-#: client/scenes/lobby_gui.cpp:638
+#: client/scenes/lobby_gui.cpp:662
msgid "Resolution scale"
msgstr "Échelle"
-#: client/scenes/lobby_gui.cpp:638
+#: client/scenes/lobby_gui.cpp:666 client/scenes/lobby_gui.cpp:915
#, c-format, c++-format
msgid "%d%% - {}x{} per eye"
msgstr "%d%% - {}x{} par œil"
-#: client/scenes/lobby_gui.cpp:648
+#: client/scenes/lobby_gui.cpp:677 client/scenes/lobby_gui.cpp:926
#, c++-format
msgid "Resolution larger than {}x{} may not be supported by the headset"
msgstr "Les résolutions plus grandes que {}x{} pourraient ne pas fonctionner"
-#: client/scenes/lobby_gui.cpp:654
+#: client/scenes/lobby_gui.cpp:683
msgid "Enable microphone"
msgstr "Activer le micro"
-#: client/scenes/lobby_gui.cpp:664
+#: client/scenes/lobby_gui.cpp:693
msgid "Unprocessed Microphone Audio"
msgstr "Utiliser les données brutes du micro"
-#: client/scenes/lobby_gui.cpp:670
+#: client/scenes/lobby_gui.cpp:699
msgid "Force disable audio filters, such as noise cancellation"
msgstr "Désactive les traitements tels que la suppression du bruit"
-#: client/scenes/lobby_gui.cpp:677
+#: client/scenes/lobby_gui.cpp:706
msgid "Enable hand tracking"
msgstr "Activer le suivi des mains"
-#: client/scenes/lobby_gui.cpp:684 client/scenes/lobby_gui.cpp:697
-#: client/scenes/lobby_gui.cpp:710 client/scenes/lobby_gui.cpp:722
+#: client/scenes/lobby_gui.cpp:713 client/scenes/lobby_gui.cpp:726
+#: client/scenes/lobby_gui.cpp:739 client/scenes/lobby_gui.cpp:751
msgid "This feature is not supported by your headset"
msgstr "Cette fonctionnalité n'est pas supportée par le casque"
-#: client/scenes/lobby_gui.cpp:690
+#: client/scenes/lobby_gui.cpp:719
msgid "Enable eye tracking"
msgstr "Activer le suivi des yeux"
-#: client/scenes/lobby_gui.cpp:703
+#: client/scenes/lobby_gui.cpp:732
msgid "Enable face tracking"
msgstr "Activer le suivi du visage"
-#: client/scenes/lobby_gui.cpp:715
+#: client/scenes/lobby_gui.cpp:744
msgid "Enable video passthrough in lobby"
msgstr "Activer la vue réelle dans l'accueil"
-#: client/scenes/lobby_gui.cpp:725
+#: client/scenes/lobby_gui.cpp:754
msgid "Show performance metrics"
msgstr "Afficher les métriques de performances"
-#: client/scenes/lobby_gui.cpp:729
+#: client/scenes/lobby_gui.cpp:758
msgid "Overlay can be toggled by pressing both thumbsticks"
msgstr "L'affichage peut être basculé en appuyant sur les deux joysticks"
-#: client/scenes/lobby_gui.cpp:759 client/scenes/lobby_gui.cpp:767
+#: client/scenes/lobby_gui.cpp:788 client/scenes/lobby_gui.cpp:796
#: client/scenes/stream_stats.cpp:159
msgid "CPU time"
msgstr "Temps CPU"
-#: client/scenes/lobby_gui.cpp:763
+#: client/scenes/lobby_gui.cpp:792
msgid "CPU time [ms]"
msgstr "Temps CPU [ms]"
-#: client/scenes/lobby_gui.cpp:773 client/scenes/lobby_gui.cpp:781
+#: client/scenes/lobby_gui.cpp:802 client/scenes/lobby_gui.cpp:810
#: client/scenes/stream_stats.cpp:161
msgid "GPU time"
msgstr "Temps GPU"
-#: client/scenes/lobby_gui.cpp:777
+#: client/scenes/lobby_gui.cpp:806
msgid "GPU time [ms]"
msgstr "Temps GPU [ms]"
-#: client/scenes/lobby_gui.cpp:867 client/scenes/lobby_gui.cpp:1506
+#: client/scenes/lobby_gui.cpp:825
+msgid "OpenXR post-processing"
+msgstr "Post-traitement OpenXR"
+
+#: client/scenes/lobby_gui.cpp:829
+msgid "Supersampling"
+msgstr "Suréchantillonnage"
+
+#: client/scenes/lobby_gui.cpp:849
+msgid ""
+"Reduce flicker for high contrast edges.\n"
+"Useful when the input resolution is high compared to the headset display"
+msgstr ""
+"Réduit le scintillement des contours à haut contraste.\n"
+"Utile quand la résolution d’entrée est haute comparée à l’écran du casque"
+
+#: client/scenes/lobby_gui.cpp:854
+msgid "Sharpening"
+msgstr "Affinage de netteté"
+
+#: client/scenes/lobby_gui.cpp:874
+msgid ""
+"Improve clarity of high contrast edges and counteract blur.\n"
+"Useful when the input resolution is low compared to the headset display"
+msgstr ""
+"Améliore la clarté des contours à haut contraste et réduit le flou.\n"
+"Utile quand la résolution d’entrée est basse comparée à l’écran du casque"
+
+#: client/scenes/lobby_gui.cpp:883
+msgid "Enable Snapdragon Game Super Resolution"
+msgstr "Activer Snapdragon Game Super Resolution"
+
+#: client/scenes/lobby_gui.cpp:891
+msgid ""
+"On this headset, this setting has been fully superseded by the native "
+"Sharpening setting above.\n"
+"Only enable if you know what you’re doing."
+msgstr ""
+"Sur ce casque, ce paramètre a été supplanté par le réglage natif d’affinage "
+"de netteté ci-dessus.\n"
+"N’activer que si vous savez ce que vous faites."
+
+#: client/scenes/lobby_gui.cpp:893
+msgid ""
+"Client-side upscaling and sharpening, adds a performance cost on the headset"
+msgstr ""
+"Mise à l’échelle et affinage de netteté, ajoute un coût en performances pour "
+"le casque"
+
+#: client/scenes/lobby_gui.cpp:911
+msgid "Upscaling factor"
+msgstr "Échelle"
+
+#: client/scenes/lobby_gui.cpp:930
+msgid "Use edge direction"
+msgstr "Utiliser la direction de contours"
+
+#: client/scenes/lobby_gui.cpp:936
+msgid "Adds an additional performance cost"
+msgstr "Ajoute un coût additionnel en performances"
+
+#: client/scenes/lobby_gui.cpp:941
+msgid "Edge threshold"
+msgstr "Seuil de contour"
+
+#: client/scenes/lobby_gui.cpp:948 client/scenes/lobby_gui.cpp:957
+#, c++-format
+msgid "Recommended: {:.1f}"
+msgstr "Recommandé : {:.1f}"
+
+#: client/scenes/lobby_gui.cpp:951
+msgid "Edge sharpness"
+msgstr "Netteté de contour"
+
+#: client/scenes/lobby_gui.cpp:1045 client/scenes/lobby_gui.cpp:1691
msgid "Licenses"
msgstr "Licences"
-#: client/scenes/lobby_gui.cpp:1206
+#: client/scenes/lobby_gui.cpp:1384
msgid "Microphone is enabled"
msgstr "Le micro est activé"
-#: client/scenes/lobby_gui.cpp:1207
+#: client/scenes/lobby_gui.cpp:1385
msgid "Microphone is disabled"
msgstr "Le micro est désactivé"
-#: client/scenes/lobby_gui.cpp:1216
+#: client/scenes/lobby_gui.cpp:1394
msgid "Hand tracking is enabled"
msgstr "Le suivi des mains est activé"
-#: client/scenes/lobby_gui.cpp:1217
+#: client/scenes/lobby_gui.cpp:1395
msgid "Hand tracking is disabled"
msgstr "Le suivi des mains est désactivé"
-#: client/scenes/lobby_gui.cpp:1226
+#: client/scenes/lobby_gui.cpp:1404
msgid "Eye tracking is enabled"
msgstr "Le suivi des yeux est activé"
-#: client/scenes/lobby_gui.cpp:1227
+#: client/scenes/lobby_gui.cpp:1405
msgid "Eye tracking is disabled"
msgstr "Le suivi des yeux est désactivé"
-#: client/scenes/lobby_gui.cpp:1237 client/scenes/lobby_gui.cpp:1248
+#: client/scenes/lobby_gui.cpp:1415 client/scenes/lobby_gui.cpp:1426
msgid "Face tracking is enabled"
msgstr "Le suivi du visage est activé"
-#: client/scenes/lobby_gui.cpp:1238 client/scenes/lobby_gui.cpp:1249
+#: client/scenes/lobby_gui.cpp:1416 client/scenes/lobby_gui.cpp:1427
msgid "Face tracking is disabled"
msgstr "Le suivi du visage est désactivé"
-#: client/scenes/lobby_gui.cpp:1266
+#: client/scenes/lobby_gui.cpp:1444
msgid "Add server"
msgstr "Ajouter un serveur"
-#: client/scenes/lobby_gui.cpp:1491
+#: client/scenes/lobby_gui.cpp:1673
msgid "Server list"
msgstr "Serveurs"
-#: client/scenes/lobby_gui.cpp:1494
+#: client/scenes/lobby_gui.cpp:1676
msgid "Settings"
msgstr "Paramètres"
-#: client/scenes/lobby_gui.cpp:1498
+#: client/scenes/lobby_gui.cpp:1679
+msgid "Post-processing"
+msgstr "Post-traitement"
+
+#: client/scenes/lobby_gui.cpp:1683
msgid "Debug"
msgstr "Debug"
-#: client/scenes/lobby_gui.cpp:1503
+#: client/scenes/lobby_gui.cpp:1688
msgid "About"
msgstr "À propos"
-#: client/scenes/lobby_gui.cpp:1509
+#: client/scenes/lobby_gui.cpp:1694
msgid "Exit"
msgstr "Quitter"
-#: client/scenes/lobby_gui.cpp:1523
+#: client/scenes/lobby_gui.cpp:1708
msgid ""
"Press A or X or put your palm up\n"
"to move the main window"
@@ -291,7 +384,7 @@ msgstr ""
"Appuyez sur A ou X ou placez votre paume\n"
"vers le haut pour déplacer la fenêtre principale"
-#: client/scenes/lobby_gui.cpp:1525
+#: client/scenes/lobby_gui.cpp:1710
msgid "Press A or X to move the main window"
msgstr ""
"Appuyez sur A ou X pour\n"