Merge remote-tracking branch 'upstream/master'

This commit is contained in:
Vindicus999
2025-06-24 17:15:31 +00:00
4 changed files with 335 additions and 225 deletions
+135 -91
View File
@@ -2,20 +2,22 @@
# This file is distributed under the same license as the WiVRn-dashboard package.
#
# SPDX-FileCopyrightText: 2025 Claudio Sampaio (Patola)
# LuckShiba <LuckShiba@protonmail.com>, 2025.
#
msgid ""
msgstr ""
"Project-Id-Version: WiVRn-dashboard\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2025-04-29 19:40+0200\n"
"PO-Revision-Date: 2025-05-05 21:15+0200\n"
"Last-Translator: Claudio Sampaio (Patola) <patola@gmail.com>\n"
"Language-Team: Portuguese <>\n"
"POT-Creation-Date: 2025-06-20 19:23-0300\n"
"PO-Revision-Date: 2025-06-21 21:55-0300\n"
"Last-Translator: LuckShiba <LuckShiba@protonmail.com>\n"
"Language-Team: Brazilian Portuguese\n"
"Language: pt_BR\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
"X-Generator: Lokalize 25.04.0\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"X-Generator: Gtranslator 48.0\n"
#: dashboard/apk_installer.cpp:167
#, kde-format
@@ -35,7 +37,7 @@ msgstr "Download cancelado"
#: dashboard/apk_installer.cpp:194
#, kde-format
msgid "Cannot download APK: %1"
msgstr "Incapaz de baixar o APK: %1"
msgstr "Não é possível baixar o APK: %1"
#: dashboard/apk_installer.cpp:217
#, kde-format
@@ -45,7 +47,7 @@ msgstr "Instalando APK"
#: dashboard/apk_installer.cpp:221
#, kde-format
msgid "adb failed to start: %1"
msgstr "adb incapaz de iniciar: %1"
msgstr "O adb não conseguiu iniciar: %1"
#: dashboard/apk_installer.cpp:231
#, kde-format
@@ -60,7 +62,7 @@ msgstr "O comando 'adb install' falhou: código de saída %1"
#: dashboard/apk_installer.cpp:244
#, kde-format
msgid "Installation successful"
msgstr "Instalação com sucesso"
msgstr "Instalação bem-sucedida"
#: dashboard/main.cpp:27 dashboard/qml/Main.qml:12
#, kde-format
@@ -70,7 +72,7 @@ msgstr "Painel do WiVRn"
#: dashboard/qml/ApkInstallPage.qml:12 dashboard/qml/WizardPage.qml:137
#, kde-format
msgid "Install the WiVRn app on your headset"
msgstr "Instalar a aplicação WiVRn no seu headset"
msgstr "Instalar o aplicativo do WiVRn no seu headset"
#: dashboard/qml/ApkInstallPage.qml:41 dashboard/qml/WizardPage.qml:157
#: dashboard/qml/WizardPage.qml:192
@@ -106,8 +108,8 @@ msgstr ""
"docs/building.md#client-headset\">documentação</a> para construir seu "
"próprio cliente."
#: dashboard/qml/ApkInstallPage.qml:65 dashboard/qml/HeadsetStatsPage.qml:36
#: dashboard/qml/HeadsetsPage.qml:183 dashboard/qml/TroubleshootPage.qml:59
#: dashboard/qml/ApkInstallPage.qml:65 dashboard/qml/HeadsetsPage.qml:183
#: dashboard/qml/HeadsetStatsPage.qml:36 dashboard/qml/TroubleshootPage.qml:59
#, kde-format
msgctxt "go back to the home page"
msgid "Back"
@@ -133,11 +135,6 @@ msgstr "Reinstalar WiVRn"
msgid "Install WiVRn"
msgstr "Instalar WiVRn"
#: dashboard/qml/HeadsetStatsPage.qml:12
#, kde-format
msgid "Headset statistics"
msgstr "Estatísticas do headset"
#: dashboard/qml/HeadsetsPage.qml:12 dashboard/qml/Main.qml:342
#, kde-format
msgid "Headsets"
@@ -183,7 +180,7 @@ msgstr "Renomear"
#: dashboard/qml/HeadsetsPage.qml:55 dashboard/qml/WizardPage.qml:38
#: dashboard/qml/WizardPage.qml:88 dashboard/qml/WizardPage.qml:263
#: dashboard/qml/WizardPage.qml:312 dashboard/qml/WizardPage.qml:396
#: dashboard/qml/WizardPage.qml:326 dashboard/qml/WizardPage.qml:410
#, kde-format
msgid "Cancel"
msgstr "Cancelar"
@@ -201,34 +198,39 @@ msgstr "Remover"
#: dashboard/qml/HeadsetsPage.qml:143
#, kde-format
msgid "Pairing enabled, PIN: %1"
msgstr "Pareamento habilitado, PIN: %1"
msgstr "Pareamento ativado, PIN: %1"
#: dashboard/qml/HeadsetsPage.qml:148 dashboard/qml/TroubleshootPage.qml:42
#, kde-format
msgid "Disable pairing"
msgstr "Desabilitar pareamento"
msgstr "Desativar pareamento"
#: dashboard/qml/HeadsetsPage.qml:166
#, kde-format
msgid "Start the WiVRn app on your headset and use the PIN: %1"
msgstr "Inicie a aplicação WiVRn no seu headset e use o PIN: %1"
msgstr "Inicie o aplicativo do WiVRn no seu headset e use o PIN: %1"
#: dashboard/qml/HeadsetsPage.qml:166
#, kde-format
msgid "Enable pairing to allow your headset to connect to this computer"
msgstr ""
"Habilite pareamento para permitir ao seu headset conectar a esse computador"
"Ative o pareamento para permitir que seu headset conecte-se a esse computador"
#: dashboard/qml/HeadsetsPage.qml:171 dashboard/qml/TroubleshootPage.qml:37
#, kde-format
msgid "Enable pairing"
msgstr "Habilitar pareamento"
msgstr "Ativar pareamento"
#: dashboard/qml/HeadsetsPage.qml:191
#, kde-format
msgid "Pair a new headset"
msgstr "Parear um novo headset"
#: dashboard/qml/HeadsetStatsPage.qml:12
#, kde-format
msgid "Headset statistics"
msgstr "Estatísticas do headset"
#: dashboard/qml/Main.qml:103
#, kde-format
msgid "The server does not have CAP_SYS_NICE capabilities."
@@ -298,7 +300,7 @@ msgstr "Pareando"
msgid "PIN: %1"
msgstr "PIN: %1"
#: dashboard/qml/Main.qml:238 dashboard/qml/WizardPage.qml:359
#: dashboard/qml/Main.qml:238 dashboard/qml/WizardPage.qml:373
#, kde-format
msgid "Connect by USB"
msgstr "Conectar pela USB"
@@ -318,7 +320,7 @@ msgstr "Desconectar"
#, kde-format
msgctxt "automatically started application"
msgid "Application"
msgstr "Aplicação"
msgstr "Aplicativo"
#: dashboard/qml/Main.qml:295
#, kde-format
@@ -333,7 +335,7 @@ msgstr "Assistente"
#: dashboard/qml/Main.qml:320
#, kde-format
msgid "Install the app"
msgstr "Instalar a aplicação"
msgstr "Instalar o aplicativo"
#: dashboard/qml/Main.qml:349 dashboard/qml/SettingsPage.qml:14
#, kde-format
@@ -444,19 +446,19 @@ msgstr "Manual"
#, kde-format
msgctxt "encoder preset"
msgid "Default preset"
msgstr "Pré-ajuste default"
msgstr "Predefinição padrão"
#: dashboard/qml/SettingsPage.qml:145
#, kde-format
msgctxt "encoder preset"
msgid "Low latency preset"
msgstr "Pré-ajuste de baixa latência"
msgstr "Predefinição de baixa latência"
#: dashboard/qml/SettingsPage.qml:170
#, kde-format
msgctxt "encoder preset"
msgid "Safe preset"
msgstr "Pré-ajuste seguro"
msgstr "Predefinição segura"
#: dashboard/qml/SettingsPage.qml:193
#, kde-format
@@ -530,54 +532,72 @@ msgstr "H.265"
msgid "AV1"
msgstr "AV1"
#: dashboard/qml/SettingsPage.qml:323
#: dashboard/qml/SettingsPage.qml:319
#, kde-format
msgid "Advanced options"
msgstr "Opções avançadas"
#: dashboard/qml/SettingsPage.qml:325
#, kde-format
msgid "Enable debug window"
msgstr "Ativar janela de depuração"
#: dashboard/qml/SettingsPage.qml:332
#, kde-format
msgid "Enable SteamVR tracked devices support"
msgstr "Ativar suporte a dispositivos rastreados pelo SteamVR"
#: dashboard/qml/SettingsPage.qml:335
#, kde-format
msgid ""
"Allows the use of lighthouse-based controllers and trackers.\n"
"Requires SteamVR to be installed.\n"
"Devices must be be powered on before connecting to WiVRn.\n"
"An external tool such as motoc is needed for calibration."
msgstr ""
"Permite o uso de controladores e rastreadores baseados em Lighthouse.\n"
"Requer que o SteamVR esteja instalado.\n"
"Os dispositivos precisam estar ligados antes de se conectar ao WiVRn.\n"
"Uma ferramenta externa como o motoc é necessária para calibração."
#: dashboard/qml/SettingsPage.qml:343
#, kde-format
msgid "Custom adb location"
msgstr "Caminho personalizado do adb"
#: dashboard/qml/SettingsPage.qml:334
#: dashboard/qml/SettingsPage.qml:354
#, kde-format
msgid "Adb location:"
msgstr "Caminho do adb:"
#: dashboard/qml/SettingsPage.qml:343
#: dashboard/qml/SettingsPage.qml:363
#, kde-format
msgctxt "browse a file to choose the adb binary"
msgid "Browse"
msgstr "Navegar"
#: dashboard/qml/SettingsPage.qml:353
#: dashboard/qml/SettingsPage.qml:373
#, kde-format
msgid "Default"
msgstr "Default"
#: dashboard/qml/SettingsPage.qml:360
#, kde-format
msgid "xrizer"
msgstr "xrizer"
#: dashboard/qml/SettingsPage.qml:365
#, kde-format
msgid "Open Composite"
msgstr "Open Composite"
#: dashboard/qml/SettingsPage.qml:372
#: dashboard/qml/SettingsPage.qml:387
#, kde-format
msgctxt "set a custom OpenVR compatibility library"
msgid "Custom"
msgstr "Personalizado"
#: dashboard/qml/SettingsPage.qml:377
#: dashboard/qml/SettingsPage.qml:392
#, kde-format
msgid "Disabled"
msgstr "Desabilitado"
msgstr "Desativado"
#: dashboard/qml/SettingsPage.qml:385
#: dashboard/qml/SettingsPage.qml:400
#, kde-format
msgid "OpenVR compatibility library:"
msgstr "Biblioteca de compatibilidade OpenVR:"
#: dashboard/qml/SettingsPage.qml:411
#: dashboard/qml/SettingsPage.qml:426
#, kde-format
msgid "Library path, excluding bin/linux64/vrclient.so"
msgstr "Caminho da biblioteca, excluindo bin/linux64/vrclient.so"
@@ -595,8 +615,8 @@ msgstr ""
#, kde-format
msgid "Paste this in the Steam launch options for the app you want to start"
msgstr ""
"Cole isso nas opções de lançamento da Steam para a aplicação que você deseja "
"iniciar"
"Cole isso nas opções de lançamento da Steam para o aplicativo que você "
"deseja iniciar"
#: dashboard/qml/SteamLaunchOptions.qml:26
#, kde-format
@@ -612,23 +632,23 @@ msgstr "Comando de lançamento da Steam copiado"
#: dashboard/qml/TroubleshootPage.qml:20
#, kde-format
msgid "I cannot find the WiVRn app on my headset"
msgstr "Não consigo encontrar a aplicação WiVRn no meu headset"
msgstr "Não consigo encontrar o aplicativo do WiVRn no meu headset"
#: dashboard/qml/TroubleshootPage.qml:21 dashboard/qml/WizardPage.qml:373
#: dashboard/qml/TroubleshootPage.qml:21 dashboard/qml/WizardPage.qml:387
#, kde-format
msgid ""
"If you installed WiVRn over USB on a Meta headset, the app is in the "
"\"unknown sources\" section."
msgstr ""
"Se você instalou o WiVRn pela USB em um headset Meta, a aplicação está na "
"Se você instalou o WiVRn pelo USB em um headset Meta, o aplicativo está na "
"seção \"fontes desconhecidas\"."
#: dashboard/qml/TroubleshootPage.qml:24
#, kde-format
msgid "I cannot see my computer in the WiVRn app"
msgstr "Não consigo ver meu computador na aplicação WiVRn"
msgstr "Não consigo ver meu computador no aplicativo do WiVRn"
#: dashboard/qml/TroubleshootPage.qml:25 dashboard/qml/WizardPage.qml:378
#: dashboard/qml/TroubleshootPage.qml:25 dashboard/qml/WizardPage.qml:392
#, kde-format
msgid ""
"If the server is not visible or the connection fails, check that port 5353 "
@@ -649,9 +669,9 @@ msgid ""
"</p><ul><li>The headset app version is in the \"About\" page</li><li>The "
"server version is <b>%1</b></li></ul>"
msgstr ""
"<p>A versão da aplicação do headset e o servidor no seu computador devem "
"casar.</p><ul><li>A versão da aplicação do headset está na página \"Sobre\"</"
"li><li>A versão do servidor é <b>%1</b></li></ul>"
"<p>A versão do aplicativo do headset e o servidor no seu computador devem "
"ser a mesma.</p><ul><li>A versão do aplicativo do headset está na página "
"\"Sobre\"</li><li>A versão do servidor é <b>%1</b></li></ul>"
#: dashboard/qml/TroubleshootPage.qml:32
#, kde-format
@@ -665,24 +685,24 @@ msgid ""
"another headset, you must enable pairing before connecting."
msgstr ""
"Se você reinstalou o servidor ou o cliente ou se você quer conectar outro "
"headset, você deve habilitar o pareamento antes de conectar."
"headset, você deve atviar o pareamento antes de conectar."
#: dashboard/qml/TroubleshootPage.qml:33
#, kde-format
msgid "Pairing is currently enabled with PIN %1."
msgstr "Pareamento está atualmente habilitado com o PIN %1."
msgstr "Pareamento está atualmente ativado com o PIN %1."
#: dashboard/qml/TroubleshootPage.qml:33
#, kde-format
msgid "Pairing is currently disabled."
msgstr "Pareamento está atualmente desabilitado."
msgstr "Pareamento está atualmente desativado."
#: dashboard/qml/TroubleshootPage.qml:49
#, kde-format
msgid "I have no sound on my headset"
msgstr "Eu não tenho som no meu headset"
#: dashboard/qml/TroubleshootPage.qml:50 dashboard/qml/WizardPage.qml:426
#: dashboard/qml/TroubleshootPage.qml:50 dashboard/qml/WizardPage.qml:440
#, kde-format
msgid ""
"When the headset is connected, select \"WiVRn\" as the default audio output "
@@ -707,9 +727,9 @@ msgid "Getting started"
msgstr "Começando"
#: dashboard/qml/WizardPage.qml:29 dashboard/qml/WizardPage.qml:78
#: dashboard/qml/WizardPage.qml:253 dashboard/qml/WizardPage.qml:302
#: dashboard/qml/WizardPage.qml:386 dashboard/qml/WizardPage.qml:433
#: dashboard/qml/WizardPage.qml:470
#: dashboard/qml/WizardPage.qml:253 dashboard/qml/WizardPage.qml:316
#: dashboard/qml/WizardPage.qml:400 dashboard/qml/WizardPage.qml:447
#: dashboard/qml/WizardPage.qml:484
#, kde-format
msgid "Back"
msgstr "Voltar"
@@ -729,8 +749,8 @@ msgstr ""
"ao seu computador."
#: dashboard/qml/WizardPage.qml:83 dashboard/qml/WizardPage.qml:258
#: dashboard/qml/WizardPage.qml:307 dashboard/qml/WizardPage.qml:438
#: dashboard/qml/WizardPage.qml:475
#: dashboard/qml/WizardPage.qml:321 dashboard/qml/WizardPage.qml:452
#: dashboard/qml/WizardPage.qml:489
#, kde-format
msgid "Next"
msgstr "Próximo"
@@ -738,7 +758,7 @@ msgstr "Próximo"
#: dashboard/qml/WizardPage.qml:112
#, kde-format
msgid "How to enable developper mode"
msgstr "Como habilitar modo desenvolvedor"
msgstr "Como habilitar o modo de desenvolvedor"
#: dashboard/qml/WizardPage.qml:119
#, kde-format
@@ -752,9 +772,9 @@ msgid ""
"headset.\n"
"You can either install it from the Meta store or directly over USB."
msgstr ""
"Para usar o WiVRn, você precisa instalar a aplicação cliente em seu "
"Para usar o WiVRn, você precisa instalar o aplicativo do cliente em seu "
"headset.\n"
"Você pode instalá-la pela loja Meta ou diretamente pela USB."
"Você pode instalá-lo pela loja Meta ou diretamente pela USB."
#: dashboard/qml/WizardPage.qml:148
#, kde-format
@@ -767,7 +787,7 @@ msgid ""
"For the Quest 2, 3, 3S, and Pro, you can get the app from the <a "
"href=\"https://www.meta.com/experiences/7959676140827574/\">Meta store</a>."
msgstr ""
"Para os Quest 2, 3, 3S, e Pro, você pode obter a aplicação pela <a "
"Para o Quest 2, 3, 3S, e Pro, você pode obter o aplicativo pela <a "
"href=\"https://www.meta.com/experiences/7959676140827574/\">loja Meta</a>."
#: dashboard/qml/WizardPage.qml:164
@@ -776,8 +796,8 @@ msgid ""
"A newer release is available: %1 → %2, the client app on the Meta store may "
"not be compatible."
msgstr ""
"Uma versão mais nova está disponível: %1 → %2, a aplicação cliente na loja "
"Meta pode não ser compatível."
"Uma versão mais nova está disponível: %1 → %2, o aplicativo do cliente na "
"loja Meta pode não ser compatível."
#: dashboard/qml/WizardPage.qml:171
#, kde-format
@@ -785,7 +805,7 @@ msgid ""
"This is a nightly build, the client app on the Meta store may not be "
"compatible."
msgstr ""
"Esta é uma compilação noturna, a aplicação cliente na loja Meta pode não ser "
"Esta é uma build nightly, o aplicativo do cliente na loja Meta pode não ser "
"compativel."
#: dashboard/qml/WizardPage.qml:181
@@ -811,14 +831,14 @@ msgid ""
"<ul><li>The ADB udev rules are installed</li><li>The headset is in <a "
"href=\"#\">developper mode</a></li></ul></p>"
msgstr ""
"<p>Nenhum headset detectado. Se assegure que:\n"
"<p>Nenhum headset detectado. Tenha certeza que:\n"
"<ul><li>As regras udev de ADB estejam instaladas</li><li>O headset esteja em "
"<a href=\"#\">modo desenvolvedor</a></li></ul></p>"
"<a href=\"#\">modo de desenvolvedor</a></li></ul></p>"
#: dashboard/qml/WizardPage.qml:280
#, kde-format
msgid "Select the application you want to start"
msgstr "Selecione a aplicação que você quer iniciar"
msgstr "Selecione o aplicativo que você quer iniciar"
#: dashboard/qml/WizardPage.qml:286
#, kde-format
@@ -826,49 +846,63 @@ msgid ""
"The application you choose will be started automatically when you connect "
"your headset."
msgstr ""
"A aplicação que você escolher será iniciada automaticamente quando você "
"O aplicativo que você escolher será iniciado automaticamente quando você "
"conectar seu headset."
#: dashboard/qml/WizardPage.qml:344
#: dashboard/qml/WizardPage.qml:300
#, kde-format
msgid "Important information"
msgstr "Informação importante"
#: dashboard/qml/WizardPage.qml:307
#, kde-format
msgid ""
"WiVRn entirely replaces SteamVR, you should not start SteamVR while WiVRn is "
"running."
msgstr ""
"O WiVRn substitui o SteamVR completamente, você não deve iniciar o SteamVR "
"enquanto o WiVRn estiver rodando."
#: dashboard/qml/WizardPage.qml:358
#, kde-format
msgid "Start the WiVRn app on your headset"
msgstr "Iniciar a aplicação WiVRn no seu headset"
msgstr "Iniciar o aplicativo do WiVRn no seu headset"
#: dashboard/qml/WizardPage.qml:349
#: dashboard/qml/WizardPage.qml:363
#, kde-format
msgid ""
"To connect over WiFi, start the WiVRn app on your headset, connect to \"%1\" "
"and enter PIN \"%2\"."
msgstr ""
"Para conectar pela WiFi, inicie a aplicação WiVRn no seu headset, conecte a "
"\"%1\" e entre o PIN \"%2\"."
"Para conectar pelo WiFi, inicie o aplicativo do WiVRn no seu headset, "
"conecte a \"%1\" e entre o PIN \"%2\"."
#: dashboard/qml/WizardPage.qml:356
#: dashboard/qml/WizardPage.qml:370
#, kde-format
msgid "To connect over USB, click on \"Connect by USB\"."
msgstr "Para conectar pela USB, clique em \"Conectar pela USB\"."
#: dashboard/qml/WizardPage.qml:369
#: dashboard/qml/WizardPage.qml:383
#, kde-format
msgid "Troubleshooting"
msgstr "Resolver problemas"
#: dashboard/qml/WizardPage.qml:391
#: dashboard/qml/WizardPage.qml:405
#, kde-format
msgid "Skip"
msgstr "Pular"
#: dashboard/qml/WizardPage.qml:411
#: dashboard/qml/WizardPage.qml:425
#, kde-format
msgid "Connection established"
msgstr "Conexão estabelecida"
#: dashboard/qml/WizardPage.qml:416
#: dashboard/qml/WizardPage.qml:430
#, kde-format
msgid "Your headset is now connected."
msgstr "Seu headset está conectado agora."
#: dashboard/qml/WizardPage.qml:421 dashboard/qml/WizardPage.qml:463
#: dashboard/qml/WizardPage.qml:435 dashboard/qml/WizardPage.qml:477
#, kde-format
msgid ""
"To connect another headset, make sure pairing is enabled in the dashboard "
@@ -877,12 +911,22 @@ msgstr ""
"Para conectar outro headset, se assegure que o pareamento esteja habilitado "
"no painel antes de conectar."
#: dashboard/qml/WizardPage.qml:443 dashboard/qml/WizardPage.qml:480
#: dashboard/qml/WizardPage.qml:457 dashboard/qml/WizardPage.qml:494
#, kde-format
msgid "Finish"
msgstr "Terminar"
#: dashboard/qml/WizardPage.qml:458
#: dashboard/qml/WizardPage.qml:472
#, kde-format
msgid "Finished"
msgstr "Terminado"
#: dashboard/wivrn_server.cpp:584
#, kde-format
msgid "xrizer"
msgstr "xrizer"
#: dashboard/wivrn_server.cpp:585
#, kde-format
msgid "Open Composite"
msgstr "Open Composite"
+162 -108
View File
@@ -2,20 +2,22 @@
# This file is distributed under the same license as the WiVRn package.
#
# SPDX-FileCopyrightText: 2025 Claudio Sampaio (Patola)
# LuckShiba <LuckShiba@protonmail.com>, 2025.
#
msgid ""
msgstr ""
"Project-Id-Version: WiVRn\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2025-04-15 12:06+0200\n"
"PO-Revision-Date: 2025-04-19 20:27+0200\n"
"Last-Translator: Claudio Sampaio (Patola) <patola@gmail.com>\n"
"Language-Team: Portuguese <>\n"
"POT-Creation-Date: 2025-06-20 19:23-0300\n"
"PO-Revision-Date: 2025-06-23 05:42-0300\n"
"Last-Translator: LuckShiba <LuckShiba@protonmail.com>\n"
"Language-Team: Brazilian Portuguese\n"
"Language: pt_BR\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Generator: Lokalize 24.12.3\n"
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
"X-Generator: Gtranslator 48.0\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#: client/scenes/lobby.cpp:148
msgid "No supported swapchain format"
@@ -44,92 +46,92 @@ msgstr "Incapaz de conectar a {} ({}): {}"
msgid "Waiting for connection"
msgstr "Aguardando conexão"
#: client/scenes/lobby_gui.cpp:131
#: client/scenes/lobby_gui.cpp:132
msgctxt "openxr_post_processing"
msgid "Normal"
msgstr "Normal"
#: client/scenes/lobby_gui.cpp:134
#: client/scenes/lobby_gui.cpp:135
msgctxt "openxr_post_processing"
msgid "Quality"
msgstr "Qualidade"
#: client/scenes/lobby_gui.cpp:136
#: client/scenes/lobby_gui.cpp:137
msgctxt "openxr_post_processing"
msgid "Disabled"
msgstr "Desabilitado"
#: client/scenes/lobby_gui.cpp:197
#: client/scenes/lobby_gui.cpp:198
msgid "Disconnect"
msgstr "Desconectar"
#: client/scenes/lobby_gui.cpp:203
#: client/scenes/lobby_gui.cpp:204
msgid "Video stream interrupted"
msgstr "Fluxo de vídeo interrompido"
#: client/scenes/lobby_gui.cpp:205
#: client/scenes/lobby_gui.cpp:206
msgid ""
"Connection ready\n"
"Start a VR application on your computer"
msgstr ""
"Conexão pronta\n"
"Inicie uma aplicação VR no seu computador"
"Inicie um aplicativo VR no seu computador"
#: client/scenes/lobby_gui.cpp:207
#: client/scenes/lobby_gui.cpp:208
#, c++-format
msgid ""
"Connection ready\n"
"Start a VR application on {}"
msgstr ""
"Conexão pronta\n"
"Inicie uma aplicação VR em {}"
"Inicie um aplicativo VR em {}"
#: client/scenes/lobby_gui.cpp:220
#: client/scenes/lobby_gui.cpp:221
msgid "Close"
msgstr "Fechar"
#: client/scenes/lobby_gui.cpp:226
#: client/scenes/lobby_gui.cpp:227
msgid "Connection"
msgstr "Conexão"
#: client/scenes/lobby_gui.cpp:228
#: client/scenes/lobby_gui.cpp:229
#, c++-format
msgid "Connection to {}"
msgstr "Conexão a {}"
#: client/scenes/lobby_gui.cpp:258
#: client/scenes/lobby_gui.cpp:259
msgid "PIN"
msgstr "PIN"
#: client/scenes/lobby_gui.cpp:280
#: client/scenes/lobby_gui.cpp:281
msgid "Input the PIN displayed on the dashboard"
msgstr "Entre o PIN mostrado no painel"
#: client/scenes/lobby_gui.cpp:355
#: client/scenes/lobby_gui.cpp:356
msgid "Name"
msgstr "Nome"
#: client/scenes/lobby_gui.cpp:366
#: client/scenes/lobby_gui.cpp:367
msgid "Address"
msgstr "Endereço"
#: client/scenes/lobby_gui.cpp:375
#: client/scenes/lobby_gui.cpp:376
msgid "Port"
msgstr "Porta"
#: client/scenes/lobby_gui.cpp:383
#: client/scenes/lobby_gui.cpp:384
msgid "TCP only"
msgstr "TCP somente"
#: client/scenes/lobby_gui.cpp:390
#: client/scenes/lobby_gui.cpp:391
msgid "Cancel"
msgstr "Cancelar"
#: client/scenes/lobby_gui.cpp:404
#: client/scenes/lobby_gui.cpp:405
msgid "Save"
msgstr "Salvar"
#: client/scenes/lobby_gui.cpp:457
#: client/scenes/lobby_gui.cpp:458
msgid ""
"Start a WiVRn server on your\n"
"local network"
@@ -137,126 +139,170 @@ msgstr ""
"Inicie um servidor WiVRn em sua\n"
"rede local"
#: client/scenes/lobby_gui.cpp:489
#: client/scenes/lobby_gui.cpp:490
msgid "Autoconnect"
msgstr "Autoconectar"
#: client/scenes/lobby_gui.cpp:515
#: client/scenes/lobby_gui.cpp:516
msgid "Connect"
msgstr "Conectar"
#: client/scenes/lobby_gui.cpp:525
#: client/scenes/lobby_gui.cpp:526 client/wivrn_client.cpp:186
msgid "Incompatible server version"
msgstr "Versão de servidor incompatível"
#: client/scenes/lobby_gui.cpp:527
#: client/scenes/lobby_gui.cpp:528
msgid "Server not available"
msgstr "Servidor não disponível"
#: client/scenes/lobby_gui.cpp:613
#: client/scenes/lobby_gui.cpp:614
msgid "Refresh rate"
msgstr "Taxa de atualização"
#: client/scenes/lobby_gui.cpp:613 client/scenes/lobby_gui.cpp:615
#: client/scenes/lobby_gui.cpp:614 client/scenes/lobby_gui.cpp:616
msgctxt "automatic refresh rate"
msgid "Automatic"
msgstr "Automático"
#: client/scenes/lobby_gui.cpp:622
#: client/scenes/lobby_gui.cpp:623
msgid ""
"Select refresh rate based on measured application performance.\n"
"May cause flicker when a change happens."
msgstr ""
"Seleciona a taxa de atualização baseada no desempenho medido da aplicação.\n"
"Seleciona a taxa de atualização baseada no desempenho medido do aplicativo.\n"
"Pode causar oscilações quando uma alteração ocorrer."
#: client/scenes/lobby_gui.cpp:639
#: client/scenes/lobby_gui.cpp:640
msgid "Minimum refresh rate"
msgstr "Taxa de atualização mínima"
#: client/scenes/lobby_gui.cpp:662
#: client/scenes/lobby_gui.cpp:663
msgid "Resolution scale"
msgstr "Escala de resolução"
#: client/scenes/lobby_gui.cpp:666 client/scenes/lobby_gui.cpp:915
#: client/scenes/lobby_gui.cpp:667 client/scenes/lobby_gui.cpp:971
#, c-format, c++-format
msgid "%d%% - {}x{} per eye"
msgstr "%d%% - {}x{} por olho"
#: client/scenes/lobby_gui.cpp:677 client/scenes/lobby_gui.cpp:926
#: client/scenes/lobby_gui.cpp:678 client/scenes/lobby_gui.cpp:982
#, c++-format
msgid "Resolution larger than {}x{} may not be supported by the headset"
msgstr "Resolução maior que {}x{} pode não ser suportada pelo headset"
#: client/scenes/lobby_gui.cpp:683
#: client/scenes/lobby_gui.cpp:684
msgid "Enable microphone"
msgstr "Habilitar microfone"
msgstr "Ativar microfone"
#: client/scenes/lobby_gui.cpp:693
#: client/scenes/lobby_gui.cpp:694
msgid "Unprocessed Microphone Audio"
msgstr "Áudio Não-processado de Microfone"
#: client/scenes/lobby_gui.cpp:699
#: client/scenes/lobby_gui.cpp:700
msgid "Force disable audio filters, such as noise cancellation"
msgstr ""
"Força a desabilitação de filtros de áudio tais como cancelamento de ruído"
"Força a desativação de filtros de áudio tais como cancelamento de ruído"
#: client/scenes/lobby_gui.cpp:706
#: client/scenes/lobby_gui.cpp:707
msgid "Enable hand tracking"
msgstr "Habilitar rastreamento de mãos"
msgstr "Ativar rastreamento de mãos"
#: client/scenes/lobby_gui.cpp:713 client/scenes/lobby_gui.cpp:726
#: client/scenes/lobby_gui.cpp:739 client/scenes/lobby_gui.cpp:751
#: client/scenes/lobby_gui.cpp:714 client/scenes/lobby_gui.cpp:727
#: client/scenes/lobby_gui.cpp:740 client/scenes/lobby_gui.cpp:757
#: client/scenes/lobby_gui.cpp:807
msgid "This feature is not supported by your headset"
msgstr "Este recurso não é suportado pelo seu headset"
#: client/scenes/lobby_gui.cpp:719
#: client/scenes/lobby_gui.cpp:720
msgid "Enable eye tracking"
msgstr "Habilitar rastreamento ocular"
msgstr "Ativar rastreamento ocular"
#: client/scenes/lobby_gui.cpp:732
#: client/scenes/lobby_gui.cpp:733
msgid "Enable face tracking"
msgstr "Habilitar rastreamento de face"
msgstr "Ativar rastreamento facial"
#: client/scenes/lobby_gui.cpp:744
#: client/scenes/lobby_gui.cpp:747
msgid "Enable body tracking"
msgstr "Ativar rastreamento corporal"
#: client/scenes/lobby_gui.cpp:764
msgid ""
"Requires 'Hand and body tracking' to be enabled in the Quest movement "
"tracking settings,\n"
"otherwise body data will be guessed from controller and headset positions"
msgstr ""
"Requer que 'Rastreamento corporal e das mãos' esteja ativado nas "
"configurações de \n"
"Rastreamento de Movimento do Quest, caso contrário dados corporais serão "
"estimados\n"
"com base nas posições do controle e do headset."
#: client/scenes/lobby_gui.cpp:777
msgid "Enable lower body tracking"
msgstr "Ativar rastreamento corporal inferior"
#: client/scenes/lobby_gui.cpp:783
msgid ""
"Estimate lower body joint positions using Generative Legs\n"
"Requires 'Hand and body tracking' to be enabled in the Quest movement "
"tracking settings"
msgstr ""
"Estima as posições das articulações da parte inferior do corpo usando Pernas "
"Gerativas\n"
"Requer que 'Rastreamento corporal e das mãos' esteja ativado nas\n"
"configurações de Rastreamento de Movimento do Quest"
#: client/scenes/lobby_gui.cpp:786
msgid "Enable hip tracking"
msgstr "Ativar rastreamento de quadril"
#: client/scenes/lobby_gui.cpp:792
msgid ""
"Only takes affect with lower body tracking enabled\n"
"May be desired when using another source of hip tracking"
msgstr ""
"Só tem efeito com o rastreamento corporal inferior ativado\n"
"Pode ser desejado ao usar outra fonte de rastreamento de quadril"
#: client/scenes/lobby_gui.cpp:800
msgid "Enable video passthrough in lobby"
msgstr "Habilitar repassagem de vídeo no lobby"
#: client/scenes/lobby_gui.cpp:754
#: client/scenes/lobby_gui.cpp:810
msgid "Show performance metrics"
msgstr "Mostrar métricas de desempenho"
#: client/scenes/lobby_gui.cpp:758
#: client/scenes/lobby_gui.cpp:814
msgid "Overlay can be toggled by pressing both thumbsticks"
msgstr "A sobreposição pode ser alternada pressionando ambos os joysticks"
#: client/scenes/lobby_gui.cpp:788 client/scenes/lobby_gui.cpp:796
#: client/scenes/lobby_gui.cpp:844 client/scenes/lobby_gui.cpp:852
#: client/scenes/stream_stats.cpp:159
msgid "CPU time"
msgstr "Tempo de CPU"
#: client/scenes/lobby_gui.cpp:792
#: client/scenes/lobby_gui.cpp:848
msgid "CPU time [ms]"
msgstr "Tempo de CPU [ms]"
#: client/scenes/lobby_gui.cpp:802 client/scenes/lobby_gui.cpp:810
#: client/scenes/lobby_gui.cpp:858 client/scenes/lobby_gui.cpp:866
#: client/scenes/stream_stats.cpp:161
msgid "GPU time"
msgstr "Tempo de GPU"
#: client/scenes/lobby_gui.cpp:806
#: client/scenes/lobby_gui.cpp:862
msgid "GPU time [ms]"
msgstr "Tempo de GPU [ms]"
#: client/scenes/lobby_gui.cpp:825
#: client/scenes/lobby_gui.cpp:881
msgid "OpenXR post-processing"
msgstr "Pós-processamento OpenXR"
#: client/scenes/lobby_gui.cpp:829
#: client/scenes/lobby_gui.cpp:885
msgid "Supersampling"
msgstr "Supersampling"
#: client/scenes/lobby_gui.cpp:849
#: client/scenes/lobby_gui.cpp:905
msgid ""
"Reduce flicker for high contrast edges.\n"
"Useful when the input resolution is high compared to the headset display"
@@ -264,11 +310,11 @@ msgstr ""
"Reduz flicker para arestas de alto contraste.\n"
"Útil quando a resolução de entrada é alta comparada ao display do headset"
#: client/scenes/lobby_gui.cpp:854
#: client/scenes/lobby_gui.cpp:910
msgid "Sharpening"
msgstr "Aumento de nitidez"
#: client/scenes/lobby_gui.cpp:874
#: client/scenes/lobby_gui.cpp:930
msgid ""
"Improve clarity of high contrast edges and counteract blur.\n"
"Useful when the input resolution is low compared to the headset display"
@@ -276,117 +322,125 @@ msgstr ""
"Melhora a clareza de arestas de alto contraste e minimiza o desfoque.\n"
"Útil quando a resolução de entrada é baixa comparada ao display do headset"
#: client/scenes/lobby_gui.cpp:883
#: client/scenes/lobby_gui.cpp:939
msgid "Enable Snapdragon Game Super Resolution"
msgstr "Habilitar Snapdragon Game Super Resolution"
#: client/scenes/lobby_gui.cpp:891
#: client/scenes/lobby_gui.cpp:947
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 ""
"Neste headset, este ajuste foi completamente supersedido pelo ajuste "
"de aumento de nitidez acima.\n"
"Neste headset, este ajuste foi completamente supersedido pelo ajuste de "
"aumento de nitidez acima.\n"
"Somente habilite se souber o que está fazendo."
#: client/scenes/lobby_gui.cpp:893
#: client/scenes/lobby_gui.cpp:949
msgid ""
"Client-side upscaling and sharpening, adds a performance cost on the headset"
msgstr ""
"Upscaling e aumento de nitidez do lado do cliente, acrescenta um custo de dese"
"mpenho no headset"
"Upscaling e aumento de nitidez do lado do cliente, acrescenta um custo de "
"desempenho no headset"
#: client/scenes/lobby_gui.cpp:911
#: client/scenes/lobby_gui.cpp:967
msgid "Upscaling factor"
msgstr "Fator de upscaling"
#: client/scenes/lobby_gui.cpp:930
#: client/scenes/lobby_gui.cpp:986
msgid "Use edge direction"
msgstr "Usar direção da aresta"
#: client/scenes/lobby_gui.cpp:936
#: client/scenes/lobby_gui.cpp:992
msgid "Adds an additional performance cost"
msgstr "Acrescenta um custo de desempenho"
#: client/scenes/lobby_gui.cpp:941
#: client/scenes/lobby_gui.cpp:997
msgid "Edge threshold"
msgstr "Limite da aresta"
#: client/scenes/lobby_gui.cpp:948 client/scenes/lobby_gui.cpp:957
#: client/scenes/lobby_gui.cpp:1004 client/scenes/lobby_gui.cpp:1013
#, c++-format
msgid "Recommended: {:.1f}"
msgstr "Recomenadado: {:.1f}"
#: client/scenes/lobby_gui.cpp:951
#: client/scenes/lobby_gui.cpp:1007
msgid "Edge sharpness"
msgstr "Nitidez da aresta"
#: client/scenes/lobby_gui.cpp:1045 client/scenes/lobby_gui.cpp:1691
#: client/scenes/lobby_gui.cpp:1101 client/scenes/lobby_gui.cpp:1757
msgid "Licenses"
msgstr "Licenças"
#: client/scenes/lobby_gui.cpp:1384
#: client/scenes/lobby_gui.cpp:1440
msgid "Microphone is enabled"
msgstr "O microfone está habilitado"
msgstr "O microfone está ativado"
#: client/scenes/lobby_gui.cpp:1385
#: client/scenes/lobby_gui.cpp:1441
msgid "Microphone is disabled"
msgstr "O microfone está desabilitado"
msgstr "O microfone está desativado"
#: client/scenes/lobby_gui.cpp:1394
#: client/scenes/lobby_gui.cpp:1450
msgid "Hand tracking is enabled"
msgstr "O rastreamento de mãos está habilitado"
msgstr "O rastreamento de mãos está ativado"
#: client/scenes/lobby_gui.cpp:1395
#: client/scenes/lobby_gui.cpp:1451
msgid "Hand tracking is disabled"
msgstr "O rastreamento de mãos está desabilitado"
msgstr "O rastreamento de mãos está desativado"
#: client/scenes/lobby_gui.cpp:1404
#: client/scenes/lobby_gui.cpp:1460
msgid "Eye tracking is enabled"
msgstr "O rastreamento ocular está habilitado"
msgstr "O rastreamento ocular está ativado"
#: client/scenes/lobby_gui.cpp:1405
#: client/scenes/lobby_gui.cpp:1461
msgid "Eye tracking is disabled"
msgstr "O rastreamento ocular está desabilitado"
msgstr "O rastreamento ocular está desativado"
#: client/scenes/lobby_gui.cpp:1415 client/scenes/lobby_gui.cpp:1426
#: client/scenes/lobby_gui.cpp:1471 client/scenes/lobby_gui.cpp:1482
msgid "Face tracking is enabled"
msgstr "O rastreamento de face está habilitado"
msgstr "O rastreamento facial está ativado"
#: client/scenes/lobby_gui.cpp:1416 client/scenes/lobby_gui.cpp:1427
#: client/scenes/lobby_gui.cpp:1472 client/scenes/lobby_gui.cpp:1483
msgid "Face tracking is disabled"
msgstr "O rastreamento de face está desabilitado"
msgstr "O rastreamento facial está desativado"
#: client/scenes/lobby_gui.cpp:1444
#: client/scenes/lobby_gui.cpp:1493
msgid "Body tracking is enabled"
msgstr "O rastreamento corporal está ativado"
#: client/scenes/lobby_gui.cpp:1494
msgid "Body tracking is disabled"
msgstr "O rastreamento corporal está desativado"
#: client/scenes/lobby_gui.cpp:1510
msgid "Add server"
msgstr "Adicionar servidor"
#: client/scenes/lobby_gui.cpp:1673
#: client/scenes/lobby_gui.cpp:1739
msgid "Server list"
msgstr "Lista de servidores"
#: client/scenes/lobby_gui.cpp:1676
#: client/scenes/lobby_gui.cpp:1742
msgid "Settings"
msgstr "Ajustes"
#: client/scenes/lobby_gui.cpp:1679
#: client/scenes/lobby_gui.cpp:1745
msgid "Post-processing"
msgstr "Pós-processamento"
#: client/scenes/lobby_gui.cpp:1683
#: client/scenes/lobby_gui.cpp:1749
msgid "Debug"
msgstr "Depurar"
#: client/scenes/lobby_gui.cpp:1688
#: client/scenes/lobby_gui.cpp:1754
msgid "About"
msgstr "Sobre"
#: client/scenes/lobby_gui.cpp:1694
#: client/scenes/lobby_gui.cpp:1760
msgid "Exit"
msgstr "Sair"
#: client/scenes/lobby_gui.cpp:1708
#: client/scenes/lobby_gui.cpp:1774
msgid ""
"Press A or X or put your palm up\n"
"to move the main window"
@@ -394,7 +448,7 @@ msgstr ""
"Pressione A ou X ou coloque a palma da mão pra cima\n"
"para mover a janela principal"
#: client/scenes/lobby_gui.cpp:1710
#: client/scenes/lobby_gui.cpp:1776
msgid "Press A or X to move the main window"
msgstr "Pressione A ou X para mover a janela principal"
@@ -416,7 +470,7 @@ msgstr "Baixar"
#: client/scenes/stream_stats.cpp:165
msgid "Upload"
msgstr "Subir"
msgstr "Enviar"
#: client/scenes/stream_stats.cpp:234
#, c++-format
@@ -460,18 +514,18 @@ msgstr "Previsto"
msgid "Estimated motion to photons latency: {}ms"
msgstr "Movimento estimado para a latência de fótons: {}ms"
#: client/wivrn_client.cpp:97 client/wivrn_client.cpp:196
#: client/wivrn_client.cpp:98 client/wivrn_client.cpp:202
msgid "Timeout"
msgstr "Tempo esgotado"
#: client/wivrn_client.cpp:147
#: client/wivrn_client.cpp:149
msgid "Incorrect PIN"
msgstr "PIN incorreto"
#: client/wivrn_client.cpp:151
#: client/wivrn_client.cpp:153
msgid "Unable to check PIN"
msgstr "Incapaz de verificar PIN"
#: client/wivrn_client.cpp:180
#: client/wivrn_client.cpp:182
msgid "Pairing is disabled on server"
msgstr "Pareamento está desabilitado no servidor"
+36 -26
View File
@@ -139,6 +139,9 @@ static std::tuple<float, float> solve_foveation(float λ, float c)
static xrt_vec2 yaw_pitch(xrt_quat q)
{
if (q.x == 0 and q.y == 0 and q.z == 0 and q.w == 0)
return xrt_vec2{};
float sine_theta = std::clamp(-2.0f * (q.y * q.z - q.w * q.x), -1.0f, 1.0f);
float pitch = std::asin(sine_theta);
@@ -216,30 +219,20 @@ void wivrn_foveation::compute_params(
xrt_rect src[2],
const xrt_fov fovs[2])
{
std::lock_guard lock(mutex);
xrt_vec2 tan_center[2]{};
if (gaze.x != 0 or gaze.y != 0 or gaze.z != 0 or gaze.w != 0)
auto e = yaw_pitch(gaze);
for (size_t i = 0; i < 2; ++i)
{
auto e = yaw_pitch(gaze);
for (size_t i = 0; i < 2; ++i)
{
xrt_quat view_quat{
.x = views[i].pose.orientation.x,
.y = views[i].pose.orientation.y,
.z = views[i].pose.orientation.z,
.w = views[i].pose.orientation.w};
auto view = yaw_pitch(view_quat);
xrt_quat view_quat{
.x = views[i].pose.orientation.x,
.y = views[i].pose.orientation.y,
.z = views[i].pose.orientation.z,
.w = views[i].pose.orientation.w};
auto view = yaw_pitch(view_quat);
auto angle_x = convergence_angle(views[i].pose.position.x, e.x);
tan_center[i].x = angles_to_center(view.x + angle_x, views[i].fov.angleLeft, views[i].fov.angleRight);
tan_center[i].y = angles_to_center(-view.y - e.y, views[i].fov.angleUp, views[i].fov.angleDown);
}
}
else
{
for (size_t i = 0; i < 2; ++i)
tan_center[i].x = angles_to_center(0, fovs[i].angle_left, fovs[i].angle_right);
auto angle_x = convergence_angle(views[i].pose.position.x, e.x);
tan_center[i].x = angles_to_center(view.x + angle_x, views[i].fov.angleLeft, views[i].fov.angleRight);
tan_center[i].y = angles_to_center(-view.y - e.y, views[i].fov.angleUp, views[i].fov.angleDown);
}
for (int i = 0; i < 2; ++i)
@@ -368,10 +361,26 @@ bool operator==(const xrt_quat & a, const xrt_quat & b)
{
return a.x == b.x and a.y == b.y and a.z == b.z and a.w == b.w;
}
bool operator==(const XrQuaternionf & a, const XrQuaternionf & b)
{
return a.x == b.x and a.y == b.y and a.z == b.z and a.w == b.w;
}
bool operator==(const xrt_fov & a, const xrt_fov & b)
{
return a.angle_left == b.angle_left and a.angle_right == b.angle_right and a.angle_up == b.angle_up and a.angle_down == b.angle_down;
}
bool operator==(const XrFovf & a, const XrFovf & b)
{
return a.angleLeft == b.angleLeft and a.angleRight == b.angleRight and a.angleUp == b.angleUp and a.angleDown == b.angleDown;
}
bool operator==(const XrVector3f & a, const XrVector3f & b)
{
return a.x == b.x and a.y == b.y and a.z == b.z;
}
bool operator==(const wivrn::from_headset::tracking::view & a, const wivrn::from_headset::tracking::view & b)
{
return a.fov == b.fov and a.pose.position == b.pose.position and a.pose.orientation == b.pose.orientation;
}
vk::CommandBuffer wivrn_foveation::update_foveation_buffer(
vk::Buffer target,
@@ -392,17 +401,18 @@ vk::CommandBuffer wivrn_foveation::update_foveation_buffer(
// Check if the last value is still valid
if (last.flip_y == flip_y and last.src[0] == source[0] and last.src[1] == source[1] and last.fovs[0] == fovs[0] and last.fovs[1] == fovs[1])
{
std::lock_guard lock(mutex);
if (last.gaze == gaze)
return nullptr;
}
return nullptr;
std::lock_guard lock(mutex);
if (last.gaze == gaze and last.views[0] == views[0] and last.views[1] == views[1])
return nullptr;
last = {
.gaze = gaze,
.flip_y = flip_y,
.src = {source[0], source[1]},
.fovs = {fovs[0], fovs[1]},
.views = views,
};
compute_params(source, fovs);
+2
View File
@@ -57,9 +57,11 @@ class wivrn_foveation
bool flip_y = false;
xrt_rect src[2] = {};
xrt_fov fovs[2] = {};
std::array<from_headset::tracking::view, 2> views = {};
};
P last;
// must hold lock on mutex to call it
void compute_params(
xrt_rect src[2],
const xrt_fov fovs[2]);