Compare commits
105
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e0df6484dc | ||
|
|
b1efa984fa | ||
|
|
3fe032fa3b | ||
|
|
1c81b7b264 | ||
|
|
8f8e583eb6 | ||
|
|
05c8de4733 | ||
|
|
90fa63a8fb | ||
|
|
33f343e454 | ||
|
|
cdd6064f2f | ||
|
|
7ce68a0673 | ||
|
|
e7e42054d5 | ||
|
|
ea45e9f91b | ||
|
|
6212dccc2b | ||
|
|
d8d623fd7b | ||
|
|
dd7bd8469e | ||
|
|
348a5a8313 | ||
|
|
449a5b5201 | ||
|
|
66b7b1fabb | ||
|
|
aade274777 | ||
|
|
b5c94c24a4 | ||
|
|
211922ea02 | ||
|
|
959661c830 | ||
|
|
4a2c83a70d | ||
|
|
b5e5586ef6 | ||
|
|
bebd2cd97e | ||
|
|
fadec7a7a0 | ||
|
|
87b68aaa7b | ||
|
|
1e6d8b5a95 | ||
|
|
8dd3c75139 | ||
|
|
ec4a95efb2 | ||
|
|
1390ade131 | ||
|
|
d18d33a615 | ||
|
|
1574f82b8e | ||
|
|
a82ee8c038 | ||
|
|
5c397e125c | ||
|
|
48c9bf0726 | ||
|
|
cb5a7ad9cd | ||
|
|
ae75d95d7c | ||
|
|
68edc66fb7 | ||
|
|
d2ea30e70f | ||
|
|
9f80c1da7c | ||
|
|
4b8295b7c7 | ||
|
|
1e37261cfa | ||
|
|
0acfe7cd24 | ||
|
|
5f6641c38f | ||
|
|
c2f23223a2 | ||
|
|
94aceb3f0f | ||
|
|
bce3e498e8 | ||
|
|
b9052c6ebb | ||
|
|
c15de9bf27 | ||
|
|
dc04f7edcc | ||
|
|
b1d6d50a4a | ||
|
|
5784cbd4fa | ||
|
|
757e0fd97b | ||
|
|
31c347475e | ||
|
|
80e31b642a | ||
|
|
8a9d218e4f | ||
|
|
6eaaf8b770 | ||
|
|
617934e91f | ||
|
|
06d5e00fe2 | ||
|
|
377e218782 | ||
|
|
5e81b4a14d | ||
|
|
20b67a5a3c | ||
|
|
c55fec84fe | ||
|
|
acf6cc03d0 | ||
|
|
0e2d46c152 | ||
|
|
ea5d3b4185 | ||
|
|
c0a8df2a60 | ||
|
|
4bb40296fc | ||
|
|
c34e8c6961 | ||
|
|
1999e953dd | ||
|
|
40f83a2b60 | ||
|
|
8af5b3eb29 | ||
|
|
3485593e56 | ||
|
|
6c3563904c | ||
|
|
66435957bb | ||
|
|
1550a346c3 | ||
|
|
4fd6d6d816 | ||
|
|
be2027ce9a | ||
|
|
fa3313e293 | ||
|
|
7e0ea37b3c | ||
|
|
b0d9bd2ab7 | ||
|
|
42755dbb7c | ||
|
|
b9ff08d893 | ||
|
|
b997ff3a17 | ||
|
|
63aa862a67 | ||
|
|
52646de23e | ||
|
|
6e8e78b912 | ||
|
|
a7a56d0873 | ||
|
|
59a241de63 | ||
|
|
4740848ca5 | ||
|
|
651c9d5a0f | ||
|
|
bc5d80a13a | ||
|
|
b1db340227 | ||
|
|
8377d617cf | ||
|
|
f94e46ed24 | ||
|
|
aa1f3b39bd | ||
|
|
680dd34529 | ||
|
|
f301ba393a | ||
|
|
0ccc8b6239 | ||
|
|
adcf159916 | ||
|
|
4125cad44e | ||
|
|
6969e5f972 | ||
|
|
d0250abbc9 | ||
|
|
7485cd0880 |
@@ -36,33 +36,17 @@ body:
|
||||
validations:
|
||||
required: true
|
||||
|
||||
- type: input
|
||||
attributes:
|
||||
label: Installation method
|
||||
description: Describe how WiVRn and OpenComposite/xrizer were installed
|
||||
placeholder: flatpak --user, flatpak, AUR, Gentoo/Guru, built from sources...
|
||||
|
||||
- type: textarea
|
||||
attributes:
|
||||
label: Server Config
|
||||
description: |
|
||||
Provide the content of `config.json` for the server.
|
||||
Located in `${XDG_CONFIG_HOME-${HOME}/.config}/wivrn/config.json`
|
||||
or `~/.var/app/io.github.wivrn.wivrn/config/wivrn/config.json` for the flatpak version
|
||||
placeholder: |
|
||||
{
|
||||
"encoders": [
|
||||
{"codec": "h264"}
|
||||
]
|
||||
}
|
||||
description: Provide the content of `config.json` for the server.
|
||||
placeholder: Add the content of config.json here...
|
||||
|
||||
- type: textarea
|
||||
attributes:
|
||||
label: Server Logs
|
||||
description: Provide the `wivrn-server` output.
|
||||
placeholder: |
|
||||
Add the output of the wivrn-server here.
|
||||
If more than a few lines, prefer file attachment.
|
||||
placeholder: Add the output of the wivrn-server here...
|
||||
|
||||
- type: dropdown
|
||||
id: gpu
|
||||
@@ -80,7 +64,7 @@ body:
|
||||
attributes:
|
||||
label: Vulkan Info
|
||||
description: Provide the output of `vulkaninfo --summary` command.
|
||||
placeholder: Attach the output as a file here.
|
||||
placeholder: Add the output of vulkaninfo command here...
|
||||
|
||||
- type: dropdown
|
||||
id: hmd
|
||||
@@ -106,4 +90,4 @@ body:
|
||||
attributes:
|
||||
label: ADB Logs
|
||||
description: Provide the output of `adb logcat` command.
|
||||
placeholder: Attach the output of adb logcat as a file.
|
||||
placeholder: Add the output of adb logcat command here...
|
||||
|
||||
@@ -0,0 +1,6 @@
|
||||
version: "1"
|
||||
rules:
|
||||
- base: master
|
||||
upstream: WiVRn:master
|
||||
mergeMethod: hardreset
|
||||
|
||||
@@ -22,9 +22,14 @@ jobs:
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
# Checkout from upstream instead of WiVRn-APK to ensure the GIT_DESC variable is set correctly
|
||||
repository: 'WiVRn/WiVRn'
|
||||
repository: 'Vindicus999/WiVRn'
|
||||
ref: ${{ github.sha }}
|
||||
fetch-depth: 0
|
||||
#
|
||||
# - uses: actions/checkout@v4
|
||||
# with:
|
||||
# repository: 'Vindicus999/WiVRn'
|
||||
# ref: sneed
|
||||
|
||||
- name: set up JDK
|
||||
uses: actions/setup-java@v4
|
||||
@@ -68,7 +73,9 @@ jobs:
|
||||
- name: Prepare before archiving artifacts
|
||||
run: |
|
||||
mkdir apk
|
||||
ls build/outputs/apk/
|
||||
mv $(find build/outputs/apk/ -name "*.apk") apk/
|
||||
ls apk/
|
||||
mkdir debug
|
||||
mv build/intermediates/merged_native_libs/*/*/out/lib/* debug/
|
||||
find debug -name libopenxr_loader.so -delete
|
||||
@@ -102,13 +109,15 @@ jobs:
|
||||
pattern: 'apk-*'
|
||||
merge-multiple: true
|
||||
|
||||
- name: Rename APK artifacts
|
||||
run: |
|
||||
cd apk
|
||||
for f in *.apk; do
|
||||
BASENAME=`echo ${f}|awk -F '-APK-' '{print $2}'`
|
||||
mv "${f}" "org.meumeu.wivrn-${BASENAME}"
|
||||
done
|
||||
# - name: Rename APK artifacts
|
||||
# run: |
|
||||
# cd apk
|
||||
# ls
|
||||
# for f in *.apk; do
|
||||
# BASENAME=`echo ${f}|awk -F '-APK-' '{print $2}'`
|
||||
# mv "${f}" "org.meumeu.wivrn-${BASENAME}"
|
||||
# done
|
||||
# ls
|
||||
|
||||
- name: Download APK debug artifacts
|
||||
uses: actions/download-artifact@v4
|
||||
@@ -122,6 +131,11 @@ jobs:
|
||||
cd symbols
|
||||
zip -r ../debug-symbols.zip .
|
||||
|
||||
- name: How the hell doesnt it work
|
||||
run: |
|
||||
ls apk
|
||||
ls
|
||||
|
||||
- name: APK Release
|
||||
uses: softprops/action-gh-release@v2
|
||||
with:
|
||||
|
||||
@@ -33,7 +33,7 @@ jobs:
|
||||
|
||||
- name: Install dependencies
|
||||
run: >
|
||||
sudo apt-get update && sudo apt-get install libvulkan-dev libcjson-dev libx264-dev libavcodec-dev libavutil-dev libswscale-dev libavfilter-dev libbsd-dev libavahi-client-dev libavahi-glib-dev libeigen3-dev glslang-tools libudev-dev libwayland-dev libx11-xcb-dev libxrandr-dev libxcb-randr0-dev libgl-dev libglx-dev mesa-common-dev libgl1-mesa-dev libglu1-mesa-dev libsystemd-dev libva-dev nlohmann-json3-dev libpulse-dev xz-utils libpipewire-0.3-dev libcli11-dev libboost-all-dev librsvg2-bin libssl-dev libnotify-dev librsvg2-dev libarchive-dev
|
||||
sudo apt-get update && sudo apt-get install libvulkan-dev libcjson-dev libx264-dev libavcodec-dev libavutil-dev libswscale-dev libavfilter-dev libbsd-dev libavahi-client-dev libavahi-glib-dev libeigen3-dev glslang-tools libudev-dev libwayland-dev libx11-xcb-dev libxrandr-dev libxcb-randr0-dev libgl-dev libglx-dev mesa-common-dev libgl1-mesa-dev libglu1-mesa-dev libsystemd-dev libva-dev nlohmann-json3-dev libpulse-dev xz-utils libpipewire-0.3-dev libcli11-dev libboost-all-dev librsvg2-bin libssl-dev libnotify-dev librsvg2-dev
|
||||
- name: Prepare Vulkan SDK
|
||||
uses: humbletim/setup-vulkan-sdk@286ed76c72de45dbf50c515779cf4ca2f6aa3944
|
||||
with:
|
||||
@@ -87,7 +87,7 @@ jobs:
|
||||
|
||||
- name: Install dependencies
|
||||
run: >
|
||||
apt-get update && apt-get install --yes libvulkan-dev libcjson-dev libx264-dev libavcodec-dev libavutil-dev libswscale-dev libavfilter-dev libbsd-dev libwayland-dev libx11-xcb-dev libxrandr-dev libxcb-randr0-dev libgl-dev libglx-dev mesa-common-dev libgl1-mesa-dev libglu1-mesa-dev libsystemd-dev libva-dev nlohmann-json3-dev qt6-base-dev qt6-tools-dev libcap-dev pkexec libboost-all-dev librsvg2-bin libssl-dev libnotify-dev qt6-declarative-dev extra-cmake-modules libkirigami-dev libkf6i18n-dev libkf6coreaddons-dev libkf6qqc2desktopstyle-dev libkf6iconthemes-dev jq sudo cmake gcc g++ git qcoro-qt6-dev librsvg2-dev libarchive-dev
|
||||
apt-get update && apt-get install --yes libvulkan-dev libcjson-dev libx264-dev libavcodec-dev libavutil-dev libswscale-dev libavfilter-dev libbsd-dev libwayland-dev libx11-xcb-dev libxrandr-dev libxcb-randr0-dev libgl-dev libglx-dev mesa-common-dev libgl1-mesa-dev libglu1-mesa-dev libsystemd-dev libva-dev nlohmann-json3-dev qt6-base-dev qt6-tools-dev libcap-dev pkexec libboost-all-dev librsvg2-bin libssl-dev libnotify-dev qt6-declarative-dev extra-cmake-modules libkirigami-dev libkf6i18n-dev libkf6coreaddons-dev libkf6qqc2desktopstyle-dev libkf6iconthemes-dev jq sudo cmake gcc g++ git qcoro-qt6-dev librsvg2-dev
|
||||
# runtime: qml6-module-qtqml-workerscript qml6-module-qtquick-dialogs
|
||||
- name: Prepare Vulkan SDK
|
||||
uses: humbletim/setup-vulkan-sdk@286ed76c72de45dbf50c515779cf4ca2f6aa3944
|
||||
@@ -192,7 +192,7 @@ jobs:
|
||||
|
||||
- name: install server dependencies
|
||||
run: >
|
||||
sudo apt-get update && sudo apt-get install libavahi-glib-dev nlohmann-json3-dev libpulse-dev xz-utils libpipewire-0.3-dev libcli11-dev qt6-base-dev qt6-tools-dev libcap-dev pkexec libnotify-dev librsvg2-dev libarchive-dev
|
||||
sudo apt-get update && sudo apt-get install libavahi-glib-dev nlohmann-json3-dev libpulse-dev xz-utils libpipewire-0.3-dev libcli11-dev qt6-base-dev qt6-tools-dev libcap-dev pkexec libnotify-dev librsvg2-dev
|
||||
|
||||
- name: Configure CMake
|
||||
run: >
|
||||
@@ -467,7 +467,7 @@ jobs:
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
apt update
|
||||
apt install --yes libcjson-dev libx264-dev libavcodec-dev libavutil-dev libswscale-dev libavfilter-dev libbsd-dev libavahi-client-dev libavahi-glib-dev libeigen3-dev glslang-tools libudev-dev libwayland-dev libx11-xcb-dev libxrandr-dev libxcb-randr0-dev libgl-dev libglx-dev mesa-common-dev libgl1-mesa-dev libglu1-mesa-dev libsystemd-dev libva-dev nlohmann-json3-dev libpulse-dev xz-utils libpipewire-0.3-dev libcli11-dev qt6-base-dev qt6-tools-dev libcap-dev pkexec libboost-all-dev librsvg2-bin dpkg-dev pkg-config debhelper-compat build-essential lintian cmake libnotify-dev qt6-declarative-dev extra-cmake-modules libkirigami-dev libkf6i18n-dev libkf6coreaddons-dev libkf6qqc2desktopstyle-dev libkf6iconthemes-dev jq sudo cmake gcc g++ git wget libssl-dev qcoro-qt6-dev librsvg2-dev libarchive-dev
|
||||
apt install --yes libcjson-dev libx264-dev libavcodec-dev libavutil-dev libswscale-dev libavfilter-dev libbsd-dev libavahi-client-dev libavahi-glib-dev libeigen3-dev glslang-tools libudev-dev libwayland-dev libx11-xcb-dev libxrandr-dev libxcb-randr0-dev libgl-dev libglx-dev mesa-common-dev libgl1-mesa-dev libglu1-mesa-dev libsystemd-dev libva-dev nlohmann-json3-dev libpulse-dev xz-utils libpipewire-0.3-dev libcli11-dev qt6-base-dev qt6-tools-dev libcap-dev pkexec libboost-all-dev librsvg2-bin dpkg-dev pkg-config debhelper-compat build-essential lintian cmake libnotify-dev qt6-declarative-dev extra-cmake-modules libkirigami-dev libkf6i18n-dev libkf6coreaddons-dev libkf6qqc2desktopstyle-dev libkf6iconthemes-dev jq sudo cmake gcc g++ git wget libssl-dev qcoro-qt6-dev librsvg2-dev
|
||||
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
|
||||
@@ -9,14 +9,10 @@ jobs:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
sudo apt-get update && sudo apt-get install gettext
|
||||
pip install polib PyGithub
|
||||
run: sudo apt-get update && sudo apt-get install gettext qt6-base-dev qt6-tools-dev qt6-l10n-tools qtchooser python3-polib
|
||||
|
||||
- name: Check that .po files are up to date
|
||||
run: |
|
||||
if [[ "${{github.ref}}" == 'refs/heads/master' ]] ; then
|
||||
tools/check_po.py --manage-issues --github-repository "${{ github.repository }}" --github-token "${{ github.token }}"
|
||||
else
|
||||
tools/check_po.py
|
||||
fi
|
||||
qtchooser -install qt6 $(which qmake6)
|
||||
export QT_SELECT=qt6
|
||||
tools/check_messages.sh
|
||||
|
||||
@@ -0,0 +1,34 @@
|
||||
name: Sync Upstream
|
||||
|
||||
env:
|
||||
UPSTREAM_URL: "https://github.com/wivrn/wivrn.git"
|
||||
WORKFLOW_TOKEN: ${{ secrets.DOWNSTREAM_GITHUB_TOKEN }}
|
||||
UPSTREAM_BRANCH: "master"
|
||||
|
||||
on:
|
||||
schedule:
|
||||
- cron: '0 5/6 * * *'
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: GitHub Sync to Upstream Repository
|
||||
uses: dabreadman/sync-upstream-repo@v1.3.0
|
||||
with:
|
||||
upstream_repo: ${{ env.UPSTREAM_URL }}
|
||||
upstream_branch: ${{ env.UPSTREAM_BRANCH }}
|
||||
token: ${{ env.WORKFLOW_TOKEN }}
|
||||
|
||||
- name: Checkout stuff
|
||||
uses: actions/checkout@master
|
||||
|
||||
- name: Merge sneed -> master
|
||||
uses: devmasx/merge-branch@master
|
||||
with:
|
||||
type: now
|
||||
from_branch: sneed
|
||||
target_branch: master
|
||||
github_token: ${{ env.WORKFLOW_TOKEN }}
|
||||
|
||||
+3
-4
@@ -42,12 +42,12 @@ auto_option(WIVRN_USE_X264 "Enable x264 software encoder" AUTO)
|
||||
auto_option(WIVRN_USE_PIPEWIRE "Enable pipewire backend" AUTO)
|
||||
auto_option(WIVRN_USE_PULSEAUDIO "Enable pulseaudio backend" AUTO)
|
||||
|
||||
set(OVR_COMPAT_SEARCH_PATH "/opt/xrizer:/usr/local/lib/OpenComposite:/usr/lib/OpenComposite:/opt/OpenComposite:/opt/opencomposite"
|
||||
set(OVR_COMPAT_SEARCH_PATH "/usr/local/lib/OpenComposite:/usr/lib/OpenComposite:/opt/OpenComposite:/opt/opencomposite:/opt/xrizer"
|
||||
CACHE STRING "List of places to search for the OpenVR compatibility layer, separated by :")
|
||||
|
||||
option(WIVRN_FEATURE_DEBUG_GUI "Enable Monado debug GUI" OFF)
|
||||
option(WIVRN_FEATURE_RENDERDOC "Support renderdoc" OFF)
|
||||
set(WIVRN_FEATURE_SOLARXR OFF) # Will be added back when merged in upstream Monado
|
||||
option(WIVRN_FEATURE_SOLARXR "Enable SolarXR driver" OFF)
|
||||
option(WIVRN_FEATURE_STEAMVR_LIGHTHOUSE "Enable SteamVR Lighthouse driver" OFF)
|
||||
|
||||
option(WIVRN_CHECK_CAPSYSNICE "Check if CAP_SYS_NICE is available at startup" ON)
|
||||
@@ -185,8 +185,7 @@ endif()
|
||||
|
||||
if (WIVRN_BUILD_DASHBOARD OR WIVRN_BUILD_SERVER)
|
||||
pkg_check_modules(librsvg-2.0 REQUIRED IMPORTED_TARGET librsvg-2.0)
|
||||
find_package(LibArchive REQUIRED)
|
||||
find_package(PNG REQUIRED)
|
||||
find_package(PNG)
|
||||
endif()
|
||||
|
||||
if (WIVRN_BUILD_DASHBOARD)
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 930 B After Width: | Height: | Size: 3.1 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 581 B After Width: | Height: | Size: 292 B |
+15
-1
@@ -4,7 +4,7 @@ buildscript {
|
||||
mavenCentral()
|
||||
}
|
||||
dependencies {
|
||||
classpath 'com.android.tools.build:gradle:8.7.3'
|
||||
classpath 'com.android.tools.build:gradle:8.12.1'
|
||||
}
|
||||
}
|
||||
|
||||
@@ -207,4 +207,18 @@ android {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
buildTypes.all { variant ->
|
||||
sourceSets {
|
||||
"${variant.name}" {
|
||||
jniLibs.srcDirs layout.buildDirectory.dir("libs${variant.name.capitalize()}")
|
||||
}
|
||||
}
|
||||
|
||||
externalNativeBuild{
|
||||
cmake {
|
||||
arguments '-DCMAKE_ANDROID_LIB_DIRECTORIES=' + layout.buildDirectory.dir("libs${variant.name.capitalize()}").get().asFile
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+18
-38
@@ -91,22 +91,7 @@ file(GLOB_RECURSE VULKAN_SHADERS CONFIGURE_DEPENDS "*.glsl")
|
||||
target_sources(wivrn PRIVATE ${LOCAL_SOURCE} ${VULKAN_SHADERS})
|
||||
wivrn_compile_glsl(wivrn ${VULKAN_SHADERS})
|
||||
|
||||
target_link_libraries(wivrn
|
||||
Boost::locale
|
||||
Boost::url
|
||||
EnTT::EnTT
|
||||
fastgltf
|
||||
FreetypeHarfbuzz
|
||||
glm::glm
|
||||
imspinner
|
||||
simdjson
|
||||
spdlog::spdlog
|
||||
stb
|
||||
uni-algo
|
||||
Vulkan::Vulkan
|
||||
wivrn-common
|
||||
wivrn-external
|
||||
)
|
||||
target_link_libraries(wivrn Vulkan::Vulkan spdlog::spdlog glm::glm fastgltf FreetypeHarfbuzz stb Boost::url Boost::locale)
|
||||
|
||||
if (WIVRN_USE_LIBKTX)
|
||||
target_link_libraries(wivrn ktx_read)
|
||||
@@ -122,6 +107,10 @@ if(NOT ANDROID)
|
||||
install(TARGETS wivrn)
|
||||
endif()
|
||||
|
||||
target_link_libraries(wivrn simdjson uni-algo wivrn-common wivrn-external)
|
||||
|
||||
|
||||
|
||||
##############################################################################
|
||||
# Dear ImGui
|
||||
#
|
||||
@@ -151,6 +140,10 @@ target_link_libraries(wivrn-imgui FreetypeHarfbuzz)
|
||||
target_link_libraries(wivrn wivrn-imgui)
|
||||
|
||||
|
||||
##############################################################################
|
||||
# EnTT
|
||||
#
|
||||
target_link_libraries(wivrn EnTT::EnTT)
|
||||
|
||||
##############################################################################
|
||||
# Vulkan Validation Layer
|
||||
@@ -166,14 +159,14 @@ khronos_validation.enables = VK_VALIDATION_FEATURE_ENABLE_THREAD_SAFETY_EXT
|
||||
endif()
|
||||
|
||||
if(USE_ANDROID_VALIDATION_LAYER)
|
||||
set(VVL_VERSION "1.3.231.1")
|
||||
set(VVL_VERSION "1.4.321.0")
|
||||
|
||||
if(NOT EXISTS ${CMAKE_BINARY_DIR}/Vulkan-ValidationLayers-${VVL_VERSION}.zip)
|
||||
if (EXISTS ${CMAKE_SOURCE_DIR}/Vulkan-ValidationLayers-${VVL_VERSION}.zip)
|
||||
file(CREATE_LINK ${CMAKE_SOURCE_DIR}/Vulkan-ValidationLayers-${VVL_VERSION}.zip ${CMAKE_BINARY_DIR}/Vulkan-ValidationLayers-${VVL_VERSION}.zip SYMBOLIC)
|
||||
else()
|
||||
file(DOWNLOAD https://github.com/KhronosGroup/Vulkan-ValidationLayers/releases/download/sdk-${VVL_VERSION}/android-binaries-${VVL_VERSION}.zip ${CMAKE_BINARY_DIR}/Vulkan-ValidationLayers-${VVL_VERSION}.zip
|
||||
EXPECTED_HASH SHA256=eec3a54222d6d33d4f787a13a45c60ac5b9e8d7bf795fc41e4242354a02e34ba)
|
||||
file(DOWNLOAD https://github.com/KhronosGroup/Vulkan-ValidationLayers/releases/download/vulkan-sdk-${VVL_VERSION}/android-binaries-${VVL_VERSION}.zip ${CMAKE_BINARY_DIR}/Vulkan-ValidationLayers-${VVL_VERSION}.zip
|
||||
EXPECTED_HASH SHA256=75f2881ba7af0507c8cec13b4bf6c95556c6333485cdb8be41f608fccf762128)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
@@ -181,12 +174,9 @@ if(USE_ANDROID_VALIDATION_LAYER)
|
||||
|
||||
file(ARCHIVE_EXTRACT INPUT ${CMAKE_BINARY_DIR}/Vulkan-ValidationLayers-${VVL_VERSION}.zip DESTINATION ${CMAKE_BINARY_DIR}/Vulkan-ValidationLayer)
|
||||
|
||||
add_library(vvl1 SHARED IMPORTED)
|
||||
set_property(TARGET vvl1 PROPERTY IMPORTED_LOCATION ${CMAKE_BINARY_DIR}/Vulkan-ValidationLayer/${CMAKE_ANDROID_ARCH_ABI}/libVkLayer_khronos_validation.so)
|
||||
add_library(vvl2 SHARED IMPORTED)
|
||||
set_property(TARGET vvl2 PROPERTY IMPORTED_LOCATION ${CMAKE_BINARY_DIR}/Vulkan-ValidationLayer/${CMAKE_ANDROID_ARCH_ABI}/libc++_shared.so)
|
||||
|
||||
target_link_libraries(wivrn vvl1 vvl2) # Hack to get gradle to package the validation layer in the APK
|
||||
file(COPY
|
||||
${CMAKE_BINARY_DIR}/Vulkan-ValidationLayer/android-binaries-${VVL_VERSION}/${CMAKE_ANDROID_ARCH_ABI}
|
||||
DESTINATION ${CMAKE_ANDROID_LIB_DIRECTORIES})
|
||||
endif()
|
||||
|
||||
|
||||
@@ -236,14 +226,8 @@ add_custom_command(OUTPUT ${ASSETS_DIR}/wivrn.png
|
||||
COMMAND ${RSVG_CONVERT} ${IMG_SRC_DIR}/wivrn.svg -w 540 -h 540 -o ${ASSETS_DIR}/wivrn.png ${RSVG_OPTS}
|
||||
DEPENDS ${IMG_SRC_DIR}/wivrn.svg ${WIVRN_CSS_ABS})
|
||||
|
||||
add_custom_command(OUTPUT ${ASSETS_DIR}/wivrn-pride.png
|
||||
COMMAND ${RSVG_CONVERT} ${IMG_SRC_DIR}/wivrn-pride.svg -w 540 -h 540 -o ${ASSETS_DIR}/wivrn-pride.png ${RSVG_OPTS}
|
||||
DEPENDS ${IMG_SRC_DIR}/wivrn-pride.svg ${WIVRN_CSS_ABS})
|
||||
|
||||
add_custom_target(assets ALL DEPENDS
|
||||
${ASSETS_DIR}/wivrn.png
|
||||
${ASSETS_DIR}/wivrn-pride.png
|
||||
)
|
||||
${ASSETS_DIR}/wivrn.png)
|
||||
|
||||
add_dependencies(wivrn assets)
|
||||
|
||||
@@ -252,9 +236,6 @@ if(ANDROID)
|
||||
add_custom_command(OUTPUT ${ASSETS_DIR}/wivrn.ktx2
|
||||
COMMAND ${TOKTX} --encode astc --astc_blk_d 4x4 --astc_quality 100 --genmipmap ${ASSETS_DIR}/wivrn.ktx2 ${ASSETS_DIR}/wivrn.png
|
||||
DEPENDS ${ASSETS_DIR}/wivrn.png)
|
||||
add_custom_command(OUTPUT ${ASSETS_DIR}/wivrn-pride.ktx2
|
||||
COMMAND ${TOKTX} --encode astc --astc_blk_d 4x4 --astc_quality 100 --genmipmap ${ASSETS_DIR}/wivrn-pride.ktx2 ${ASSETS_DIR}/wivrn-pride.png
|
||||
DEPENDS ${ASSETS_DIR}/wivrn-pride.png)
|
||||
|
||||
add_custom_command(OUTPUT ${ASSETS_DIR}/default_icon.ktx2
|
||||
COMMAND ${TOKTX} --encode astc --astc_blk_d 4x4 --astc_quality 100 --genmipmap ${ASSETS_DIR}/wivrn-pride.ktx2 ${ASSETS_DIR}/default_icon.png
|
||||
@@ -270,10 +251,9 @@ if(ANDROID)
|
||||
|
||||
add_custom_target(assets-android ALL DEPENDS
|
||||
${ASSETS_DIR}/wivrn.ktx2
|
||||
${ASSETS_DIR}/wivrn-pride.ktx2
|
||||
${ASSETS_DIR}/WoodFloor051_1K-JPG_Color.ktx2
|
||||
${ASSETS_DIR}/vr_splash.png
|
||||
)
|
||||
${ASSETS_DIR}/vr_splash.png)
|
||||
|
||||
add_dependencies(assets-android assets)
|
||||
add_dependencies(wivrn assets-android)
|
||||
endif()
|
||||
|
||||
@@ -649,6 +649,7 @@ VkBool32 application::vulkan_debug_report_callback(
|
||||
}
|
||||
|
||||
#ifndef NDEBUG
|
||||
bool my_error = true;
|
||||
if (level >= spdlog::level::warn)
|
||||
{
|
||||
bool validation_layer_found = false;
|
||||
@@ -659,10 +660,13 @@ VkBool32 application::vulkan_debug_report_callback(
|
||||
|
||||
if (validation_layer_found && i.library != "libVkLayer_khronos_validation.so")
|
||||
spdlog::log(level, "{:#016x}: {} + {:#x}", i.pc, i.library, i.pc - i.library_base);
|
||||
|
||||
if (i.library == "libopenxr_loader.so")
|
||||
my_error = false;
|
||||
}
|
||||
}
|
||||
|
||||
if (level >= spdlog::level::err)
|
||||
if (level >= spdlog::level::err and my_error)
|
||||
abort();
|
||||
#endif
|
||||
|
||||
|
||||
@@ -214,9 +214,6 @@ configuration::configuration(xr::system & system)
|
||||
if (auto val = root["resolution_scale"]; val.is_double())
|
||||
resolution_scale = val.get_double();
|
||||
|
||||
if (auto val = root["enable_stream_gui"]; val.is_bool())
|
||||
enable_stream_gui = val.get_bool();
|
||||
|
||||
if (auto val = root["sgsr"]; val.is_object())
|
||||
parse_sgsr_options(val.get_object());
|
||||
|
||||
@@ -368,7 +365,6 @@ void configuration::save()
|
||||
json << ",\"mic_unprocessed_audio\":" << std::boolalpha << mic_unprocessed_audio;
|
||||
json << ",\"fb_lower_body\":" << std::boolalpha << fb_lower_body;
|
||||
json << ",\"fb_hip\":" << std::boolalpha << fb_hip;
|
||||
json << ",\"enable_stream_gui\":" << std::boolalpha << enable_stream_gui;
|
||||
for (auto & [key, value]: features)
|
||||
json << "," << key << ":" << std::boolalpha << value;
|
||||
json << ",\"virtual_keyboard_layout\":" << json_string(virtual_keyboard_layout);
|
||||
|
||||
@@ -56,8 +56,6 @@ public:
|
||||
bool fb_lower_body = false;
|
||||
bool fb_hip = true;
|
||||
|
||||
bool enable_stream_gui = true;
|
||||
|
||||
// Snapdragon Game Super Resolution
|
||||
struct sgsr_settings
|
||||
{
|
||||
|
||||
+92
-116
@@ -383,18 +383,9 @@ void scenes::lobby::connect(const configuration::server_data & data)
|
||||
data.manual);
|
||||
}
|
||||
|
||||
std::optional<glm::vec3> scenes::lobby::check_recenter_gesture(xr::spaces space, const std::optional<std::array<xr::hand_tracker::joint, XR_HAND_JOINT_COUNT_EXT>> & joints)
|
||||
std::optional<glm::vec3> scenes::lobby::check_recenter_gesture(const std::array<xr::hand_tracker::joint, XR_HAND_JOINT_COUNT_EXT> & joints)
|
||||
{
|
||||
if (recentering_context and std::get<0>(*recentering_context) != space)
|
||||
return std::nullopt;
|
||||
|
||||
if (not joints)
|
||||
{
|
||||
recentering_context.reset();
|
||||
return std::nullopt;
|
||||
}
|
||||
|
||||
const auto & palm = (*joints)[XR_HAND_JOINT_PALM_EXT].first;
|
||||
const auto & palm = joints[XR_HAND_JOINT_PALM_EXT].first;
|
||||
const auto & o = palm.pose.orientation;
|
||||
const auto & p = palm.pose.position;
|
||||
glm::quat q{o.w, o.x, o.y, o.z};
|
||||
@@ -402,130 +393,102 @@ std::optional<glm::vec3> scenes::lobby::check_recenter_gesture(xr::spaces space,
|
||||
|
||||
if (glm::dot(q * glm::vec3(0, 1, 0), glm::vec3(0, -1, 0)) > constants::lobby::recenter_cosangle_min)
|
||||
{
|
||||
recentering_context.emplace(space, glm::vec3{}, 0);
|
||||
return v + glm::vec3(0, constants::lobby::recenter_distance_up, 0) + q * glm::vec3(0, 0, -constants::lobby::recenter_distance_front);
|
||||
}
|
||||
|
||||
recentering_context.reset();
|
||||
return std::nullopt;
|
||||
}
|
||||
|
||||
std::optional<glm::vec3> scenes::lobby::check_recenter_action(XrTime predicted_display_time, glm::vec3 head_position)
|
||||
{
|
||||
xr::spaces controller;
|
||||
glm::vec3 recenter_position;
|
||||
float recenter_distance;
|
||||
std::optional<std::pair<glm::vec3, glm::quat>> aim;
|
||||
glm::vec3 offset_position;
|
||||
glm::quat offset_orientation;
|
||||
|
||||
if (recentering_context)
|
||||
if (application::read_action_bool(recenter_left_action).value_or(std::pair{0, false}).second)
|
||||
{
|
||||
controller = std::get<0>(*recentering_context);
|
||||
bool state;
|
||||
switch (controller)
|
||||
{
|
||||
case xr::spaces::aim_left:
|
||||
state = application::read_action_bool(recenter_left_action).value_or(std::pair{0, false}).second;
|
||||
break;
|
||||
|
||||
case xr::spaces::aim_right:
|
||||
state = application::read_action_bool(recenter_right_action).value_or(std::pair{0, false}).second;
|
||||
break;
|
||||
|
||||
default:
|
||||
return std::nullopt;
|
||||
}
|
||||
|
||||
if (not state)
|
||||
{
|
||||
recentering_context.reset();
|
||||
return std::nullopt;
|
||||
}
|
||||
}
|
||||
else if (auto state = application::read_action_bool(recenter_left_action); state and state->second)
|
||||
controller = xr::spaces::aim_left;
|
||||
else if (auto state = application::read_action_bool(recenter_right_action); state and state->second)
|
||||
controller = xr::spaces::aim_right;
|
||||
else
|
||||
return std::nullopt;
|
||||
|
||||
auto aim = application::locate_controller(application::space(controller), application::space(xr::spaces::world), predicted_display_time);
|
||||
|
||||
if (not aim)
|
||||
{
|
||||
// The controller cannot be located
|
||||
recentering_context.reset();
|
||||
return std::nullopt;
|
||||
aim = application::locate_controller(application::space(xr::spaces::aim_left), application::space(xr::spaces::world), predicted_display_time);
|
||||
std::tie(offset_position, offset_orientation) = input->offset[xr::spaces::aim_left];
|
||||
}
|
||||
|
||||
// Handle controller offset
|
||||
auto [offset_position, offset_orientation] = input->offset[controller];
|
||||
aim->first = aim->first + glm::mat3_cast(aim->second * offset_orientation) * offset_position;
|
||||
aim->second = aim->second * offset_orientation;
|
||||
|
||||
if (not recentering_context)
|
||||
if (application::read_action_bool(recenter_right_action).value_or(std::pair{0, false}).second)
|
||||
{
|
||||
// First frame of recentering
|
||||
imgui_context::controller_state state{
|
||||
.active = true,
|
||||
.aim_position = aim->first,
|
||||
.aim_orientation = aim->second,
|
||||
};
|
||||
aim = application::locate_controller(application::space(xr::spaces::aim_right), application::space(xr::spaces::world), predicted_display_time);
|
||||
std::tie(offset_position, offset_orientation) = input->offset[xr::spaces::aim_right];
|
||||
}
|
||||
|
||||
imgui_ctx->compute_pointer_position(state);
|
||||
if (aim)
|
||||
{
|
||||
// Handle controller offset
|
||||
aim->first = aim->first + glm::mat3_cast(aim->second * offset_orientation) * offset_position;
|
||||
aim->second = aim->second * offset_orientation;
|
||||
|
||||
if (state.pointer_position) // TODO: check that the pointer is inside an imgui window
|
||||
if (not gui_recenter_position or not gui_recenter_distance)
|
||||
{
|
||||
auto M = glm::mat3_cast(imgui_ctx->layers()[0].orientation);
|
||||
// First frame where the recenter action is active
|
||||
imgui_context::controller_state state{
|
||||
.active = true,
|
||||
.aim_position = aim->first,
|
||||
.aim_orientation = aim->second,
|
||||
};
|
||||
|
||||
// Pointer position in world
|
||||
glm::vec3 world_pointer_position = imgui_ctx->rw_from_vp(*state.pointer_position);
|
||||
imgui_ctx->compute_pointer_position(state);
|
||||
|
||||
// Pointer position in GUI
|
||||
recenter_position = glm::transpose(M) * (world_pointer_position - imgui_ctx->layers()[0].position);
|
||||
recenter_distance = glm::length(state.aim_position - world_pointer_position);
|
||||
if (state.pointer_position) // TODO: check that the pointer is inside an imgui window
|
||||
{
|
||||
auto M = glm::mat3_cast(imgui_ctx->layers()[0].orientation);
|
||||
|
||||
// Pointer position in world
|
||||
glm::vec3 world_pointer_position = imgui_ctx->rw_from_vp(*state.pointer_position);
|
||||
|
||||
// Pointer position in GUI
|
||||
gui_recenter_position = glm::transpose(M) * (world_pointer_position - imgui_ctx->layers()[0].position);
|
||||
gui_recenter_distance = glm::length(state.aim_position - world_pointer_position);
|
||||
}
|
||||
else
|
||||
{
|
||||
gui_recenter_position = glm::vec3(0, 0, 0);
|
||||
gui_recenter_distance = constants::lobby::recenter_action_distance;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
// Use the center of the GUI if the controller points outside of the GUI
|
||||
recenter_position = glm::vec3(0, 0, 0);
|
||||
recenter_distance = constants::lobby::recenter_action_distance;
|
||||
}
|
||||
// Subsequent frames: find the GUI position that gives the correct world pointer position
|
||||
glm::vec3 controller_direction = -glm::column(glm::mat3_cast(aim->second), 2);
|
||||
glm::vec3 wanted_world_pointer_position = aim->first + controller_direction * *gui_recenter_distance;
|
||||
|
||||
recentering_context.emplace(controller, recenter_position, recenter_distance);
|
||||
return std::nullopt;
|
||||
// I'm sure there's an analytical solution but I can't be bothered to write it so
|
||||
// let's use a gradient descent instead
|
||||
auto f = [&](glm::vec3 new_gui_position) {
|
||||
auto q = compute_gui_orientation(head_position, new_gui_position);
|
||||
auto M = glm::mat3_cast(q); // plane-to-world transform
|
||||
|
||||
glm::vec3 world_pointer_position = new_gui_position + M * *gui_recenter_position;
|
||||
|
||||
return world_pointer_position - wanted_world_pointer_position;
|
||||
};
|
||||
|
||||
// One step is usually enough, the solution will continuously improve in the next frames
|
||||
glm::vec3 gui_position = imgui_ctx->layers()[0].position;
|
||||
float eps = 0.01;
|
||||
glm::vec3 obj = f(gui_position);
|
||||
glm::vec3 obj_dx = (f(gui_position + glm::vec3(eps, 0, 0)) - obj) / eps;
|
||||
glm::vec3 obj_dy = (f(gui_position + glm::vec3(0, eps, 0)) - obj) / eps;
|
||||
glm::vec3 obj_dz = (f(gui_position + glm::vec3(0, 0, eps)) - obj) / eps;
|
||||
|
||||
glm::mat3 jacobian{obj_dx, obj_dy, obj_dz};
|
||||
|
||||
gui_position -= glm::inverse(jacobian) * obj;
|
||||
|
||||
return gui_position;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
// Subsequent frames: find the GUI position that gives the correct world pointer position
|
||||
std::tie(controller, recenter_position, recenter_distance) = *recentering_context;
|
||||
|
||||
glm::vec3 controller_direction = -glm::column(glm::mat3_cast(aim->second), 2);
|
||||
glm::vec3 wanted_world_pointer_position = aim->first + controller_direction * recenter_distance;
|
||||
|
||||
// I'm sure there's an analytical solution but I can't be bothered to write it so
|
||||
// let's use a gradient descent instead
|
||||
auto f = [&](glm::vec3 new_gui_position) {
|
||||
auto q = compute_gui_orientation(head_position, new_gui_position);
|
||||
auto M = glm::mat3_cast(q); // plane-to-world transform
|
||||
|
||||
glm::vec3 world_pointer_position = new_gui_position + M * recenter_position;
|
||||
|
||||
return world_pointer_position - wanted_world_pointer_position;
|
||||
};
|
||||
|
||||
// One step is usually enough, the solution will continuously improve in the next frames
|
||||
glm::vec3 gui_position = imgui_ctx->layers()[0].position;
|
||||
float eps = 0.01;
|
||||
glm::vec3 obj = f(gui_position);
|
||||
glm::vec3 obj_dx = (f(gui_position + glm::vec3(eps, 0, 0)) - obj) / eps;
|
||||
glm::vec3 obj_dy = (f(gui_position + glm::vec3(0, eps, 0)) - obj) / eps;
|
||||
glm::vec3 obj_dz = (f(gui_position + glm::vec3(0, 0, eps)) - obj) / eps;
|
||||
|
||||
glm::mat3 jacobian{obj_dx, obj_dy, obj_dz};
|
||||
|
||||
gui_position -= glm::inverse(jacobian) * obj;
|
||||
|
||||
return gui_position;
|
||||
gui_recenter_position.reset();
|
||||
}
|
||||
|
||||
return std::nullopt;
|
||||
}
|
||||
|
||||
std::optional<glm::vec3> scenes::lobby::check_recenter_gui(glm::vec3 head_position, glm::quat head_orientation)
|
||||
@@ -657,16 +620,18 @@ void scenes::lobby::render(const XrFrameState & frame_state)
|
||||
hand_model::apply(world, left, right);
|
||||
|
||||
if (left and xr::hand_tracker::check_flags(*left, XR_SPACE_LOCATION_POSITION_TRACKED_BIT | XR_SPACE_LOCATION_POSITION_VALID_BIT, 0))
|
||||
{
|
||||
hide_left_controller = true;
|
||||
if (!new_gui_position)
|
||||
new_gui_position = check_recenter_gesture(*left);
|
||||
}
|
||||
|
||||
if (right and xr::hand_tracker::check_flags(*right, XR_SPACE_LOCATION_POSITION_TRACKED_BIT | XR_SPACE_LOCATION_POSITION_VALID_BIT, 0))
|
||||
{
|
||||
hide_right_controller = true;
|
||||
|
||||
if (not new_gui_position)
|
||||
new_gui_position = check_recenter_gesture(xr::spaces::palm_left, left);
|
||||
|
||||
if (not new_gui_position)
|
||||
new_gui_position = check_recenter_gesture(xr::spaces::palm_right, right);
|
||||
if (!new_gui_position)
|
||||
new_gui_position = check_recenter_gesture(*right);
|
||||
}
|
||||
}
|
||||
|
||||
if (head_position && new_gui_position)
|
||||
@@ -919,9 +884,20 @@ void scenes::lobby::on_focused()
|
||||
|
||||
imgui_ctx.emplace(physical_device, device, queue_family_index, queue, imgui_inputs, swapchain_imgui, vps);
|
||||
|
||||
std::string image;
|
||||
/* Could be used for more patriotics logos
|
||||
|
||||
auto t = std::chrono::system_clock::to_time_t(std::chrono::system_clock::now());
|
||||
auto tm = std::localtime(&t);
|
||||
std::string image = tm->tm_mon == 5 ? "wivrn-pride" : "wivrn";
|
||||
|
||||
switch (tm->tm_mon)
|
||||
{
|
||||
default:
|
||||
image = "wivrn";
|
||||
break;
|
||||
}
|
||||
*/
|
||||
image = "wivrn";
|
||||
try
|
||||
{
|
||||
about_picture = imgui_ctx->load_texture(image + ".ktx2");
|
||||
|
||||
@@ -30,7 +30,6 @@
|
||||
#include "wivrn_discover.h"
|
||||
#include "wivrn_packets.h"
|
||||
#include <vulkan/vulkan_raii.hpp>
|
||||
#include <openxr/openxr.h>
|
||||
|
||||
#include <optional>
|
||||
#include <vector>
|
||||
@@ -95,10 +94,8 @@ class lobby : public scene_impl<lobby>
|
||||
|
||||
XrAction recenter_left_action = XR_NULL_HANDLE;
|
||||
XrAction recenter_right_action = XR_NULL_HANDLE;
|
||||
// std::optional<glm::vec3> gui_recenter_position;
|
||||
// std::optional<float> gui_recenter_distance;
|
||||
// Which controller is used for recentering, position of the pointed point in the GUI, in GUI axes, and distance between the controller and the pointed point during recentering
|
||||
std::optional<std::tuple<xr::spaces, glm::vec3, float>> recentering_context;
|
||||
std::optional<glm::vec3> gui_recenter_position;
|
||||
std::optional<float> gui_recenter_distance;
|
||||
bool recenter_gui = true;
|
||||
void move_gui(glm::vec3 head_position, glm::vec3 new_gui_position);
|
||||
|
||||
@@ -123,7 +120,6 @@ class lobby : public scene_impl<lobby>
|
||||
ImTextureID about_picture;
|
||||
ImTextureID default_icon;
|
||||
std::unordered_map<std::string, ImTextureID> app_icons;
|
||||
std::optional<XrTime> timestamp_start_application;
|
||||
|
||||
virtual_keyboard keyboard;
|
||||
|
||||
@@ -140,7 +136,7 @@ class lobby : public scene_impl<lobby>
|
||||
void draw_features_status(XrTime predicted_display_time);
|
||||
void gui_connecting(locked_notifiable<pin_request_data> & request);
|
||||
void gui_enter_pin(locked_notifiable<pin_request_data> & request);
|
||||
void gui_connected(XrTime predicted_display_time);
|
||||
void gui_connected();
|
||||
void gui_server_list();
|
||||
void gui_new_server();
|
||||
void gui_settings();
|
||||
@@ -156,7 +152,7 @@ class lobby : public scene_impl<lobby>
|
||||
void connect(const configuration::server_data & data);
|
||||
std::unique_ptr<wivrn_session> connect_to_session(wivrn_discover::service service, bool manual_connection);
|
||||
|
||||
std::optional<glm::vec3> check_recenter_gesture(xr::spaces space, const std::optional<std::array<xr::hand_tracker::joint, XR_HAND_JOINT_COUNT_EXT>> & joints);
|
||||
std::optional<glm::vec3> check_recenter_gesture(const std::array<xr::hand_tracker::joint, XR_HAND_JOINT_COUNT_EXT> & joints);
|
||||
std::optional<glm::vec3> check_recenter_action(XrTime predicted_display_time, glm::vec3 head_position);
|
||||
std::optional<glm::vec3> check_recenter_gui(glm::vec3 head_position, glm::quat head_orientation);
|
||||
|
||||
|
||||
+12
-38
@@ -39,7 +39,6 @@
|
||||
#include <chrono>
|
||||
#include <filesystem>
|
||||
#include <glm/gtc/quaternion.hpp>
|
||||
#include <imspinner.h>
|
||||
#include <ranges>
|
||||
#include <spdlog/fmt/fmt.h>
|
||||
#include <string>
|
||||
@@ -246,7 +245,6 @@ void scenes::lobby::gui_connecting(locked_notifiable<pin_request_data> & pin_req
|
||||
if (next_scene)
|
||||
{
|
||||
current_tab = tab::connected;
|
||||
timestamp_start_application.reset();
|
||||
ImGui::CloseCurrentPopup();
|
||||
return;
|
||||
}
|
||||
@@ -377,7 +375,7 @@ void scenes::lobby::gui_enter_pin(locked_notifiable<pin_request_data> & pin_requ
|
||||
imgui_ctx->vibrate_on_hover();
|
||||
}
|
||||
|
||||
void scenes::lobby::gui_connected(XrTime predicted_display_time)
|
||||
void scenes::lobby::gui_connected()
|
||||
{
|
||||
if (not next_scene)
|
||||
{
|
||||
@@ -402,17 +400,14 @@ void scenes::lobby::gui_connected(XrTime predicted_display_time)
|
||||
|
||||
auto apps = next_scene->get_applications();
|
||||
ImGui::PushStyleVar(ImGuiStyleVar_ItemSpacing, {20, 20});
|
||||
if (apps->empty())
|
||||
if (apps->applications.empty())
|
||||
{
|
||||
CenterTextHV(_("Start an application on the server to start streaming."));
|
||||
}
|
||||
else
|
||||
{
|
||||
bool app_starting = timestamp_start_application and (predicted_display_time - *timestamp_start_application < 10'000'000'000);
|
||||
|
||||
ImGui::PushStyleVar(ImGuiStyleVar_WindowPadding, {20, 0});
|
||||
ImGui::BeginDisabled(app_starting);
|
||||
ImGui::BeginChild("Main", ImGui::GetWindowSize() - ImGui::GetCursorPos() - ImVec2(0, disconnect_size.y + 80), 0, app_starting ? ImGuiWindowFlags_NoScrollWithMouse : 0);
|
||||
ImGui::BeginChild("Main", ImGui::GetWindowSize() - ImGui::GetCursorPos() - ImVec2(0, disconnect_size.y + 80), 0);
|
||||
|
||||
ImGui::Indent(20);
|
||||
if (server_name.empty())
|
||||
@@ -431,7 +426,7 @@ void scenes::lobby::gui_connected(XrTime predicted_display_time)
|
||||
ImGui::Indent((usable_window_width - icon_line_width) / 2);
|
||||
|
||||
auto t0 = std::chrono::steady_clock::now();
|
||||
for (const auto [index, app]: utils::enumerate(*apps))
|
||||
for (const auto [index, app]: utils::enumerate(apps->applications))
|
||||
{
|
||||
ImTextureID texture = [&]() -> ImTextureID {
|
||||
if (app.image.empty())
|
||||
@@ -462,11 +457,8 @@ void scenes::lobby::gui_connected(XrTime predicted_display_time)
|
||||
}();
|
||||
|
||||
ImGui::PushStyleColor(ImGuiCol_Button, 0);
|
||||
if (icon(app.name + "##" + app.id, texture, {256, 256}, ImGuiButtonFlags_PressedOnClickRelease, {icon_width, 0}))
|
||||
{
|
||||
timestamp_start_application = predicted_display_time;
|
||||
if (icon(app.name + "##" + app.id, texture, {256, 256}, 0, {icon_width, 0}))
|
||||
next_scene->start_application(app.id);
|
||||
}
|
||||
imgui_ctx->vibrate_on_hover();
|
||||
ImGui::PopStyleColor(); // ImGuiCol_Button
|
||||
|
||||
@@ -478,7 +470,7 @@ void scenes::lobby::gui_connected(XrTime predicted_display_time)
|
||||
std::vector<std::pair<std::string, ImTextureID>> to_be_removed;
|
||||
for (const auto & [app_id, app_icon]: app_icons)
|
||||
{
|
||||
if (not std::ranges::contains(*apps, app_id, &scenes::stream::app::id))
|
||||
if (not std::ranges::contains(apps->applications, app_id, &to_headset::application_list::application::id))
|
||||
to_be_removed.emplace_back(app_id, app_icon);
|
||||
}
|
||||
for (const auto & [app_id, app_icon]: to_be_removed)
|
||||
@@ -489,26 +481,12 @@ void scenes::lobby::gui_connected(XrTime predicted_display_time)
|
||||
|
||||
ScrollWhenDragging();
|
||||
ImGui::EndChild();
|
||||
ImGui::EndDisabled();
|
||||
|
||||
if (app_starting)
|
||||
{
|
||||
ImGui::SetCursorPos(ImGui::GetWindowSize() / 2 - ImVec2{200, 200} - ImGui::GetStyle().FramePadding);
|
||||
ImSpinner::SpinnerAng("App starting spinner",
|
||||
200, // Radius
|
||||
40, // Thickness
|
||||
ImColor{1.f, 1.f, 1.f, 1.f}, // Colour
|
||||
ImColor{1.f, 1.f, 1.f, 0.f}, // Background
|
||||
6, // Velocity
|
||||
0.75f * 2 * M_PI // Angle
|
||||
);
|
||||
}
|
||||
|
||||
ImGui::PopStyleVar(); // ImGuiStyleVar_WindowPadding
|
||||
}
|
||||
ImGui::PopStyleVar();
|
||||
|
||||
ImGui::SetCursorPos(ImGui::GetWindowSize() - disconnect_size - ImVec2{50, 50});
|
||||
ImGui::SetCursorPosX(ImGui::GetWindowSize().x - disconnect_size.x - 50);
|
||||
ImGui::SetCursorPosY(ImGui::GetWindowSize().y - disconnect_size.y - 50);
|
||||
|
||||
ImGui::PushStyleColor(ImGuiCol_Button, ImVec4(0.8f, 0.2f, 0.2f, 0.40f));
|
||||
ImGui::PushStyleColor(ImGuiCol_ButtonHovered, ImVec4(0.8f, 0.2f, 0.2f, 1.00f));
|
||||
@@ -990,13 +968,6 @@ void scenes::lobby::gui_settings()
|
||||
imgui_ctx->tooltip(_("This feature is not supported by your headset"));
|
||||
ImGui::EndDisabled();
|
||||
|
||||
{
|
||||
ImGui::Checkbox(_S("Enable in-stream window"), &config.enable_stream_gui);
|
||||
imgui_ctx->vibrate_on_hover();
|
||||
if (ImGui::IsItemHovered())
|
||||
imgui_ctx->tooltip(_("Enables the configuration window to be shown while the game is streaming.\nIf enabled, the window is activated by pressing both thumbsticks."));
|
||||
}
|
||||
|
||||
ImGui::PopStyleVar(); // ImGuiStyleVar_ItemSpacing
|
||||
}
|
||||
|
||||
@@ -1279,6 +1250,9 @@ void scenes::lobby::gui_about()
|
||||
ImGui::SetCursorPosX(win_width / 4);
|
||||
|
||||
ImGui::Image(about_picture, {win_width / 2, win_width / 2});
|
||||
ImGui::PushFont(nullptr, constants::gui::font_size_large);
|
||||
CenterTextH(std::string("Sneed'n'Chuck Edition"));
|
||||
ImGui::PopFont();
|
||||
}
|
||||
|
||||
void scenes::lobby::gui_first_run()
|
||||
@@ -1916,7 +1890,7 @@ std::vector<std::pair<int, XrCompositionLayerQuad>> scenes::lobby::draw_gui(XrTi
|
||||
ImGui::PushStyleVar(ImGuiStyleVar_FrameRounding, 10);
|
||||
ImGui::PushStyleVar(ImGuiStyleVar_FramePadding, {10, 10});
|
||||
ImGui::Begin("WiVRn", nullptr, ImGuiWindowFlags_NoTitleBar | ImGuiWindowFlags_NoResize | ImGuiWindowFlags_NoMove);
|
||||
gui_connected(predicted_display_time);
|
||||
gui_connected();
|
||||
ImGui::End();
|
||||
ImGui::PopStyleVar(3); // ImGuiStyleVar_WindowPadding, ImGuiStyleVar_FrameRounding, ImGuiStyleVar_FramePadding
|
||||
}
|
||||
|
||||
+12
-18
@@ -189,11 +189,7 @@ std::shared_ptr<scenes::stream> scenes::stream::create(std::unique_ptr<wivrn_ses
|
||||
self->network_session = std::move(network_session);
|
||||
|
||||
self->network_session->send_control([&]() {
|
||||
from_headset::headset_info_packet info{
|
||||
.language = application::get_messages_info().language,
|
||||
.country = application::get_messages_info().country,
|
||||
.variant = application::get_messages_info().variant,
|
||||
};
|
||||
from_headset::headset_info_packet info{};
|
||||
|
||||
auto view = self->system.view_configuration_views(self->viewconfig)[0];
|
||||
view = override_view(view, guess_model());
|
||||
@@ -315,6 +311,15 @@ std::shared_ptr<scenes::stream> scenes::stream::create(std::unique_ptr<wivrn_ses
|
||||
}
|
||||
}
|
||||
|
||||
{
|
||||
const auto & info = application::get_messages_info();
|
||||
self->network_session->send_control(from_headset::get_application_list{
|
||||
.language = info.language,
|
||||
.country = info.country,
|
||||
.variant = info.variant,
|
||||
});
|
||||
}
|
||||
|
||||
{
|
||||
const auto & config = application::get_config();
|
||||
self->override_foveation_enable = config.override_foveation_enable;
|
||||
@@ -465,11 +470,8 @@ void scenes::stream::on_focused()
|
||||
swapchain_imgui,
|
||||
std::vector{vp});
|
||||
|
||||
if (application::get_config().enable_stream_gui)
|
||||
{
|
||||
plots_toggle_1 = get_action("plots_toggle_1").first;
|
||||
plots_toggle_2 = get_action("plots_toggle_2").first;
|
||||
}
|
||||
plots_toggle_1 = get_action("plots_toggle_1").first;
|
||||
plots_toggle_2 = get_action("plots_toggle_2").first;
|
||||
recenter_left = get_action("recenter_left").first;
|
||||
recenter_right = get_action("recenter_right").first;
|
||||
foveation_pitch = get_action("foveation_pitch").first;
|
||||
@@ -764,15 +766,7 @@ void scenes::stream::render(const XrFrameState & frame_state)
|
||||
}
|
||||
|
||||
if (state_ == state::stalled)
|
||||
{
|
||||
network_session->send_control(from_headset::get_application_list{
|
||||
.language = application::get_messages_info().language,
|
||||
.country = application::get_messages_info().country,
|
||||
.variant = application::get_messages_info().variant,
|
||||
});
|
||||
|
||||
application::pop_scene();
|
||||
}
|
||||
|
||||
assert(swapchain);
|
||||
for (auto & i: decoders)
|
||||
|
||||
+1
-10
@@ -21,7 +21,6 @@
|
||||
|
||||
#include "audio/audio.h"
|
||||
#include "decoder/shard_accumulator.h"
|
||||
#include "imgui.h"
|
||||
#include "render/imgui_impl.h"
|
||||
#include "scene.h"
|
||||
#include "scenes/input_profile.h"
|
||||
@@ -49,13 +48,6 @@ public:
|
||||
};
|
||||
static const size_t image_buffer_size = 3;
|
||||
|
||||
struct app
|
||||
{
|
||||
std::string id;
|
||||
std::string name;
|
||||
std::vector<std::byte> image;
|
||||
};
|
||||
|
||||
private:
|
||||
static const size_t view_count = 2;
|
||||
|
||||
@@ -184,7 +176,7 @@ private:
|
||||
std::vector<std::shared_ptr<wivrn::shard_accumulator::blit_handle>> current_blit_handles;
|
||||
|
||||
// Last application list received from server
|
||||
thread_safe<std::vector<app>> applications;
|
||||
thread_safe<to_headset::application_list> applications;
|
||||
|
||||
stream();
|
||||
|
||||
@@ -210,7 +202,6 @@ public:
|
||||
void operator()(to_headset::video_stream_description &&);
|
||||
void operator()(to_headset::refresh_rate_change &&);
|
||||
void operator()(to_headset::application_list &&);
|
||||
void operator()(to_headset::application_icon &&);
|
||||
void operator()(audio_data &&);
|
||||
|
||||
void push_blit_handle(wivrn::shard_accumulator * decoder, std::shared_ptr<wivrn::shard_accumulator::blit_handle> handle);
|
||||
|
||||
@@ -615,8 +615,6 @@ static glm::vec4 compute_ray_limits(const XrPosef & pose, float margin = 0)
|
||||
|
||||
void scenes::stream::draw_gui(XrTime predicted_display_time, XrDuration predicted_display_period)
|
||||
{
|
||||
if (not(plots_toggle_1 and plots_toggle_2))
|
||||
return;
|
||||
bool interactable = true;
|
||||
XrSpace world_space = application::space(xr::spaces::world);
|
||||
auto views = session.locate_views(viewconfig, predicted_display_time, world_space).second;
|
||||
|
||||
@@ -111,26 +111,8 @@ void scenes::stream::operator()(to_headset::application_list && apps)
|
||||
std::ranges::sort(apps.applications, [](auto & l, auto & r) {
|
||||
return una::casesens::collate_utf8(l.name, r.name) < 0;
|
||||
});
|
||||
|
||||
auto locked = applications.lock();
|
||||
|
||||
locked->clear();
|
||||
locked->reserve(apps.applications.size());
|
||||
for (const auto & i: apps.applications)
|
||||
{
|
||||
locked->push_back(app{
|
||||
.id = std::move(i.id),
|
||||
.name = std::move(i.name),
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
void scenes::stream::operator()(to_headset::application_icon && icon)
|
||||
{
|
||||
auto locked = applications.lock();
|
||||
|
||||
if (auto it = std::ranges::find(*locked, icon.id, &app::id); it != locked->end())
|
||||
it->image = std::move(icon.image);
|
||||
*locked = std::move(apps);
|
||||
}
|
||||
|
||||
void scenes::stream::start_application(std::string appid)
|
||||
|
||||
@@ -68,24 +68,7 @@ xr::swapchain::swapchain(xr::session & s, vk::raii::Device & device, vk::Format
|
||||
|
||||
images_.resize(array.size());
|
||||
for (uint32_t i = 0; i < array.size(); i++)
|
||||
{
|
||||
images_[i].image = array[i].image;
|
||||
|
||||
vk::ImageViewCreateInfo iv_create_info{
|
||||
.image = array[i].image,
|
||||
.viewType = vk::ImageViewType::e2D,
|
||||
.format = format,
|
||||
.components = {},
|
||||
.subresourceRange = {
|
||||
.aspectMask = vk::ImageAspectFlagBits::eColor,
|
||||
.baseMipLevel = 0,
|
||||
.levelCount = 1,
|
||||
.baseArrayLayer = 0,
|
||||
.layerCount = 1,
|
||||
}};
|
||||
|
||||
images_[i].view = vk::raii::ImageView(device, iv_create_info);
|
||||
}
|
||||
}
|
||||
|
||||
int xr::swapchain::acquire()
|
||||
|
||||
@@ -38,7 +38,6 @@ public:
|
||||
struct image
|
||||
{
|
||||
vk::Image image{};
|
||||
vk::raii::ImageView view = nullptr;
|
||||
};
|
||||
|
||||
private:
|
||||
|
||||
@@ -13,7 +13,6 @@ execute_process(
|
||||
|
||||
if (GIT_DESC)
|
||||
string(STRIP ${GIT_DESC} GIT_DESC)
|
||||
string(REGEX REPLACE "^v([0-9])" "\\1" GIT_DESC ${GIT_DESC})
|
||||
message(STATUS "Setting version to ${GIT_DESC} from git")
|
||||
else()
|
||||
set(GIT_DESC v${CMAKE_PROJECT_VERSION})
|
||||
|
||||
@@ -7,7 +7,6 @@ else()
|
||||
endif()
|
||||
|
||||
if (GIT_DESC)
|
||||
string(REGEX REPLACE "^v([0-9])" "\\1" GIT_DESC ${GIT_DESC})
|
||||
configure_file(version.cpp.in version.cpp)
|
||||
else ()
|
||||
add_custom_target(wivrn-version ALL
|
||||
@@ -51,7 +50,7 @@ if (WIVRN_BUILD_DASHBOARD OR WIVRN_BUILD_SERVER)
|
||||
utils/ini.cpp
|
||||
application.cpp
|
||||
)
|
||||
target_link_libraries(wivrn-common-server PRIVATE nlohmann_json::nlohmann_json PNG::PNG PkgConfig::librsvg-2.0 LibArchive::LibArchive PUBLIC wivrn-common-base)
|
||||
target_link_libraries(wivrn-common-server PRIVATE nlohmann_json::nlohmann_json PNG::PNG PkgConfig::librsvg-2.0 PUBLIC wivrn-common-base)
|
||||
|
||||
if (WIVRN_BUILD_TEST)
|
||||
add_executable(list-apps
|
||||
|
||||
+34
-29
@@ -20,6 +20,7 @@
|
||||
#include "application.h"
|
||||
|
||||
#include "utils/flatpak.h"
|
||||
#include "utils/load_icon.h"
|
||||
#include "utils/steam_app_info.h"
|
||||
#include "utils/xdg_base_directory.h"
|
||||
#include "utils/xdg_icon_lookup.h"
|
||||
@@ -84,17 +85,17 @@ steam_app_info read_steam_app_info(const std::filesystem::path & root)
|
||||
return {};
|
||||
}
|
||||
|
||||
std::optional<std::filesystem::path> find_steam_icon(const std::filesystem::path & root, int app_id, const steam_app_info & info)
|
||||
std::vector<std::byte> load_steam_icon(const std::filesystem::path & root, int app_id, const steam_app_info & info)
|
||||
{
|
||||
const auto & app_info = info.get(app_id);
|
||||
|
||||
try
|
||||
{
|
||||
std::string icon{std::get<std::string_view>(app_info.at("common.clienticon"))};
|
||||
auto icon_path = root / "steam/games" / (icon + ".ico");
|
||||
|
||||
if (std::filesystem::exists(icon_path))
|
||||
return icon_path;
|
||||
auto image = load_icon(root / "steam/games" / (icon + ".ico"), 128);
|
||||
if (not image.empty())
|
||||
return image;
|
||||
}
|
||||
catch (...)
|
||||
{
|
||||
@@ -102,21 +103,20 @@ std::optional<std::filesystem::path> find_steam_icon(const std::filesystem::path
|
||||
|
||||
try
|
||||
{
|
||||
std::string icon{std::get<std::string_view>(app_info.at("common.linuxclienticon"))};
|
||||
std::string icon{std::get<std::string_view>(app_info.at("common.LinuxClientIcon"))};
|
||||
|
||||
auto icon_path = root / "steam/games" / (icon + ".zip");
|
||||
|
||||
if (std::filesystem::exists(icon_path))
|
||||
return icon_path;
|
||||
auto image = load_icon(root / "steam/games" / (icon + ".zip"), 128);
|
||||
if (not image.empty())
|
||||
return image;
|
||||
}
|
||||
catch (...)
|
||||
{
|
||||
}
|
||||
|
||||
return std::nullopt;
|
||||
return {};
|
||||
}
|
||||
|
||||
void read_steam_vr_apps(std::unordered_map<std::string, application> & res)
|
||||
void read_steam_vr_apps(std::unordered_map<std::string, application> & res, bool load_icons)
|
||||
{
|
||||
auto [command, root] = find_steam();
|
||||
if (not root)
|
||||
@@ -166,17 +166,20 @@ void read_steam_vr_apps(std::unordered_map<std::string, application> & res)
|
||||
}
|
||||
}
|
||||
|
||||
try
|
||||
if (load_icons)
|
||||
{
|
||||
const char prefix[] = "steam.app.";
|
||||
if (app_key.starts_with(prefix))
|
||||
try
|
||||
{
|
||||
const char prefix[] = "steam.app.";
|
||||
if (app_key.starts_with(prefix))
|
||||
{
|
||||
uint32_t app_id = stoll(app_key.substr(strlen(prefix)));
|
||||
app.image = load_steam_icon(*root, app_id, info);
|
||||
}
|
||||
}
|
||||
catch (...)
|
||||
{
|
||||
uint32_t app_id = stoll(app_key.substr(strlen(prefix)));
|
||||
app.icon_path = find_steam_icon(*root, app_id, info);
|
||||
}
|
||||
}
|
||||
catch (...)
|
||||
{
|
||||
}
|
||||
|
||||
if (not app.exec.empty())
|
||||
@@ -278,7 +281,7 @@ bool contains(std::string_view entries, std::string_view val, char sep = ';')
|
||||
return false;
|
||||
}
|
||||
|
||||
std::optional<application> do_desktop_entry(const std::filesystem::path & filename)
|
||||
std::optional<application> do_desktop_entry(const std::filesystem::path & filename, bool load_icons)
|
||||
{
|
||||
auto data = read_file(filename);
|
||||
std::optional<application> res;
|
||||
@@ -320,11 +323,12 @@ std::optional<application> do_desktop_entry(const std::filesystem::path & filena
|
||||
res->exec = unescape(item.value);
|
||||
if (item.key == "Path")
|
||||
res->path = unescape(item.value);
|
||||
if (item.key == "Icon")
|
||||
if (item.key == "Icon" and load_icons)
|
||||
{
|
||||
try
|
||||
{
|
||||
res->icon_path = xdg_icon_lookup(std::string{item.value}, 256);
|
||||
if (auto filename = xdg_icon_lookup(std::string{item.value}, 256))
|
||||
res->image = load_icon(*filename, 256);
|
||||
}
|
||||
catch (...)
|
||||
{}
|
||||
@@ -337,7 +341,7 @@ std::optional<application> do_desktop_entry(const std::filesystem::path & filena
|
||||
return res;
|
||||
}
|
||||
|
||||
void do_data_dir(std::filesystem::path dir, std::unordered_map<std::string, application> & res)
|
||||
void do_data_dir(std::filesystem::path dir, std::unordered_map<std::string, application> & res, bool load_icons)
|
||||
{
|
||||
dir = dir / "applications";
|
||||
if (not std::filesystem::is_directory(dir))
|
||||
@@ -360,28 +364,29 @@ void do_data_dir(std::filesystem::path dir, std::unordered_map<std::string, appl
|
||||
if (res.contains(file_id))
|
||||
continue;
|
||||
|
||||
auto app = do_desktop_entry(entry.path());
|
||||
auto app = do_desktop_entry(entry.path(), load_icons);
|
||||
if (app)
|
||||
res.emplace(std::move(file_id), std::move(*app));
|
||||
}
|
||||
}
|
||||
} // namespace
|
||||
|
||||
std::unordered_map<std::string, application> list_applications()
|
||||
std::unordered_map<std::string, application> list_applications(bool include_steam, bool load_icons)
|
||||
{
|
||||
std::unordered_map<std::string, application> res;
|
||||
|
||||
read_steam_vr_apps(res);
|
||||
if (include_steam)
|
||||
read_steam_vr_apps(res, load_icons);
|
||||
|
||||
do_data_dir(xdg_data_home(), res);
|
||||
do_data_dir(xdg_data_home(), res, load_icons);
|
||||
|
||||
for (auto && dir: xdg_data_dirs())
|
||||
do_data_dir(std::move(dir), res);
|
||||
do_data_dir(std::move(dir), res, load_icons);
|
||||
|
||||
if (wivrn::is_flatpak())
|
||||
{
|
||||
// Try to guess host data dirs
|
||||
do_data_dir("/run/host/usr/share", res);
|
||||
do_data_dir("/run/host/usr/share", res, load_icons);
|
||||
}
|
||||
|
||||
return res;
|
||||
|
||||
@@ -18,10 +18,10 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <filesystem>
|
||||
#include <optional>
|
||||
#include <string>
|
||||
#include <unordered_map>
|
||||
#include <vector>
|
||||
|
||||
namespace wivrn
|
||||
{
|
||||
@@ -31,9 +31,9 @@ struct application
|
||||
// localised names, with empty locale for default
|
||||
std::unordered_map<std::string, std::string> name;
|
||||
std::string exec;
|
||||
std::optional<std::filesystem::path> icon_path;
|
||||
std::vector<std::byte> image; // In PNG
|
||||
std::optional<std::string> path;
|
||||
};
|
||||
|
||||
std::unordered_map<std::string, application> list_applications();
|
||||
std::unordered_map<std::string, application> list_applications(bool include_steam = true, bool load_icons = true);
|
||||
} // namespace wivrn
|
||||
|
||||
+292
-343
@@ -18,8 +18,6 @@
|
||||
|
||||
#include "load_icon.h"
|
||||
|
||||
#include <archive.h>
|
||||
#include <archive_entry.h>
|
||||
#include <cairo.h>
|
||||
#include <fstream>
|
||||
#include <librsvg/rsvg.h>
|
||||
@@ -128,7 +126,10 @@ std::vector<std::byte> load_svg(const std::filesystem::path & filename, int size
|
||||
};
|
||||
|
||||
if (!rsvg_handle_render_document(handle.get(), cr.get(), &viewport, &error))
|
||||
throw std::runtime_error{std::string{"Could not render: "} + error->message};
|
||||
{
|
||||
g_printerr("could not render: %s", error->message);
|
||||
return {};
|
||||
}
|
||||
|
||||
// Write a PNG file
|
||||
std::vector<std::byte> png;
|
||||
@@ -142,8 +143,11 @@ std::vector<std::byte> load_svg(const std::filesystem::path & filename, int size
|
||||
return CAIRO_STATUS_SUCCESS;
|
||||
};
|
||||
|
||||
if (auto status = cairo_surface_write_to_png_stream(surface.get(), cb, &png); status != CAIRO_STATUS_SUCCESS)
|
||||
throw std::runtime_error{std::string{"Could not write output: "} + cairo_status_to_string(status)};
|
||||
if (cairo_surface_write_to_png_stream(surface.get(), cb, &png) != CAIRO_STATUS_SUCCESS)
|
||||
{
|
||||
g_printerr("could not write output file");
|
||||
return {};
|
||||
}
|
||||
|
||||
return png;
|
||||
}
|
||||
@@ -197,407 +201,352 @@ std::vector<std::byte> load_ico(const std::filesystem::path & filename, int size
|
||||
{
|
||||
const uint32_t ICO_PNG_MAGIC = 0x474e5089;
|
||||
|
||||
auto ico = load_file(filename);
|
||||
|
||||
std::span header{ico};
|
||||
|
||||
auto reserved = read<uint16_t>(header);
|
||||
auto resource_type = read<uint16_t>(header);
|
||||
auto icon_count = read<uint16_t>(header);
|
||||
|
||||
if (reserved != 0 or resource_type != 1)
|
||||
throw std::runtime_error{"Cannot read icon: " + filename.native()};
|
||||
|
||||
std::vector<ico_file_entry> entries;
|
||||
int max_bpp = 0;
|
||||
|
||||
for (int i = 0; i < icon_count; i++)
|
||||
try
|
||||
{
|
||||
ico_file_entry entry;
|
||||
entry.width = read<uint8_t>(header);
|
||||
entry.height = read<uint8_t>(header);
|
||||
auto num_colors = read<uint8_t>(header);
|
||||
auto reserved = read<uint8_t>(header); // reserved
|
||||
auto planes = read<uint16_t>(header);
|
||||
entry.bpp = read<uint16_t>(header);
|
||||
auto size = read<uint32_t>(header);
|
||||
auto offset = read<uint32_t>(header);
|
||||
auto ico = load_file(filename);
|
||||
|
||||
if (offset + size > ico.size())
|
||||
throw std::runtime_error{"Cannot read icon: " + filename.native()};
|
||||
std::span header{ico};
|
||||
|
||||
entry.data = std::span{ico}.subspan(offset, size);
|
||||
if (entry.width == 0)
|
||||
entry.width = 256;
|
||||
if (entry.height == 0)
|
||||
entry.height = 256;
|
||||
if (reserved != 0)
|
||||
throw std::runtime_error{"Cannot read icon: " + filename.native()};
|
||||
if (planes != 0 and planes != 1)
|
||||
throw std::runtime_error{"Cannot read icon: " + filename.native()};
|
||||
auto reserved = read<uint16_t>(header);
|
||||
auto resource_type = read<uint16_t>(header);
|
||||
auto icon_count = read<uint16_t>(header);
|
||||
|
||||
entries.push_back(entry);
|
||||
if (reserved != 0 or resource_type != 1)
|
||||
return {};
|
||||
|
||||
max_bpp = std::max(max_bpp, entry.bpp);
|
||||
}
|
||||
std::vector<ico_file_entry> entries;
|
||||
int max_bpp = 0;
|
||||
|
||||
const ico_file_entry * best_entry = index >= 0 ? &entries.at(index) : [&]() {
|
||||
const ico_file_entry * best_entry = nullptr;
|
||||
|
||||
// Look for the smallest multiple of the requested size
|
||||
int criterion = std::numeric_limits<int>::max();
|
||||
|
||||
for (const auto & entry: entries)
|
||||
for (int i = 0; i < icon_count; i++)
|
||||
{
|
||||
if (entry.bpp != max_bpp)
|
||||
continue;
|
||||
ico_file_entry entry;
|
||||
entry.width = read<uint8_t>(header);
|
||||
entry.height = read<uint8_t>(header);
|
||||
auto num_colors = read<uint8_t>(header);
|
||||
auto reserved = read<uint8_t>(header); // reserved
|
||||
auto planes = read<uint16_t>(header);
|
||||
entry.bpp = read<uint16_t>(header);
|
||||
auto size = read<uint32_t>(header);
|
||||
auto offset = read<uint32_t>(header);
|
||||
|
||||
if (entry.width % size != 0 or entry.height % size != 0)
|
||||
continue;
|
||||
if (offset + size > ico.size())
|
||||
return {};
|
||||
|
||||
if (std::min(entry.width, entry.height) / size < criterion)
|
||||
{
|
||||
criterion = std::min(entry.width, entry.height);
|
||||
best_entry = &entry;
|
||||
}
|
||||
entry.data = std::span{ico}.subspan(offset, size);
|
||||
if (entry.width == 0)
|
||||
entry.width = 256;
|
||||
if (entry.height == 0)
|
||||
entry.height = 256;
|
||||
if (reserved != 0)
|
||||
return {};
|
||||
if (planes != 0 and planes != 1)
|
||||
return {};
|
||||
|
||||
entries.push_back(entry);
|
||||
|
||||
max_bpp = std::max(max_bpp, entry.bpp);
|
||||
}
|
||||
if (best_entry)
|
||||
|
||||
const ico_file_entry * best_entry = index >= 0 ? &entries.at(index) : [&]() {
|
||||
const ico_file_entry * best_entry = nullptr;
|
||||
|
||||
// Look for the smallest multiple of the requested size
|
||||
int criterion = std::numeric_limits<int>::max();
|
||||
|
||||
for (const auto & entry: entries)
|
||||
{
|
||||
if (entry.bpp != max_bpp)
|
||||
continue;
|
||||
|
||||
if (entry.width % size != 0 or entry.height % size != 0)
|
||||
continue;
|
||||
|
||||
if (std::min(entry.width, entry.height) / size < criterion)
|
||||
{
|
||||
criterion = std::min(entry.width, entry.height);
|
||||
best_entry = &entry;
|
||||
}
|
||||
}
|
||||
if (best_entry)
|
||||
return best_entry;
|
||||
|
||||
// No multiple found: pick the largest icon
|
||||
criterion = 0;
|
||||
|
||||
for (const auto & entry: entries)
|
||||
{
|
||||
if (entry.bpp != max_bpp)
|
||||
continue;
|
||||
|
||||
if (entry.width * entry.height > criterion)
|
||||
{
|
||||
criterion = entry.width * entry.height;
|
||||
best_entry = &entry;
|
||||
}
|
||||
}
|
||||
return best_entry;
|
||||
}();
|
||||
|
||||
// No multiple found: pick the largest icon
|
||||
criterion = 0;
|
||||
if (not best_entry)
|
||||
return {};
|
||||
|
||||
for (const auto & entry: entries)
|
||||
auto data = best_entry->data;
|
||||
auto magic = read<uint32_t>(data);
|
||||
|
||||
if (magic == ICO_PNG_MAGIC)
|
||||
{
|
||||
if (entry.bpp != max_bpp)
|
||||
continue;
|
||||
// PNG file
|
||||
std::vector<std::byte> png_data;
|
||||
|
||||
if (entry.width * entry.height > criterion)
|
||||
// The PNG magic has already been consumed, put it back
|
||||
png_data.insert(png_data.end(), data.begin() - 4, data.end());
|
||||
|
||||
// Check if the PNG is valid
|
||||
std::vector<uint8_t> pixels;
|
||||
png_image png_ref{
|
||||
.version = PNG_IMAGE_VERSION,
|
||||
.format = PNG_FORMAT_BGRA,
|
||||
};
|
||||
if (not png_image_begin_read_from_memory(&png_ref, png_data.data(), png_data.size()))
|
||||
return {};
|
||||
|
||||
pixels.resize(PNG_IMAGE_SIZE(png_ref));
|
||||
|
||||
if (!png_image_finish_read(&png_ref, nullptr, pixels.data(), 0, nullptr))
|
||||
{
|
||||
criterion = entry.width * entry.height;
|
||||
best_entry = &entry;
|
||||
png_image_free(&png_ref);
|
||||
return {};
|
||||
}
|
||||
}
|
||||
return best_entry;
|
||||
}();
|
||||
|
||||
if (not best_entry)
|
||||
return {};
|
||||
|
||||
auto data = best_entry->data;
|
||||
auto magic = read<uint32_t>(data);
|
||||
|
||||
if (magic == ICO_PNG_MAGIC)
|
||||
{
|
||||
// PNG file
|
||||
std::vector<std::byte> png_data;
|
||||
|
||||
// The PNG magic has already been consumed, put it back
|
||||
png_data.insert(png_data.end(), data.begin() - 4, data.end());
|
||||
|
||||
// Check if the PNG is valid
|
||||
std::vector<uint8_t> pixels;
|
||||
png_image png_ref{
|
||||
.version = PNG_IMAGE_VERSION,
|
||||
.format = PNG_FORMAT_BGRA,
|
||||
};
|
||||
if (not png_image_begin_read_from_memory(&png_ref, png_data.data(), png_data.size()))
|
||||
throw std::runtime_error{"Cannot read icon: " + filename.native()};
|
||||
|
||||
pixels.resize(PNG_IMAGE_SIZE(png_ref));
|
||||
|
||||
if (!png_image_finish_read(&png_ref, nullptr, pixels.data(), 0, nullptr))
|
||||
{
|
||||
png_image_free(&png_ref);
|
||||
throw std::runtime_error{"Cannot read icon: " + filename.native()};
|
||||
|
||||
return png_data;
|
||||
}
|
||||
png_image_free(&png_ref);
|
||||
|
||||
return png_data;
|
||||
}
|
||||
else if (magic == 40)
|
||||
{
|
||||
auto width = read<uint32_t>(data); // Width of image in pixels
|
||||
auto height = read<uint32_t>(data); // Height of image in pixels
|
||||
auto planes = read<uint16_t>(data); // Must be 1
|
||||
auto bpp = read<uint16_t>(data); // 1, 4, 8, 16, 24, 32
|
||||
auto compression = read<uint32_t>(data); // Must be 0 for icons
|
||||
auto image_size = read<uint32_t>(data); // Size of image (without this header)
|
||||
auto x_res = read<uint32_t>(data);
|
||||
auto y_res = read<uint32_t>(data);
|
||||
auto used_colors = read<uint32_t>(data);
|
||||
auto important_colors = read<uint32_t>(data);
|
||||
|
||||
if (planes != 1 or compression != 0)
|
||||
return {};
|
||||
|
||||
if (bpp != 1 and
|
||||
bpp != 4 and
|
||||
bpp != 8 and
|
||||
bpp != 16 and
|
||||
bpp != 24 and
|
||||
bpp != 32)
|
||||
return {};
|
||||
|
||||
auto w = width;
|
||||
auto h = height / 2;
|
||||
|
||||
std::span<uint8_t> palette; // BGRX
|
||||
|
||||
if (bpp <= 16)
|
||||
else if (magic == 40)
|
||||
{
|
||||
// Load the palette
|
||||
if (used_colors == 0)
|
||||
used_colors = 1 << bpp;
|
||||
auto width = read<uint32_t>(data); // Width of image in pixels
|
||||
auto height = read<uint32_t>(data); // Height of image in pixels
|
||||
auto planes = read<uint16_t>(data); // Must be 1
|
||||
auto bpp = read<uint16_t>(data); // 1, 4, 8, 16, 24, 32
|
||||
auto compression = read<uint32_t>(data); // Must be 0 for icons
|
||||
auto image_size = read<uint32_t>(data); // Size of image (without this header)
|
||||
auto x_res = read<uint32_t>(data);
|
||||
auto y_res = read<uint32_t>(data);
|
||||
auto used_colors = read<uint32_t>(data);
|
||||
auto important_colors = read<uint32_t>(data);
|
||||
|
||||
palette = read<uint8_t>(data, used_colors * 4);
|
||||
}
|
||||
if (planes != 1 or compression != 0)
|
||||
return {};
|
||||
|
||||
size_t xor_stride = rowstride(w, bpp);
|
||||
size_t and_stride = rowstride(w, 1);
|
||||
size_t dst_stride = 4 * w;
|
||||
if (bpp != 1 and
|
||||
bpp != 4 and
|
||||
bpp != 8 and
|
||||
bpp != 16 and
|
||||
bpp != 24 and
|
||||
bpp != 32)
|
||||
return {};
|
||||
|
||||
std::span<uint8_t> xor_map = read<uint8_t>(data, xor_stride * h);
|
||||
std::span<uint8_t> and_map = read<uint8_t>(data, and_stride * h);
|
||||
auto w = width;
|
||||
auto h = height / 2;
|
||||
|
||||
std::vector<uint8_t> dest_buffer;
|
||||
dest_buffer.resize(h * dst_stride);
|
||||
std::span<uint8_t> palette; // BGRX
|
||||
|
||||
switch (bpp)
|
||||
{
|
||||
case 1:
|
||||
for (int y = 0; y < h; y++)
|
||||
{
|
||||
uint8_t * src_xor_row = xor_map.data() + xor_stride * y;
|
||||
uint8_t * src_and_row = and_map.data() + and_stride * y;
|
||||
uint8_t * dst_row = dest_buffer.data() + dst_stride * (h - 1 - y);
|
||||
if (bpp <= 16)
|
||||
{
|
||||
// Load the palette
|
||||
if (used_colors == 0)
|
||||
used_colors = 1 << bpp;
|
||||
|
||||
for (int x = 0, i = 0; x < w; x++)
|
||||
palette = read<uint8_t>(data, used_colors * 4);
|
||||
}
|
||||
|
||||
size_t xor_stride = rowstride(w, bpp);
|
||||
size_t and_stride = rowstride(w, 1);
|
||||
size_t dst_stride = 4 * w;
|
||||
|
||||
std::span<uint8_t> xor_map = read<uint8_t>(data, xor_stride * h);
|
||||
std::span<uint8_t> and_map = read<uint8_t>(data, and_stride * h);
|
||||
|
||||
std::vector<uint8_t> dest_buffer;
|
||||
dest_buffer.resize(h * dst_stride);
|
||||
|
||||
switch (bpp)
|
||||
{
|
||||
case 1:
|
||||
for (int y = 0; y < h; y++)
|
||||
{
|
||||
int colour = (src_xor_row[x / 8] >> (7 - (x % 8))) & 0x1;
|
||||
if (colour >= used_colors)
|
||||
return {};
|
||||
uint8_t * src_xor_row = xor_map.data() + xor_stride * y;
|
||||
uint8_t * src_and_row = and_map.data() + and_stride * y;
|
||||
uint8_t * dst_row = dest_buffer.data() + dst_stride * (h - 1 - y);
|
||||
|
||||
uint8_t b = palette[4 * colour + 0]; // Blue
|
||||
uint8_t g = palette[4 * colour + 1]; // Green
|
||||
uint8_t r = palette[4 * colour + 2]; // Red
|
||||
for (int x = 0, i = 0; x < w; x++)
|
||||
{
|
||||
int colour = (src_xor_row[x / 8] >> (7 - (x % 8))) & 0x1;
|
||||
if (colour >= used_colors)
|
||||
return {};
|
||||
|
||||
// Get alpha from AND mask (0: opaque => 0xff, 1: transparent => 0)
|
||||
uint8_t a = src_and_row[x / 8] & (1 << (7 - x % 8)) ? 0 : 0xff;
|
||||
uint8_t b = palette[4 * colour + 0]; // Blue
|
||||
uint8_t g = palette[4 * colour + 1]; // Green
|
||||
uint8_t r = palette[4 * colour + 2]; // Red
|
||||
|
||||
*dst_row++ = b;
|
||||
*dst_row++ = g;
|
||||
*dst_row++ = r;
|
||||
*dst_row++ = a;
|
||||
// Get alpha from AND mask (0: opaque => 0xff, 1: transparent => 0)
|
||||
uint8_t a = src_and_row[x / 8] & (1 << (7 - x % 8)) ? 0 : 0xff;
|
||||
|
||||
*dst_row++ = b;
|
||||
*dst_row++ = g;
|
||||
*dst_row++ = r;
|
||||
*dst_row++ = a;
|
||||
}
|
||||
}
|
||||
}
|
||||
break;
|
||||
break;
|
||||
|
||||
case 4:
|
||||
for (int y = 0; y < h; y++)
|
||||
{
|
||||
uint8_t * src_xor_row = xor_map.data() + xor_stride * y;
|
||||
uint8_t * src_and_row = and_map.data() + and_stride * y;
|
||||
uint8_t * dst_row = dest_buffer.data() + dst_stride * (h - 1 - y);
|
||||
|
||||
for (int x = 0, i = 0; x < w; x++)
|
||||
case 4:
|
||||
for (int y = 0; y < h; y++)
|
||||
{
|
||||
int colour = (src_xor_row[x / 2] >> (4 - 4 * (x % 2))) & 0xf;
|
||||
if (colour >= used_colors)
|
||||
return {};
|
||||
uint8_t * src_xor_row = xor_map.data() + xor_stride * y;
|
||||
uint8_t * src_and_row = and_map.data() + and_stride * y;
|
||||
uint8_t * dst_row = dest_buffer.data() + dst_stride * (h - 1 - y);
|
||||
|
||||
uint8_t b = palette[4 * colour + 0]; // Blue
|
||||
uint8_t g = palette[4 * colour + 1]; // Green
|
||||
uint8_t r = palette[4 * colour + 2]; // Red
|
||||
for (int x = 0, i = 0; x < w; x++)
|
||||
{
|
||||
int colour = (src_xor_row[x / 2] >> (4 - 4 * (x % 2))) & 0xf;
|
||||
if (colour >= used_colors)
|
||||
return {};
|
||||
|
||||
// Get alpha from AND mask (0: opaque => 0xff, 1: transparent => 0)
|
||||
uint8_t a = src_and_row[x / 8] & (1 << (7 - x % 8)) ? 0 : 0xff;
|
||||
uint8_t b = palette[4 * colour + 0]; // Blue
|
||||
uint8_t g = palette[4 * colour + 1]; // Green
|
||||
uint8_t r = palette[4 * colour + 2]; // Red
|
||||
|
||||
*dst_row++ = b;
|
||||
*dst_row++ = g;
|
||||
*dst_row++ = r;
|
||||
*dst_row++ = a;
|
||||
// Get alpha from AND mask (0: opaque => 0xff, 1: transparent => 0)
|
||||
uint8_t a = src_and_row[x / 8] & (1 << (7 - x % 8)) ? 0 : 0xff;
|
||||
|
||||
*dst_row++ = b;
|
||||
*dst_row++ = g;
|
||||
*dst_row++ = r;
|
||||
*dst_row++ = a;
|
||||
}
|
||||
}
|
||||
}
|
||||
break;
|
||||
break;
|
||||
|
||||
case 8:
|
||||
for (int y = 0; y < h; y++)
|
||||
{
|
||||
uint8_t * src_xor_row = xor_map.data() + xor_stride * y;
|
||||
uint8_t * src_and_row = and_map.data() + and_stride * y;
|
||||
uint8_t * dst_row = dest_buffer.data() + dst_stride * (h - 1 - y);
|
||||
|
||||
for (int x = 0, i = 0; x < w; x++)
|
||||
case 8:
|
||||
for (int y = 0; y < h; y++)
|
||||
{
|
||||
int colour = *src_xor_row++;
|
||||
if (colour >= used_colors)
|
||||
return {};
|
||||
uint8_t * src_xor_row = xor_map.data() + xor_stride * y;
|
||||
uint8_t * src_and_row = and_map.data() + and_stride * y;
|
||||
uint8_t * dst_row = dest_buffer.data() + dst_stride * (h - 1 - y);
|
||||
|
||||
uint8_t b = palette[4 * colour + 0]; // Blue
|
||||
uint8_t g = palette[4 * colour + 1]; // Green
|
||||
uint8_t r = palette[4 * colour + 2]; // Red
|
||||
for (int x = 0, i = 0; x < w; x++)
|
||||
{
|
||||
int colour = *src_xor_row++;
|
||||
if (colour >= used_colors)
|
||||
return {};
|
||||
|
||||
// Get alpha from AND mask (0: opaque => 0xff, 1: transparent => 0)
|
||||
uint8_t a = src_and_row[x / 8] & (1 << (7 - x % 8)) ? 0 : 0xff;
|
||||
uint8_t b = palette[4 * colour + 0]; // Blue
|
||||
uint8_t g = palette[4 * colour + 1]; // Green
|
||||
uint8_t r = palette[4 * colour + 2]; // Red
|
||||
|
||||
*dst_row++ = b;
|
||||
*dst_row++ = g;
|
||||
*dst_row++ = r;
|
||||
*dst_row++ = a;
|
||||
// Get alpha from AND mask (0: opaque => 0xff, 1: transparent => 0)
|
||||
uint8_t a = src_and_row[x / 8] & (1 << (7 - x % 8)) ? 0 : 0xff;
|
||||
|
||||
*dst_row++ = b;
|
||||
*dst_row++ = g;
|
||||
*dst_row++ = r;
|
||||
*dst_row++ = a;
|
||||
}
|
||||
}
|
||||
}
|
||||
break;
|
||||
break;
|
||||
|
||||
case 16:
|
||||
for (int y = 0; y < h; y++)
|
||||
{
|
||||
uint8_t * src_xor_row = xor_map.data() + xor_stride * y;
|
||||
uint8_t * src_and_row = and_map.data() + and_stride * y;
|
||||
uint8_t * dst_row = dest_buffer.data() + dst_stride * (h - 1 - y);
|
||||
|
||||
for (int x = 0, i = 0; x < w; x++)
|
||||
case 16:
|
||||
for (int y = 0; y < h; y++)
|
||||
{
|
||||
int colour = (src_xor_row[1] << 8) | src_xor_row[0];
|
||||
src_xor_row += 2;
|
||||
uint8_t * src_xor_row = xor_map.data() + xor_stride * y;
|
||||
uint8_t * src_and_row = and_map.data() + and_stride * y;
|
||||
uint8_t * dst_row = dest_buffer.data() + dst_stride * (h - 1 - y);
|
||||
|
||||
if (colour >= used_colors)
|
||||
return {};
|
||||
for (int x = 0, i = 0; x < w; x++)
|
||||
{
|
||||
int colour = (src_xor_row[1] << 8) | src_xor_row[0];
|
||||
src_xor_row += 2;
|
||||
|
||||
uint8_t b = palette[4 * colour + 0]; // Blue
|
||||
uint8_t g = palette[4 * colour + 1]; // Green
|
||||
uint8_t r = palette[4 * colour + 2]; // Red
|
||||
if (colour >= used_colors)
|
||||
return {};
|
||||
|
||||
// Get alpha from AND mask (0: opaque => 0xff, 1: transparent => 0)
|
||||
uint8_t a = src_and_row[x / 8] & (1 << (7 - x % 8)) ? 0 : 0xff;
|
||||
uint8_t b = palette[4 * colour + 0]; // Blue
|
||||
uint8_t g = palette[4 * colour + 1]; // Green
|
||||
uint8_t r = palette[4 * colour + 2]; // Red
|
||||
|
||||
*dst_row++ = b;
|
||||
*dst_row++ = g;
|
||||
*dst_row++ = r;
|
||||
*dst_row++ = a;
|
||||
// Get alpha from AND mask (0: opaque => 0xff, 1: transparent => 0)
|
||||
uint8_t a = src_and_row[x / 8] & (1 << (7 - x % 8)) ? 0 : 0xff;
|
||||
|
||||
*dst_row++ = b;
|
||||
*dst_row++ = g;
|
||||
*dst_row++ = r;
|
||||
*dst_row++ = a;
|
||||
}
|
||||
}
|
||||
}
|
||||
break;
|
||||
break;
|
||||
|
||||
case 24:
|
||||
for (int y = 0; y < h; y++)
|
||||
{
|
||||
uint8_t * src_xor_row = xor_map.data() + xor_stride * y;
|
||||
uint8_t * src_and_row = and_map.data() + and_stride * y;
|
||||
uint8_t * dst_row = dest_buffer.data() + dst_stride * (h - 1 - y);
|
||||
|
||||
for (int x = 0, i = 0; x < w; x++)
|
||||
case 24:
|
||||
for (int y = 0; y < h; y++)
|
||||
{
|
||||
uint8_t b = *src_xor_row++; // Blue
|
||||
uint8_t g = *src_xor_row++; // Green
|
||||
uint8_t r = *src_xor_row++; // Red
|
||||
uint8_t * src_xor_row = xor_map.data() + xor_stride * y;
|
||||
uint8_t * src_and_row = and_map.data() + and_stride * y;
|
||||
uint8_t * dst_row = dest_buffer.data() + dst_stride * (h - 1 - y);
|
||||
|
||||
// Get alpha from AND mask (0: opaque => 0xff, 1: transparent => 0)
|
||||
uint8_t a = src_and_row[x / 8] & (1 << (7 - x % 8)) ? 0 : 0xff;
|
||||
for (int x = 0, i = 0; x < w; x++)
|
||||
{
|
||||
uint8_t b = *src_xor_row++; // Blue
|
||||
uint8_t g = *src_xor_row++; // Green
|
||||
uint8_t r = *src_xor_row++; // Red
|
||||
|
||||
*dst_row++ = b;
|
||||
*dst_row++ = g;
|
||||
*dst_row++ = r;
|
||||
*dst_row++ = a;
|
||||
// Get alpha from AND mask (0: opaque => 0xff, 1: transparent => 0)
|
||||
uint8_t a = src_and_row[x / 8] & (1 << (7 - x % 8)) ? 0 : 0xff;
|
||||
|
||||
*dst_row++ = b;
|
||||
*dst_row++ = g;
|
||||
*dst_row++ = r;
|
||||
*dst_row++ = a;
|
||||
}
|
||||
}
|
||||
}
|
||||
break;
|
||||
break;
|
||||
|
||||
case 32:
|
||||
for (int y = 0; y < h; y++)
|
||||
{
|
||||
uint8_t * src_xor_row = (uint8_t *)xor_map.data() + xor_stride * y;
|
||||
uint8_t * dst_row = dest_buffer.data() + dst_stride * (h - 1 - y);
|
||||
case 32:
|
||||
for (int y = 0; y < h; y++)
|
||||
{
|
||||
uint8_t * src_xor_row = (uint8_t *)xor_map.data() + xor_stride * y;
|
||||
uint8_t * dst_row = dest_buffer.data() + dst_stride * (h - 1 - y);
|
||||
|
||||
memcpy(dst_row, src_xor_row, dst_stride);
|
||||
}
|
||||
break;
|
||||
}
|
||||
memcpy(dst_row, src_xor_row, dst_stride);
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
||||
png_image png{
|
||||
.version = PNG_IMAGE_VERSION,
|
||||
.width = w,
|
||||
.height = h,
|
||||
.format = PNG_FORMAT_BGRA,
|
||||
};
|
||||
png_image png{
|
||||
.version = PNG_IMAGE_VERSION,
|
||||
.width = w,
|
||||
.height = h,
|
||||
.format = PNG_FORMAT_BGRA,
|
||||
};
|
||||
|
||||
std::vector<std::byte> png_data{65536};
|
||||
png_alloc_size_t png_size = png_data.size();
|
||||
png_image_write_to_memory(&png, png_data.data(), &png_size, false /* convert_to_8_bit*/, dest_buffer.data(), w * 4, nullptr);
|
||||
|
||||
if (png_size > png_data.size())
|
||||
{
|
||||
png_data.resize(png_size);
|
||||
std::vector<std::byte> png_data{65536};
|
||||
png_alloc_size_t png_size = png_data.size();
|
||||
png_image_write_to_memory(&png, png_data.data(), &png_size, false /* convert_to_8_bit*/, dest_buffer.data(), w * 4, nullptr);
|
||||
|
||||
if (png_size > png_data.size())
|
||||
{
|
||||
png_data.resize(png_size);
|
||||
png_image_write_to_memory(&png, png_data.data(), &png_size, false /* convert_to_8_bit*/, dest_buffer.data(), w * 4, nullptr);
|
||||
}
|
||||
else
|
||||
png_data.resize(png_size);
|
||||
|
||||
return png_data;
|
||||
}
|
||||
else
|
||||
png_data.resize(png_size);
|
||||
|
||||
return png_data;
|
||||
}
|
||||
|
||||
throw std::runtime_error{"Wrong magic number in " + filename.native()};
|
||||
}
|
||||
|
||||
std::vector<std::byte> load_zip(const std::filesystem::path & filename, int size)
|
||||
{
|
||||
std::unique_ptr<archive, decltype(&archive_read_free)> zip{archive_read_new(), &archive_read_free};
|
||||
|
||||
archive_read_support_filter_all(zip.get());
|
||||
archive_read_support_format_all(zip.get());
|
||||
|
||||
if (auto rc = archive_read_open_filename(zip.get(), filename.c_str(), 1'000'000); rc != ARCHIVE_OK)
|
||||
throw std::runtime_error{"Cannot open " + filename.native() + ": " + archive_error_string(zip.get())};
|
||||
|
||||
archive_entry * entry;
|
||||
int width = 0;
|
||||
int height = 0;
|
||||
std::vector<std::byte> png;
|
||||
|
||||
while (archive_read_next_header(zip.get(), &entry) == ARCHIVE_OK)
|
||||
catch (std::exception & e)
|
||||
{
|
||||
printf("%s\n", archive_entry_pathname(entry));
|
||||
|
||||
std::vector<std::byte> buffer;
|
||||
buffer.resize(archive_entry_size(entry));
|
||||
|
||||
if (auto status = archive_read_data(zip.get(), buffer.data(), buffer.size()); status < 0)
|
||||
continue;
|
||||
|
||||
// Try reading the PNG
|
||||
std::vector<uint8_t> pixels;
|
||||
png_image png_ref{
|
||||
.version = PNG_IMAGE_VERSION,
|
||||
.format = PNG_FORMAT_BGRA,
|
||||
};
|
||||
|
||||
if (not png_image_begin_read_from_memory(&png_ref, buffer.data(), buffer.size()))
|
||||
{
|
||||
png_image_free(&png_ref);
|
||||
continue;
|
||||
}
|
||||
|
||||
// Keep the largest icon only
|
||||
if (png_ref.width * png_ref.height < width * height)
|
||||
continue;
|
||||
|
||||
pixels.resize(PNG_IMAGE_SIZE(png_ref));
|
||||
|
||||
if (!png_image_finish_read(&png_ref, nullptr, pixels.data(), 0, nullptr))
|
||||
{
|
||||
png_image_free(&png_ref);
|
||||
continue;
|
||||
}
|
||||
|
||||
// PNG read successfully: keep it until we find a better one
|
||||
width = png_ref.width;
|
||||
height = png_ref.height;
|
||||
png = std::move(buffer);
|
||||
|
||||
png_image_free(&png_ref);
|
||||
}
|
||||
|
||||
return png;
|
||||
return {};
|
||||
}
|
||||
|
||||
std::unordered_map<std::filesystem::path, std::vector<std::byte>> icon_cache;
|
||||
@@ -607,7 +556,7 @@ std::unordered_map<std::filesystem::path, std::vector<std::byte>> icon_cache;
|
||||
const std::vector<std::byte> & wivrn::load_icon(const std::filesystem::path & filename, int size)
|
||||
{
|
||||
auto it = icon_cache.find(filename);
|
||||
if (it != icon_cache.end() and not it->second.empty())
|
||||
if (it != icon_cache.end())
|
||||
return it->second;
|
||||
|
||||
std::vector<std::byte> icon;
|
||||
@@ -624,7 +573,7 @@ const std::vector<std::byte> & wivrn::load_icon(const std::filesystem::path & fi
|
||||
else if (filename.extension() == ".zip")
|
||||
{
|
||||
// Steam icon (Linux)
|
||||
icon = load_zip(filename, size);
|
||||
// TODO
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
@@ -18,7 +18,6 @@
|
||||
|
||||
#include "steam_app_info.h"
|
||||
#include <bit>
|
||||
#include <cctype>
|
||||
#include <cstring>
|
||||
#include <fstream>
|
||||
#include <span>
|
||||
@@ -90,8 +89,6 @@ void read_vdf(wivrn::steam_app_info::info & info, const std::string & prefix, st
|
||||
while (type != 8)
|
||||
{
|
||||
std::string name{string_table.at(read<uint32_t>(bindata))};
|
||||
for (char & c: name)
|
||||
c = std::tolower(c);
|
||||
|
||||
// https://github.com/ValveResourceFormat/ValveKeyValue/blob/master/ValveKeyValue/ValveKeyValue/KeyValues1/KV1BinaryNodeType.cs
|
||||
switch (type)
|
||||
|
||||
+3
-14
@@ -41,7 +41,7 @@ namespace wivrn
|
||||
// Default port for server to listen, both TCP and UDP
|
||||
static const int default_port = 9757;
|
||||
|
||||
static constexpr int protocol_revision = 1;
|
||||
static constexpr int protocol_revision = 2;
|
||||
|
||||
enum class device_id : uint8_t
|
||||
{
|
||||
@@ -239,11 +239,6 @@ struct headset_info_packet
|
||||
uint32_t num_generic_trackers;
|
||||
std::vector<video_codec> supported_codecs; // from preferred to least preferred
|
||||
std::string system_name;
|
||||
|
||||
// Used for the application list
|
||||
std::string language;
|
||||
std::string country;
|
||||
std::string variant;
|
||||
};
|
||||
|
||||
struct handshake
|
||||
@@ -680,16 +675,11 @@ struct application_list
|
||||
{
|
||||
std::string id;
|
||||
std::string name;
|
||||
std::vector<std::byte> image; // In PNG
|
||||
};
|
||||
std::vector<application> applications;
|
||||
};
|
||||
|
||||
struct application_icon
|
||||
{
|
||||
std::string id;
|
||||
std::vector<std::byte> image; // In PNG
|
||||
};
|
||||
|
||||
using packets = std::variant<
|
||||
crypto_handshake,
|
||||
pin_check_2,
|
||||
@@ -703,7 +693,6 @@ using packets = std::variant<
|
||||
timesync_query,
|
||||
tracking_control,
|
||||
refresh_rate_change,
|
||||
application_list,
|
||||
application_icon>;
|
||||
application_list>;
|
||||
} // namespace to_headset
|
||||
} // namespace wivrn
|
||||
|
||||
+1
-1
@@ -25,7 +25,7 @@
|
||||
|
||||
Apps::Apps(QObject * parent)
|
||||
{
|
||||
auto apps = wivrn::list_applications();
|
||||
auto apps = wivrn::list_applications(true /* Include steam apps */, false /* Don't load icons */);
|
||||
|
||||
for (const auto & [id, app]: apps)
|
||||
{
|
||||
|
||||
@@ -69,20 +69,6 @@
|
||||
<content_rating type="oars-1.1" />
|
||||
|
||||
<releases>
|
||||
<release version="25.8" date="2025-08-10">
|
||||
<url type="details">https://github.com/WiVRn/WiVRn/releases/tag/v25.8</url>
|
||||
<description>
|
||||
<ul>
|
||||
<li>Add a screen to launch applications when the headset connects</li>
|
||||
<li>Add a screen with many options during stream, which can be summoned by pressing both thumbsticks</li>
|
||||
<li>Add XR_EXT_user_presence and XR_EXT_hand_interaction OpenXR extensions</li>
|
||||
<li>Fix vulkan video encode and performances issues with multiple nvenc encoders on NVIDIA GPUs</li>
|
||||
<li>Support 10-bit encoding on VAAPI for H.265 and AV1 codecs</li>
|
||||
<li>Xrizer is now the default OpenVR compatibility layer (may be overriden by distribution packages)</li>
|
||||
<li>Added Slovak and Turkish translations</li>
|
||||
</ul>
|
||||
</description>
|
||||
</release>
|
||||
<release version="25.6.1" date="2025-06-29">
|
||||
<url type="details">https://github.com/WiVRn/WiVRn/releases/tag/v25.6.1</url>
|
||||
<description>
|
||||
|
||||
@@ -59,12 +59,6 @@ Kirigami.ApplicationWindow {
|
||||
// Set the visible property here because dismissing the message removes the binding
|
||||
if (value == WivrnServer.FailedToStart)
|
||||
message_failed_to_start.visible = true;
|
||||
|
||||
if (root.first_run && started) {
|
||||
console.log("First run");
|
||||
root.pageStack.push(Qt.resolvedUrl("WizardPage.qml"));
|
||||
root.first_run = false;
|
||||
}
|
||||
}
|
||||
|
||||
function onPairingEnabledChanged(value) {
|
||||
@@ -90,6 +84,12 @@ Kirigami.ApplicationWindow {
|
||||
if (WivrnServer.serverStatus == WivrnServer.Stopped)
|
||||
WivrnServer.start_server();
|
||||
|
||||
if (root.first_run) {
|
||||
console.log("First run");
|
||||
root.pageStack.push(Qt.resolvedUrl("WizardPage.qml"));
|
||||
root.first_run = false;
|
||||
}
|
||||
|
||||
if (root.last_run_version != ApkInstaller.currentVersion) {
|
||||
root.last_run_version = ApkInstaller.currentVersion;
|
||||
}
|
||||
@@ -305,12 +305,11 @@ Kirigami.ApplicationWindow {
|
||||
level: 1
|
||||
wrapMode: Text.WordWrap
|
||||
text: i18n("Steam information")
|
||||
opacity: steam_info.opacity
|
||||
opacity: root.server_started
|
||||
Layout.maximumHeight: root.server_started ? -1 : 0
|
||||
}
|
||||
SteamLaunchOptions {
|
||||
id: steam_info
|
||||
opacity: root.server_started && WivrnServer.steamCommand != ""
|
||||
opacity: root.server_started
|
||||
Layout.maximumHeight: root.server_started ? -1 : 0
|
||||
}
|
||||
|
||||
|
||||
@@ -290,7 +290,6 @@ Kirigami.ScrollablePage {
|
||||
SelectGame {}
|
||||
|
||||
SteamLaunchOptions {
|
||||
visible: WivrnServer.steamCommand != ""
|
||||
Layout.topMargin: 2 * Kirigami.Units.largeSpacing
|
||||
}
|
||||
|
||||
|
||||
@@ -506,37 +506,29 @@ void wivrn_server::on_server_properties_changed(const QString & interface_name,
|
||||
|
||||
void wivrn_server::setJsonConfiguration(QString new_configuration)
|
||||
{
|
||||
if (server_interface)
|
||||
{
|
||||
server_interface->setJsonConfiguration(m_jsonConfiguration = new_configuration);
|
||||
jsonConfigurationChanged(new_configuration);
|
||||
}
|
||||
server_interface->setJsonConfiguration(m_jsonConfiguration = new_configuration);
|
||||
jsonConfigurationChanged(new_configuration);
|
||||
}
|
||||
|
||||
void wivrn_server::revoke_key(QString public_key)
|
||||
{
|
||||
if (server_interface)
|
||||
server_interface->RevokeKey(public_key);
|
||||
server_interface->RevokeKey(public_key);
|
||||
}
|
||||
|
||||
void wivrn_server::rename_key(QString public_key, QString name)
|
||||
{
|
||||
if (server_interface)
|
||||
server_interface->RenameKey(public_key, name);
|
||||
server_interface->RenameKey(public_key, name);
|
||||
}
|
||||
|
||||
QString wivrn_server::enable_pairing(int timeout_secs)
|
||||
{
|
||||
qDebug() << "Enabling pairing for" << timeout_secs << "seconds";
|
||||
if (server_interface)
|
||||
return server_interface->EnablePairing(timeout_secs).value();
|
||||
return "";
|
||||
return server_interface->EnablePairing(timeout_secs).value();
|
||||
}
|
||||
|
||||
void wivrn_server::disable_pairing()
|
||||
{
|
||||
if (server_interface)
|
||||
server_interface->DisablePairing();
|
||||
server_interface->DisablePairing();
|
||||
}
|
||||
|
||||
QString wivrn_server::hostname()
|
||||
|
||||
@@ -5,8 +5,6 @@ The headset application and the server dashboard are translated, contributions a
|
||||
# Required software
|
||||
You only need `gettext` and a text editor, you can optionally use a graphical editor such as [GNOME Translation Editor](https://wiki.gnome.org/Apps/Gtranslator/) or [Lokalize](https://apps.kde.org/lokalize/).
|
||||
|
||||
If using Lokalize, make sure to erase the "Default mailing list" in the settings, or it will write a KDE mailing list in the translation file and you will have to manually remove it.
|
||||
|
||||
# Adding a new language
|
||||
|
||||
* Run `tools/update_messages.sh LANG` where LANG is the 2 letter [ISO 639](https://en.wikipedia.org/wiki/List_of_ISO_639_language_codes) language code, this will create files in the `locale` directory for the new language. Fill in the fields, `git add` the files, commit and file a pull request.
|
||||
|
||||
Vendored
-4
@@ -1,6 +1,2 @@
|
||||
add_library(wivrn-external INTERFACE)
|
||||
target_include_directories(wivrn-external SYSTEM INTERFACE ${CMAKE_CURRENT_SOURCE_DIR})
|
||||
|
||||
add_library(imspinner OBJECT EXCLUDE_FROM_ALL imspinner/cimspinner.cpp)
|
||||
target_include_directories(imspinner SYSTEM PUBLIC imspinner)
|
||||
target_link_libraries(imspinner wivrn-imgui)
|
||||
|
||||
Vendored
-1628
File diff suppressed because it is too large
Load Diff
Vendored
-415
@@ -1,415 +0,0 @@
|
||||
/*
|
||||
* This file has been auto generated by srcript, see genCimSpinner.rb
|
||||
*/
|
||||
#include "cimspinner_config.h"
|
||||
//#define SPINNER_RAINBOW
|
||||
//#define SPINNER_RAINBOWMIX
|
||||
//#define SPINNER_ROTATINGHEART
|
||||
//#define SPINNER_ANG
|
||||
//#define SPINNER_ANG8
|
||||
//#define SPINNER_ANGMIX
|
||||
//#define SPINNER_LOADINGRING
|
||||
//#define SPINNER_CLOCK
|
||||
//#define SPINNER_PULSAR
|
||||
//#define SPINNER_DOUBLEFADEPULSAR
|
||||
//#define SPINNER_TWINPULSAR
|
||||
//#define SPINNER_FADEPULSAR
|
||||
//#define SPINNER_FADEPULSARSQUARE
|
||||
//#define SPINNER_CIRCULARLINES
|
||||
//#define SPINNER_DOTS
|
||||
//#define SPINNER_VDOTS
|
||||
//#define SPINNER_BOUNCEDOTS
|
||||
//#define SPINNER_ZIPDOTS
|
||||
//#define SPINNER_DOTSTOPOINTS
|
||||
//#define SPINNER_DOTSTOBAR
|
||||
//#define SPINNER_WAVEDOTS
|
||||
//#define SPINNER_FADEDOTS
|
||||
//#define SPINNER_THREEDOTS
|
||||
//#define SPINNER_FIVEDOTS
|
||||
//#define SPINNER_4CALEIDOSPCOPE
|
||||
//#define SPINNER_MULTIFADEDOTS
|
||||
//#define SPINNER_THICKTOSIN
|
||||
//#define SPINNER_SCALEDOTS
|
||||
//#define SPINNER_SQUARESPINS
|
||||
//#define SPINNER_MOVINGDOTS
|
||||
//#define SPINNER_ROTATEDOTS
|
||||
//#define SPINNER_ORIONDOTS
|
||||
//#define SPINNER_GALAXYDOTS
|
||||
//#define SPINNER_TWINANG
|
||||
//#define SPINNER_FILLING
|
||||
//#define SPINNER_FILLINGMEM
|
||||
//#define SPINNER_TOPUP
|
||||
//#define SPINNER_TWINANG180
|
||||
//#define SPINNER_TWINANG360
|
||||
//#define SPINNER_INCDOTS
|
||||
//#define SPINNER_INCFULLDOTS
|
||||
//#define SPINNER_FADEBARS
|
||||
//#define SPINNER_FADETRIS
|
||||
//#define SPINNER_BARSROTATEFADE
|
||||
//#define SPINNER_BARSSCALEMIDDLE
|
||||
//#define SPINNER_ANGTWIN
|
||||
//#define SPINNER_ARCROTATION
|
||||
//#define SPINNER_ARCFADE
|
||||
//#define SPINNER_SIMPLEARCFADE
|
||||
//#define SPINNER_SQUARESTROKEFADE
|
||||
//#define SPINNER_ASCIISYMBOLPOINTS
|
||||
//#define SPINNER_TEXTFADING
|
||||
//#define SPINNER_SEVENSEGMENTS
|
||||
//#define SPINNER_SQUARESTROKEFILL
|
||||
//#define SPINNER_SQUARESTROKELOADING
|
||||
//#define SPINNER_SQUARELOADING
|
||||
//#define SPINNER_FILLEDARCFADE
|
||||
//#define SPINNER_POINTSROLLER
|
||||
//#define SPINNER_POINTSARCBOUNCE
|
||||
//#define SPINNER_FILLEDARCCOLOR
|
||||
//#define SPINNER_FILLEDARCRING
|
||||
//#define SPINNER_ARCWEDGES
|
||||
//#define SPINNER_TWINBALL
|
||||
//#define SPINNER_SOLARBALLS
|
||||
//#define SPINNER_SOLARSCALEBALLS
|
||||
//#define SPINNER_SOLARARCS
|
||||
//#define SPINNER_MOVINGARCS
|
||||
//#define SPINNER_RAINBOWCIRCLE
|
||||
//#define SPINNER_BOUNCEBALL
|
||||
//#define SPINNER_PULSARBALL
|
||||
//#define SPINNER_INCSCALEDOTS
|
||||
//#define SPINNER_SOMESCALEDOTS
|
||||
//#define SPINNER_ANGTRIPLE
|
||||
//#define SPINNER_ANGECLIPSE
|
||||
//#define SPINNER_INGYANG
|
||||
//#define SPINNER_GOOEYBALLS
|
||||
//#define SPINNER_DOTSLOADING
|
||||
//#define SPINNER_ROTATEGOOEYBALLS
|
||||
//#define SPINNER_HERBERTBALLS
|
||||
//#define SPINNER_HERBERTBALLS3D
|
||||
//#define SPINNER_ROTATETRIANGLES
|
||||
//#define SPINNER_ROTATESHAPES
|
||||
//#define SPINNER_SINSQUARES
|
||||
//#define SPINNER_MOONLINE
|
||||
//#define SPINNER_CIRCLEDROP
|
||||
//#define SPINNER_SURROUNDEDINDICATOR
|
||||
//#define SPINNER_WIFIINDICATOR
|
||||
//#define SPINNER_TRIANGLESSELECTOR
|
||||
//#define SPINNER_CAMERA
|
||||
//#define SPINNER_FLOWINGGRADIENT
|
||||
//#define SPINNER_ROTATESEGMENTS
|
||||
//#define SPINNER_LEMNISCATE
|
||||
//#define SPINNER_ROTATEGEAR
|
||||
//#define SPINNER_ROTATEWHEEL
|
||||
//#define SPINNER_ATOM
|
||||
//#define SPINNER_PATTERNRINGS
|
||||
//#define SPINNER_PATTERNECLIPSE
|
||||
//#define SPINNER_PATTERNSPHERE
|
||||
//#define SPINNER_RINGSYNCHRONOUS
|
||||
//#define SPINNER_RINGWATERMARKS
|
||||
//#define SPINNER_ROTATEDATOM
|
||||
//#define SPINNER_RAINBOWBALLS
|
||||
//#define SPINNER_RAINBOWSHOT
|
||||
//#define SPINNER_SPIRAL
|
||||
//#define SPINNER_SPIRALEYE
|
||||
//#define SPINNER_BARCHARTSINE
|
||||
//#define SPINNER_BARCHARTADVSINE
|
||||
//#define SPINNER_BARCHARTADVSINEFADE
|
||||
//#define SPINNER_BARCHARTRAINBOW
|
||||
//#define SPINNER_BLOCKS
|
||||
//#define SPINNER_TWINBLOCKS
|
||||
//#define SPINNER_SQUARERANDOMDOTS
|
||||
//#define SPINNER_SCALEBLOCKS
|
||||
//#define SPINNER_SCALESQUARES
|
||||
//#define SPINNER_SQUISHSQUARE
|
||||
//#define SPINNER_FLUID
|
||||
//#define SPINNER_FLUIDPOINTS
|
||||
//#define SPINNER_ARCPOLARFADE
|
||||
//#define SPINNER_ARCPOLARRADIUS
|
||||
//#define SPINNER_CALEIDOSCOPE
|
||||
//#define SPINNER_HBODOTS
|
||||
//#define SPINNER_MOONDOTS
|
||||
//#define SPINNER_TWINHBODOTS
|
||||
//#define SPINNER_THREEDOTSSTAR
|
||||
//#define SPINNER_SINEARCS
|
||||
//#define SPINNER_TRIANGLESSHIFT
|
||||
//#define SPINNER_POINTSSHIFT
|
||||
//#define SPINNER_SWINGDOTS
|
||||
//#define SPINNER_CIRCULARPOINTS
|
||||
//#define SPINNER_CURVEDCIRCLE
|
||||
//#define SPINNER_MODCIRCLE
|
||||
//#define SPINNER_DNADOTS
|
||||
//#define SPINNER_3SMUGGLEDOTS
|
||||
//#define SPINNER_ROTATESEGMENTSPULSAR
|
||||
//#define SPINNER_SPLINEANG
|
||||
|
||||
#pragma once
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#ifndef CIMSPINNER_API
|
||||
#define CIMSPINNER_API
|
||||
#endif
|
||||
|
||||
CIMSPINNER_API void SpinnerRainbow(const char *label, float radius, float thickness, const ImColor color, float speed);
|
||||
CIMSPINNER_API void SpinnerRainbowEx(const char *label, float radius, float thickness, const ImColor color, float speed,float ang_min, float ang_max, int arcs, int mode);
|
||||
CIMSPINNER_API void SpinnerRainbowMix(const char *label, float radius, float thickness, const ImColor color, float speed);
|
||||
CIMSPINNER_API void SpinnerRainbowMixEx(const char *label, float radius, float thickness, const ImColor color, float speed,float ang_min, float ang_max, int arcs, int mode);
|
||||
CIMSPINNER_API void SpinnerRotatingHeart(const char *label, float radius, float thickness, const ImColor color, float speed);
|
||||
CIMSPINNER_API void SpinnerRotatingHeartEx(const char *label, float radius, float thickness, const ImColor color, float speed,float ang_min);
|
||||
CIMSPINNER_API void SpinnerAng(const char *label, float radius, float thickness);
|
||||
CIMSPINNER_API void SpinnerAngEx(const char *label, float radius, float thickness,const ImColor color, const ImColor bg, float speed, float angle, int mode);
|
||||
CIMSPINNER_API void SpinnerAng8(const char *label, float radius, float thickness);
|
||||
CIMSPINNER_API void SpinnerAng8Ex(const char *label, float radius, float thickness,const ImColor color, const ImColor bg, float speed, float angle, int mode, float rkoef);
|
||||
CIMSPINNER_API void SpinnerAngMix(const char *label, float radius, float thickness);
|
||||
CIMSPINNER_API void SpinnerAngMixEx(const char *label, float radius, float thickness,const ImColor color, float speed, float angle, int arcs, int mode);
|
||||
CIMSPINNER_API void SpinnerLoadingRing(const char *label, float radius, float thickness);
|
||||
CIMSPINNER_API void SpinnerLoadingRingEx(const char *label, float radius, float thickness,const ImColor color, const ImColor bg, float speed, int segments);
|
||||
CIMSPINNER_API void SpinnerClock(const char *label, float radius, float thickness);
|
||||
CIMSPINNER_API void SpinnerClockEx(const char *label, float radius, float thickness,const ImColor color, const ImColor bg, float speed);
|
||||
CIMSPINNER_API void SpinnerPulsar(const char *label, float radius, float thickness);
|
||||
CIMSPINNER_API void SpinnerPulsarEx(const char *label, float radius, float thickness,const ImColor bg, float speed, bool sequence, float angle, int mode);
|
||||
CIMSPINNER_API void SpinnerDoubleFadePulsar(const char *label, float radius, float thickness);
|
||||
CIMSPINNER_API void SpinnerDoubleFadePulsarEx(const char *label, float radius, float thickness,const ImColor bg, float speed);
|
||||
CIMSPINNER_API void SpinnerTwinPulsar(const char *label, float radius, float thickness);
|
||||
CIMSPINNER_API void SpinnerTwinPulsarEx(const char *label, float radius, float thickness,const ImColor color, float speed, int rings, int mode);
|
||||
CIMSPINNER_API void SpinnerFadePulsar(const char *label, float radius);
|
||||
CIMSPINNER_API void SpinnerFadePulsarEx(const char *label, float radius,const ImColor color, float speed, int rings, int mode);
|
||||
CIMSPINNER_API void SpinnerFadePulsarSquare(const char *label, float radius);
|
||||
CIMSPINNER_API void SpinnerFadePulsarSquareEx(const char *label, float radius,const ImColor color, float speed, int rings, int mode);
|
||||
CIMSPINNER_API void SpinnerCircularLines(const char *label, float radius);
|
||||
CIMSPINNER_API void SpinnerCircularLinesEx(const char *label, float radius,const ImColor color, float speed, int lines, int mode);
|
||||
CIMSPINNER_API void SpinnerDots(const char *label, float *nextdot, float radius, float thickness);
|
||||
CIMSPINNER_API void SpinnerDotsEx(const char *label, float *nextdot, float radius, float thickness,const ImColor color, float speed, size_t dots, float minth, int mode);
|
||||
CIMSPINNER_API void SpinnerVDots(const char *label, float radius, float thickness);
|
||||
CIMSPINNER_API void SpinnerVDotsEx(const char *label, float radius, float thickness,const ImColor color, const ImColor bgcolor, float speed, size_t dots, size_t mdots, int mode);
|
||||
CIMSPINNER_API void SpinnerBounceDots(const char *label, float radius, float thickness);
|
||||
CIMSPINNER_API void SpinnerBounceDotsEx(const char *label, float radius, float thickness,const ImColor color, float speed, size_t dots, int mode);
|
||||
CIMSPINNER_API void SpinnerZipDots(const char *label, float radius, float thickness);
|
||||
CIMSPINNER_API void SpinnerZipDotsEx(const char *label, float radius, float thickness,const ImColor color, float speed, size_t dots);
|
||||
CIMSPINNER_API void SpinnerDotsToPoints(const char *label, float radius, float thickness, float offset_k);
|
||||
CIMSPINNER_API void SpinnerDotsToPointsEx(const char *label, float radius, float thickness, float offset_k,const ImColor color, float speed, size_t dots);
|
||||
CIMSPINNER_API void SpinnerDotsToBar(const char *label, float radius, float thickness, float offset_k);
|
||||
CIMSPINNER_API void SpinnerDotsToBarEx(const char *label, float radius, float thickness, float offset_k,const ImColor color, float speed, size_t dots);
|
||||
CIMSPINNER_API void SpinnerWaveDots(const char *label, float radius, float thickness);
|
||||
CIMSPINNER_API void SpinnerWaveDotsEx(const char *label, float radius, float thickness,const ImColor color, float speed, int lt);
|
||||
CIMSPINNER_API void SpinnerFadeDots(const char *label, float radius, float thickness);
|
||||
CIMSPINNER_API void SpinnerFadeDotsEx(const char *label, float radius, float thickness,const ImColor color, float speed, int lt, int mode);
|
||||
CIMSPINNER_API void SpinnerThreeDots(const char *label, float radius, float thickness);
|
||||
CIMSPINNER_API void SpinnerThreeDotsEx(const char *label, float radius, float thickness,const ImColor color, float speed, int lt);
|
||||
CIMSPINNER_API void SpinnerFiveDots(const char *label, float radius, float thickness);
|
||||
CIMSPINNER_API void SpinnerFiveDotsEx(const char *label, float radius, float thickness,const ImColor color, float speed, int lt);
|
||||
CIMSPINNER_API void Spinner4Caleidospcope(const char *label, float radius, float thickness);
|
||||
CIMSPINNER_API void Spinner4CaleidospcopeEx(const char *label, float radius, float thickness,const ImColor color, float speed, int lt);
|
||||
CIMSPINNER_API void SpinnerMultiFadeDots(const char *label, float radius, float thickness);
|
||||
CIMSPINNER_API void SpinnerMultiFadeDotsEx(const char *label, float radius, float thickness,const ImColor color, float speed, int lt);
|
||||
CIMSPINNER_API void SpinnerThickToSin(const char *label, float radius, float thickness);
|
||||
CIMSPINNER_API void SpinnerThickToSinEx(const char *label, float radius, float thickness,const ImColor color, float speed, int nt, int lt, int mode);
|
||||
CIMSPINNER_API void SpinnerScaleDots(const char *label, float radius, float thickness);
|
||||
CIMSPINNER_API void SpinnerScaleDotsEx(const char *label, float radius, float thickness,const ImColor color, float speed, int lt);
|
||||
CIMSPINNER_API void SpinnerSquareSpins(const char *label, float radius, float thickness);
|
||||
CIMSPINNER_API void SpinnerSquareSpinsEx(const char *label, float radius, float thickness,const ImColor color, float speed);
|
||||
CIMSPINNER_API void SpinnerMovingDots(const char *label, float radius, float thickness);
|
||||
CIMSPINNER_API void SpinnerMovingDotsEx(const char *label, float radius, float thickness,const ImColor color, float speed, size_t dots);
|
||||
CIMSPINNER_API void SpinnerRotateDots(const char *label, float radius, float thickness);
|
||||
CIMSPINNER_API void SpinnerRotateDotsEx(const char *label, float radius, float thickness,const ImColor color, float speed, int dots, int mode);
|
||||
CIMSPINNER_API void SpinnerOrionDots(const char *label, float radius, float thickness);
|
||||
CIMSPINNER_API void SpinnerOrionDotsEx(const char *label, float radius, float thickness,const ImColor color, float speed, int arcs);
|
||||
CIMSPINNER_API void SpinnerGalaxyDots(const char *label, float radius, float thickness);
|
||||
CIMSPINNER_API void SpinnerGalaxyDotsEx(const char *label, float radius, float thickness,const ImColor color, float speed, int arcs);
|
||||
CIMSPINNER_API void SpinnerTwinAng(const char *label, float radius1, float radius2, float thickness);
|
||||
CIMSPINNER_API void SpinnerTwinAngEx(const char *label, float radius1, float radius2, float thickness,const ImColor color1, const ImColor color2, float speed, float angle, int mode);
|
||||
CIMSPINNER_API void SpinnerFilling(const char *label, float radius, float thickness);
|
||||
CIMSPINNER_API void SpinnerFillingEx(const char *label, float radius, float thickness,const ImColor color1, const ImColor color2, float speed);
|
||||
CIMSPINNER_API void SpinnerFillingMem(const char *label, float radius, float thickness, const ImColor color, ImColor colorbg, float speed);
|
||||
CIMSPINNER_API void SpinnerTopup(const char *label, float radius1, float radius2);
|
||||
CIMSPINNER_API void SpinnerTopupEx(const char *label, float radius1, float radius2,const ImColor color, const ImColor fg, const ImColor bg, float speed);
|
||||
CIMSPINNER_API void SpinnerTwinAng180(const char *label, float radius1, float radius2, float thickness);
|
||||
CIMSPINNER_API void SpinnerTwinAng180Ex(const char *label, float radius1, float radius2, float thickness,const ImColor color1, const ImColor color2, float speed, float angle, int mode);
|
||||
CIMSPINNER_API void SpinnerTwinAng360(const char *label, float radius1, float radius2, float thickness);
|
||||
CIMSPINNER_API void SpinnerTwinAng360Ex(const char *label, float radius1, float radius2, float thickness,const ImColor color1, const ImColor color2, float speed1, float speed2, int mode);
|
||||
CIMSPINNER_API void SpinnerIncDots(const char *label, float radius, float thickness);
|
||||
CIMSPINNER_API void SpinnerIncDotsEx(const char *label, float radius, float thickness,const ImColor color, float speed, size_t dots);
|
||||
CIMSPINNER_API void SpinnerIncFullDots(const char *label, float radius, float thickness);
|
||||
CIMSPINNER_API void SpinnerIncFullDotsEx(const char *label, float radius, float thickness,const ImColor color, float speed, size_t dots);
|
||||
CIMSPINNER_API void SpinnerFadeBars(const char *label, float w);
|
||||
CIMSPINNER_API void SpinnerFadeBarsEx(const char *label, float w,const ImColor color, float speed, size_t bars, bool scale);
|
||||
CIMSPINNER_API void SpinnerFadeTris(const char *label, float radius);
|
||||
CIMSPINNER_API void SpinnerFadeTrisEx(const char *label, float radius,const ImColor color, float speed, size_t dim, bool scale, int mode);
|
||||
CIMSPINNER_API void SpinnerBarsRotateFade(const char *label, float rmin, float rmax , float thickness);
|
||||
CIMSPINNER_API void SpinnerBarsRotateFadeEx(const char *label, float rmin, float rmax , float thickness,const ImColor color, float speed, size_t bars);
|
||||
CIMSPINNER_API void SpinnerBarsScaleMiddle(const char *label, float w);
|
||||
CIMSPINNER_API void SpinnerBarsScaleMiddleEx(const char *label, float w,const ImColor color, float speed, size_t bars);
|
||||
CIMSPINNER_API void SpinnerAngTwin(const char *label, float radius1, float radius2, float thickness);
|
||||
CIMSPINNER_API void SpinnerAngTwinEx(const char *label, float radius1, float radius2, float thickness,const ImColor color, const ImColor bg, float speed, float angle, size_t arcs, int mode);
|
||||
CIMSPINNER_API void SpinnerArcRotation(const char *label, float radius, float thickness);
|
||||
CIMSPINNER_API void SpinnerArcRotationEx(const char *label, float radius, float thickness,const ImColor color, float speed, size_t arcs, int mode);
|
||||
CIMSPINNER_API void SpinnerArcFade(const char *label, float radius, float thickness);
|
||||
CIMSPINNER_API void SpinnerArcFadeEx(const char *label, float radius, float thickness,const ImColor color, float speed, size_t arcs, int mode);
|
||||
CIMSPINNER_API void SpinnerSimpleArcFade(const char *label, float radius, float thickness);
|
||||
CIMSPINNER_API void SpinnerSimpleArcFadeEx(const char *label, float radius, float thickness,const ImColor color, float speed);
|
||||
CIMSPINNER_API void SpinnerSquareStrokeFade(const char *label, float radius, float thickness);
|
||||
CIMSPINNER_API void SpinnerSquareStrokeFadeEx(const char *label, float radius, float thickness,const ImColor color, float speed);
|
||||
CIMSPINNER_API void SpinnerAsciiSymbolPoints(const char *label, const char* text, float radius, float thickness);
|
||||
CIMSPINNER_API void SpinnerAsciiSymbolPointsEx(const char *label, const char* text, float radius, float thickness,const ImColor color, float speed);
|
||||
CIMSPINNER_API void SpinnerTextFading(const char *label, const char* text, float radius, float fsize);
|
||||
CIMSPINNER_API void SpinnerTextFadingEx(const char *label, const char* text, float radius, float fsize,const ImColor color, float speed);
|
||||
CIMSPINNER_API void SpinnerSevenSegments(const char *label, const char* text, float radius, float thickness);
|
||||
CIMSPINNER_API void SpinnerSevenSegmentsEx(const char *label, const char* text, float radius, float thickness,const ImColor color, float speed);
|
||||
CIMSPINNER_API void SpinnerSquareStrokeFill(const char *label, float radius, float thickness);
|
||||
CIMSPINNER_API void SpinnerSquareStrokeFillEx(const char *label, float radius, float thickness,const ImColor color, float speed);
|
||||
CIMSPINNER_API void SpinnerSquareStrokeLoading(const char *label, float radius, float thickness);
|
||||
CIMSPINNER_API void SpinnerSquareStrokeLoadingEx(const char *label, float radius, float thickness,const ImColor color, float speed);
|
||||
CIMSPINNER_API void SpinnerSquareLoading(const char *label, float radius, float thickness);
|
||||
CIMSPINNER_API void SpinnerSquareLoadingEx(const char *label, float radius, float thickness,const ImColor color, float speed);
|
||||
CIMSPINNER_API void SpinnerFilledArcFade(const char *label, float radius);
|
||||
CIMSPINNER_API void SpinnerFilledArcFadeEx(const char *label, float radius,const ImColor color, float speed, size_t arcs, int mode);
|
||||
CIMSPINNER_API void SpinnerPointsRoller(const char *label, float radius, float thickness);
|
||||
CIMSPINNER_API void SpinnerPointsRollerEx(const char *label, float radius, float thickness,const ImColor color, float speed, size_t points, int circles, float rspeed);
|
||||
CIMSPINNER_API void SpinnerPointsArcBounce(const char *label, float radius, float thickness);
|
||||
CIMSPINNER_API void SpinnerPointsArcBounceEx(const char *label, float radius, float thickness,const ImColor color, float speed, size_t points, int circles, float rspeed);
|
||||
CIMSPINNER_API void SpinnerFilledArcColor(const char *label, float radius);
|
||||
CIMSPINNER_API void SpinnerFilledArcColorEx(const char *label, float radius,const ImColor color, const ImColor bg, float speed, size_t arcs);
|
||||
CIMSPINNER_API void SpinnerFilledArcRing(const char *label, float radius, float thickness);
|
||||
CIMSPINNER_API void SpinnerFilledArcRingEx(const char *label, float radius, float thickness,const ImColor color, const ImColor bg, float speed, size_t arcs);
|
||||
CIMSPINNER_API void SpinnerArcWedges(const char *label, float radius);
|
||||
CIMSPINNER_API void SpinnerArcWedgesEx(const char *label, float radius,const ImColor color, float speed, size_t arcs, int mode);
|
||||
CIMSPINNER_API void SpinnerTwinBall(const char *label, float radius1, float radius2, float thickness, float b_thickness);
|
||||
CIMSPINNER_API void SpinnerTwinBallEx(const char *label, float radius1, float radius2, float thickness, float b_thickness,const ImColor ball, const ImColor bg, float speed, size_t balls, int mode);
|
||||
CIMSPINNER_API void SpinnerSolarBalls(const char *label, float radius, float thickness);
|
||||
CIMSPINNER_API void SpinnerSolarBallsEx(const char *label, float radius, float thickness,const ImColor ball, const ImColor bg, float speed, size_t balls);
|
||||
CIMSPINNER_API void SpinnerSolarScaleBalls(const char *label, float radius, float thickness);
|
||||
CIMSPINNER_API void SpinnerSolarScaleBallsEx(const char *label, float radius, float thickness,const ImColor ball, float speed, size_t balls);
|
||||
CIMSPINNER_API void SpinnerSolarArcs(const char *label, float radius, float thickness);
|
||||
CIMSPINNER_API void SpinnerSolarArcsEx(const char *label, float radius, float thickness,const ImColor ball, const ImColor bg, float speed, size_t balls);
|
||||
CIMSPINNER_API void SpinnerMovingArcs(const char *label, float radius, float thickness);
|
||||
CIMSPINNER_API void SpinnerMovingArcsEx(const char *label, float radius, float thickness,const ImColor color, float speed, size_t arcs);
|
||||
CIMSPINNER_API void SpinnerRainbowCircle(const char *label, float radius, float thickness);
|
||||
CIMSPINNER_API void SpinnerRainbowCircleEx(const char *label, float radius, float thickness,const ImColor color, float speed, size_t arcs, float mode);
|
||||
CIMSPINNER_API void SpinnerBounceBall(const char *label, float radius, float thickness);
|
||||
CIMSPINNER_API void SpinnerBounceBallEx(const char *label, float radius, float thickness,const ImColor color, float speed, int dots, bool shadow);
|
||||
CIMSPINNER_API void SpinnerPulsarBall(const char *label, float radius, float thickness);
|
||||
CIMSPINNER_API void SpinnerPulsarBallEx(const char *label, float radius, float thickness,const ImColor color, float speed, bool shadow, int mode);
|
||||
CIMSPINNER_API void SpinnerIncScaleDots(const char *label, float radius, float thickness);
|
||||
CIMSPINNER_API void SpinnerIncScaleDotsEx(const char *label, float radius, float thickness,const ImColor color, float speed, size_t dots, float angle, int mode);
|
||||
CIMSPINNER_API void SpinnerSomeScaleDots(const char *label, float radius, float thickness);
|
||||
CIMSPINNER_API void SpinnerSomeScaleDotsEx(const char *label, float radius, float thickness,const ImColor color, float speed, size_t dots, int mode);
|
||||
CIMSPINNER_API void SpinnerAngTriple(const char *label, float radius1, float radius2, float radius3, float thickness);
|
||||
CIMSPINNER_API void SpinnerAngTripleEx(const char *label, float radius1, float radius2, float radius3, float thickness,const ImColor c1, const ImColor c2, const ImColor c3, float speed, float angle);
|
||||
CIMSPINNER_API void SpinnerAngEclipse(const char *label, float radius, float thickness);
|
||||
CIMSPINNER_API void SpinnerAngEclipseEx(const char *label, float radius, float thickness,const ImColor color, float speed, float angle);
|
||||
CIMSPINNER_API void SpinnerIngYang(const char *label, float radius, float thickness, bool reverse, float yang_detlta_r);
|
||||
CIMSPINNER_API void SpinnerIngYangEx(const char *label, float radius, float thickness, bool reverse, float yang_detlta_r,const ImColor colorI, const ImColor colorY, float speed, float angle, int mode);
|
||||
CIMSPINNER_API void SpinnerGooeyBalls(const char *label, float radius, const ImColor color, float speed);
|
||||
CIMSPINNER_API void SpinnerGooeyBallsEx(const char *label, float radius, const ImColor color, float speed,int mode);
|
||||
CIMSPINNER_API void SpinnerDotsLoading(const char *label, float radius, float thickness, const ImColor color, const ImColor bg, float speed);
|
||||
CIMSPINNER_API void SpinnerRotateGooeyBalls(const char *label, float radius, float thickness, const ImColor color, float speed, int balls);
|
||||
CIMSPINNER_API void SpinnerRotateGooeyBallsEx(const char *label, float radius, float thickness, const ImColor color, float speed, int balls,int mode);
|
||||
CIMSPINNER_API void SpinnerHerbertBalls(const char *label, float radius, float thickness, const ImColor color, float speed, int balls);
|
||||
CIMSPINNER_API void SpinnerHerbertBalls3D(const char *label, float radius, float thickness, const ImColor color, float speed);
|
||||
CIMSPINNER_API void SpinnerRotateTriangles(const char *label, float radius, float thickness, const ImColor color, float speed, int tris);
|
||||
CIMSPINNER_API void SpinnerRotateTrianglesEx(const char *label, float radius, float thickness, const ImColor color, float speed, int tris,int mode);
|
||||
CIMSPINNER_API void SpinnerRotateShapes(const char *label, float radius, float thickness, const ImColor color, float speed, int shapes, int pnt);
|
||||
CIMSPINNER_API void SpinnerSinSquares(const char *label, float radius, float thickness, const ImColor color, float speed);
|
||||
CIMSPINNER_API void SpinnerSinSquaresEx(const char *label, float radius, float thickness, const ImColor color, float speed,int mode);
|
||||
CIMSPINNER_API void SpinnerMoonLine(const char *label, float radius, float thickness);
|
||||
CIMSPINNER_API void SpinnerMoonLineEx(const char *label, float radius, float thickness,const ImColor color, const ImColor bg, float speed, float angle);
|
||||
CIMSPINNER_API void SpinnerCircleDrop(const char *label, float radius, float thickness, float thickness_drop);
|
||||
CIMSPINNER_API void SpinnerCircleDropEx(const char *label, float radius, float thickness, float thickness_drop,const ImColor color, const ImColor bg, float speed, float angle);
|
||||
CIMSPINNER_API void SpinnerSurroundedIndicator(const char *label, float radius, float thickness);
|
||||
CIMSPINNER_API void SpinnerSurroundedIndicatorEx(const char *label, float radius, float thickness,const ImColor color, const ImColor bg, float speed);
|
||||
CIMSPINNER_API void SpinnerWifiIndicator(const char *label, float radius, float thickness);
|
||||
CIMSPINNER_API void SpinnerWifiIndicatorEx(const char *label, float radius, float thickness,const ImColor color, const ImColor bg, float speed, float cangle, int dots);
|
||||
CIMSPINNER_API void SpinnerTrianglesSelector(const char *label, float radius, float thickness);
|
||||
CIMSPINNER_API void SpinnerTrianglesSelectorEx(const char *label, float radius, float thickness,const ImColor color, const ImColor bg, float speed, size_t bars);
|
||||
typedef ImColor LeafColor(int);
|
||||
CIMSPINNER_API void SpinnerCamera(const char *label, float radius, float thickness, LeafColor *leaf_color);
|
||||
CIMSPINNER_API void SpinnerCameraEx(const char *label, float radius, float thickness, LeafColor *leaf_color,float speed, size_t bars, int mode);
|
||||
CIMSPINNER_API void SpinnerFlowingGradient(const char *label, float radius, float thickness);
|
||||
CIMSPINNER_API void SpinnerFlowingGradientEx(const char *label, float radius, float thickness,const ImColor color, const ImColor bg, float speed, float angle);
|
||||
CIMSPINNER_API void SpinnerRotateSegments(const char *label, float radius, float thickness);
|
||||
CIMSPINNER_API void SpinnerRotateSegmentsEx(const char *label, float radius, float thickness,const ImColor color, float speed, size_t arcs, size_t layers, int mode);
|
||||
CIMSPINNER_API void SpinnerLemniscate(const char* label, float radius, float thickness);
|
||||
CIMSPINNER_API void SpinnerLemniscateEx(const char* label, float radius, float thickness,const ImColor color, float speed, float angle);
|
||||
CIMSPINNER_API void SpinnerRotateGear(const char *label, float radius, float thickness);
|
||||
CIMSPINNER_API void SpinnerRotateGearEx(const char *label, float radius, float thickness,const ImColor color, float speed, size_t pins);
|
||||
CIMSPINNER_API void SpinnerRotateWheel(const char *label, float radius, float thickness);
|
||||
CIMSPINNER_API void SpinnerRotateWheelEx(const char *label, float radius, float thickness,const ImColor bg_color, const ImColor color, float speed, size_t pins);
|
||||
CIMSPINNER_API void SpinnerAtom(const char *label, float radius, float thickness);
|
||||
CIMSPINNER_API void SpinnerAtomEx(const char *label, float radius, float thickness,const ImColor color, float speed, int elipses);
|
||||
CIMSPINNER_API void SpinnerPatternRings(const char *label, float radius, float thickness);
|
||||
CIMSPINNER_API void SpinnerPatternRingsEx(const char *label, float radius, float thickness,const ImColor color, float speed, int elipses);
|
||||
CIMSPINNER_API void SpinnerPatternEclipse(const char *label, float radius, float thickness);
|
||||
CIMSPINNER_API void SpinnerPatternEclipseEx(const char *label, float radius, float thickness,const ImColor color, float speed, int elipses, float delta_a, float delta_y);
|
||||
CIMSPINNER_API void SpinnerPatternSphere(const char *label, float radius, float thickness);
|
||||
CIMSPINNER_API void SpinnerPatternSphereEx(const char *label, float radius, float thickness,const ImColor color, float speed, int elipses);
|
||||
CIMSPINNER_API void SpinnerRingSynchronous(const char *label, float radius, float thickness);
|
||||
CIMSPINNER_API void SpinnerRingSynchronousEx(const char *label, float radius, float thickness,const ImColor color, float speed, int elipses);
|
||||
CIMSPINNER_API void SpinnerRingWatermarks(const char *label, float radius, float thickness);
|
||||
CIMSPINNER_API void SpinnerRingWatermarksEx(const char *label, float radius, float thickness,const ImColor color, float speed, int elipses);
|
||||
CIMSPINNER_API void SpinnerRotatedAtom(const char *label, float radius, float thickness);
|
||||
CIMSPINNER_API void SpinnerRotatedAtomEx(const char *label, float radius, float thickness,const ImColor color, float speed, int elipses, int mode);
|
||||
CIMSPINNER_API void SpinnerRainbowBalls(const char *label, float radius, float thickness, const ImColor color, float speed);
|
||||
CIMSPINNER_API void SpinnerRainbowBallsEx(const char *label, float radius, float thickness, const ImColor color, float speed,int balls, int mode, int rings, int mx);
|
||||
CIMSPINNER_API void SpinnerRainbowShot(const char *label, float radius, float thickness, const ImColor color, float speed);
|
||||
CIMSPINNER_API void SpinnerRainbowShotEx(const char *label, float radius, float thickness, const ImColor color, float speed,int balls, int mode);
|
||||
CIMSPINNER_API void SpinnerSpiral(const char *label, float radius, float thickness);
|
||||
CIMSPINNER_API void SpinnerSpiralEx(const char *label, float radius, float thickness,const ImColor color, float speed, size_t arcs);
|
||||
CIMSPINNER_API void SpinnerSpiralEye(const char *label, float radius, float thickness);
|
||||
CIMSPINNER_API void SpinnerSpiralEyeEx(const char *label, float radius, float thickness,const ImColor color, float speed);
|
||||
CIMSPINNER_API void SpinnerBarChartSine(const char *label, float radius, float thickness, const ImColor color, float speed);
|
||||
CIMSPINNER_API void SpinnerBarChartSineEx(const char *label, float radius, float thickness, const ImColor color, float speed,int bars, int mode);
|
||||
CIMSPINNER_API void SpinnerBarChartAdvSine(const char *label, float radius, float thickness, const ImColor color, float speed);
|
||||
CIMSPINNER_API void SpinnerBarChartAdvSineEx(const char *label, float radius, float thickness, const ImColor color, float speed,int mode);
|
||||
CIMSPINNER_API void SpinnerBarChartAdvSineFade(const char *label, float radius, float thickness, const ImColor color, float speed);
|
||||
CIMSPINNER_API void SpinnerBarChartAdvSineFadeEx(const char *label, float radius, float thickness, const ImColor color, float speed,int mode);
|
||||
CIMSPINNER_API void SpinnerBarChartRainbow(const char *label, float radius, float thickness, const ImColor color, float speed);
|
||||
CIMSPINNER_API void SpinnerBarChartRainbowEx(const char *label, float radius, float thickness, const ImColor color, float speed,int bars, int mode);
|
||||
CIMSPINNER_API void SpinnerBlocks(const char *label, float radius, float thickness, const ImColor bg, const ImColor color, float speed);
|
||||
CIMSPINNER_API void SpinnerTwinBlocks(const char *label, float radius, float thickness, const ImColor bg, const ImColor color, float speed);
|
||||
CIMSPINNER_API void SpinnerSquareRandomDots(const char *label, float radius, float thickness, const ImColor bg, const ImColor color, float speed);
|
||||
CIMSPINNER_API void SpinnerScaleBlocks(const char *label, float radius, float thickness, const ImColor color, float speed);
|
||||
CIMSPINNER_API void SpinnerScaleBlocksEx(const char *label, float radius, float thickness, const ImColor color, float speed,int mode);
|
||||
CIMSPINNER_API void SpinnerScaleSquares(const char *label, float radius, float thikness, const ImColor color, float speed);
|
||||
CIMSPINNER_API void SpinnerSquishSquare(const char *label, float radius, const ImColor color, float speed);
|
||||
CIMSPINNER_API void SpinnerFluid(const char *label, float radius, const ImColor color, float speed);
|
||||
CIMSPINNER_API void SpinnerFluidEx(const char *label, float radius, const ImColor color, float speed,int bars);
|
||||
CIMSPINNER_API void SpinnerFluidPoints(const char *label, float radius, float thickness, const ImColor color, float speed);
|
||||
CIMSPINNER_API void SpinnerFluidPointsEx(const char *label, float radius, float thickness, const ImColor color, float speed,size_t dots, float delta);
|
||||
CIMSPINNER_API void SpinnerArcPolarFade(const char *label, float radius);
|
||||
CIMSPINNER_API void SpinnerArcPolarFadeEx(const char *label, float radius,const ImColor color, float speed, size_t arcs, int mode);
|
||||
CIMSPINNER_API void SpinnerArcPolarRadius(const char *label, float radius);
|
||||
CIMSPINNER_API void SpinnerArcPolarRadiusEx(const char *label, float radius,const ImColor color, float speed, size_t arcs, int mode);
|
||||
CIMSPINNER_API void SpinnerCaleidoscope(const char *label, float radius, float thickness);
|
||||
CIMSPINNER_API void SpinnerCaleidoscopeEx(const char *label, float radius, float thickness,const ImColor color, float speed, size_t arcs, int mode);
|
||||
CIMSPINNER_API void SpinnerHboDots(const char *label, float radius, float thickness);
|
||||
CIMSPINNER_API void SpinnerHboDotsEx(const char *label, float radius, float thickness,const ImColor color, float minfade, float ryk, float speed, size_t dots, int mode);
|
||||
CIMSPINNER_API void SpinnerMoonDots(const char *label, float radius, float thickness, const ImColor first, const ImColor second);
|
||||
CIMSPINNER_API void SpinnerMoonDotsEx(const char *label, float radius, float thickness, const ImColor first, const ImColor second,float speed);
|
||||
CIMSPINNER_API void SpinnerTwinHboDots(const char *label, float radius, float thickness);
|
||||
CIMSPINNER_API void SpinnerTwinHboDotsEx(const char *label, float radius, float thickness,const ImColor color, float minfade, float ryk, float speed, size_t dots, float delta);
|
||||
CIMSPINNER_API void SpinnerThreeDotsStar(const char *label, float radius, float thickness);
|
||||
CIMSPINNER_API void SpinnerThreeDotsStarEx(const char *label, float radius, float thickness,const ImColor color, float minfade, float ryk, float speed, float delta);
|
||||
CIMSPINNER_API void SpinnerSineArcs(const char *label, float radius, float thickness);
|
||||
CIMSPINNER_API void SpinnerSineArcsEx(const char *label, float radius, float thickness,const ImColor color, float speed);
|
||||
CIMSPINNER_API void SpinnerTrianglesShift(const char *label, float radius, float thickness);
|
||||
CIMSPINNER_API void SpinnerTrianglesShiftEx(const char *label, float radius, float thickness,const ImColor color, const ImColor bg, float speed, size_t bars);
|
||||
CIMSPINNER_API void SpinnerPointsShift(const char *label, float radius, float thickness);
|
||||
CIMSPINNER_API void SpinnerPointsShiftEx(const char *label, float radius, float thickness,const ImColor color, const ImColor bg, float speed, size_t bars);
|
||||
CIMSPINNER_API void SpinnerSwingDots(const char *label, float radius, float thickness);
|
||||
CIMSPINNER_API void SpinnerSwingDotsEx(const char *label, float radius, float thickness,const ImColor color, float speed);
|
||||
CIMSPINNER_API void SpinnerCircularPoints(const char *label, float radius, float thickness);
|
||||
CIMSPINNER_API void SpinnerCircularPointsEx(const char *label, float radius, float thickness,const ImColor color, float speed, int lines);
|
||||
CIMSPINNER_API void SpinnerCurvedCircle(const char *label, float radius, float thickness);
|
||||
CIMSPINNER_API void SpinnerCurvedCircleEx(const char *label, float radius, float thickness,const ImColor color, float speed, size_t circles);
|
||||
CIMSPINNER_API void SpinnerModCircle(const char *label, float radius, float thickness);
|
||||
CIMSPINNER_API void SpinnerModCircleEx(const char *label, float radius, float thickness,const ImColor color, float ang_min, float ang_max, float speed);
|
||||
CIMSPINNER_API void SpinnerDnaDots(const char *label, float radius, float thickness);
|
||||
CIMSPINNER_API void SpinnerDnaDotsEx(const char *label, float radius, float thickness,const ImColor color, float speed, int lt, float delta, bool mode);
|
||||
CIMSPINNER_API void Spinner3SmuggleDots(const char *label, float radius, float thickness);
|
||||
CIMSPINNER_API void Spinner3SmuggleDotsEx(const char *label, float radius, float thickness,const ImColor color, float speed, int lt, float delta, bool mode);
|
||||
CIMSPINNER_API void SpinnerRotateSegmentsPulsar(const char *label, float radius, float thickness);
|
||||
CIMSPINNER_API void SpinnerRotateSegmentsPulsarEx(const char *label, float radius, float thickness,const ImColor color, float speed, size_t arcs, size_t layers);
|
||||
CIMSPINNER_API void SpinnerSplineAng(const char *label, float radius, float thickness);
|
||||
CIMSPINNER_API void SpinnerSplineAngEx(const char *label, float radius, float thickness,const ImColor color, const ImColor bg, float speed, float angle, int mode);
|
||||
|
||||
CIMSPINNER_API void demoSpinners();
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
-11
@@ -1,11 +0,0 @@
|
||||
#pragma once
|
||||
|
||||
#define SPINNER_RAINBOWMIX
|
||||
#define SPINNER_DNADOTS
|
||||
#define SPINNER_ANG8
|
||||
#define SPINNER_CLOCK
|
||||
#define SPINNER_PULSAR
|
||||
#define SPINNER_DOTSTOBAR
|
||||
#define SPINNER_ATOM
|
||||
#define SPINNER_BARCHARTRAINBOW
|
||||
#define SPINNER_SWINGDOTS
|
||||
Vendored
-4950
File diff suppressed because it is too large
Load Diff
@@ -19,7 +19,6 @@
|
||||
|
||||
pkgs.librsvg
|
||||
pkgs.libpng
|
||||
pkgs.libarchive
|
||||
];
|
||||
|
||||
package = pkgs.enableDebugging (pkgs.wivrn.overrideAttrs (finalAttrs: oldAttrs: {
|
||||
|
||||
@@ -25,8 +25,7 @@ finish-args:
|
||||
- --system-talk-name=org.freedesktop.hostname1
|
||||
# List applications from $XDG_DATA_DIRS
|
||||
- --filesystem=host-os:ro
|
||||
- --filesystem=xdg-data/applications:ro
|
||||
- --filesystem=xdg-data/Steam:ro
|
||||
- --filesystem=xdg-data:ro
|
||||
# List flatpak Steam games
|
||||
- --filesystem=~/.var/app/com.valvesoftware.Steam:ro
|
||||
# Pipewire
|
||||
@@ -34,6 +33,9 @@ finish-args:
|
||||
# Set the active OpenXR / OpenVR runtime
|
||||
- --filesystem=xdg-config/openxr:create
|
||||
- --filesystem=xdg-config/openvr:create
|
||||
# SlimeVR
|
||||
- --filesystem=xdg-run/SlimeVRInput
|
||||
- --filesystem=xdg-run/SlimeVRRpc
|
||||
# Let outside application access the WiVRn socket
|
||||
- --filesystem=xdg-run/wivrn:create
|
||||
- --own-name=io.github.wivrn.Server
|
||||
@@ -378,6 +380,7 @@ modules:
|
||||
- -DWIVRN_USE_NVENC=ON
|
||||
- -DWIVRN_USE_VULKAN_ENCODE=ON
|
||||
- -DWIVRN_USE_PULSEAUDIO=OFF
|
||||
- -DWIVRN_FEATURE_SOLARXR=ON
|
||||
- -DWIVRN_WERROR=ON
|
||||
- -DWIVRN_CHECK_CAPSYSNICE=OFF # Capabilities don't work inside flatpak
|
||||
- -DFETCHCONTENT_FULLY_DISCONNECTED=ON
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
distributionBase=GRADLE_USER_HOME
|
||||
distributionPath=wrapper/dists
|
||||
distributionUrl=https\://services.gradle.org/distributions/gradle-8.9-bin.zip
|
||||
distributionUrl=https\://services.gradle.org/distributions/gradle-8.13-bin.zip
|
||||
zipStoreBase=GRADLE_USER_HOME
|
||||
zipStorePath=wrapper/dists
|
||||
|
||||
File diff suppressed because one or more lines are too long
|
Before Width: | Height: | Size: 158 KiB |
+3
-3
@@ -6,7 +6,7 @@ msgstr ""
|
||||
"Project-Id-Version: WiVRn 0.15\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2025-08-04 15:49+0200\n"
|
||||
"PO-Revision-Date: 2025-08-10 17:11+0200\n"
|
||||
"PO-Revision-Date: 2025-08-02 00:41+0200\n"
|
||||
"Last-Translator: Álvaro De Quinta <blackcherry@danwin1210.de>\n"
|
||||
"Language-Team: Spanish\n"
|
||||
"Language: es\n"
|
||||
@@ -470,7 +470,7 @@ msgid ""
|
||||
"Press the grip button or put your palm up\n"
|
||||
"to move the main window"
|
||||
msgstr ""
|
||||
"Pulsa el botón de agarre o pon tu palma hacia arriba\n"
|
||||
"Pulsa el botón de agarre o pon tu palma apuntando hacia arriba\n"
|
||||
"para mover la ventana principal"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:2005
|
||||
@@ -591,7 +591,7 @@ msgstr "Estadísticas"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:802
|
||||
msgid "Statistics overlay"
|
||||
msgstr "Superponer estadísticas"
|
||||
msgstr "Superposición de las estadísticas"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:805
|
||||
msgid "Compact view"
|
||||
|
||||
+107
-117
@@ -5,15 +5,15 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WiVRn 0.15\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2025-08-12 13:35+0200\n"
|
||||
"PO-Revision-Date: 2025-08-12 13:37+0200\n"
|
||||
"POT-Creation-Date: 2025-07-30 09:41+0200\n"
|
||||
"PO-Revision-Date: 2025-07-30 14:47+0200\n"
|
||||
"Last-Translator: Guillaume Meunier <guillaume.meunier@centraliens.net>\n"
|
||||
"Language-Team: French <>\n"
|
||||
"Language: French\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Generator: Gtranslator 48.0\n"
|
||||
"X-Generator: Gtranslator 47.1\n"
|
||||
|
||||
#: client/scene.cpp:74
|
||||
msgid "No supported swapchain format"
|
||||
@@ -43,99 +43,99 @@ msgstr "Impossible de se connecter à {} ({}): {}"
|
||||
msgid "Waiting for connection"
|
||||
msgstr "Attente de connexion"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:230
|
||||
#: client/scenes/lobby_gui.cpp:156
|
||||
msgctxt "openxr_post_processing"
|
||||
msgid "Normal"
|
||||
msgstr "Normal"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:233
|
||||
#: client/scenes/lobby_gui.cpp:159
|
||||
msgctxt "openxr_post_processing"
|
||||
msgid "Quality"
|
||||
msgstr "Qualité"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:235
|
||||
#: client/scenes/lobby_gui.cpp:161
|
||||
msgctxt "openxr_post_processing"
|
||||
msgid "Disabled"
|
||||
msgstr "Désactivé"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:243 client/scenes/lobby_gui.cpp:400
|
||||
#: client/scenes/stream_gui.cpp:814
|
||||
#: client/scenes/lobby_gui.cpp:169 client/scenes/lobby_gui.cpp:320
|
||||
#: client/scenes/stream_gui.cpp:812
|
||||
msgid "Disconnect"
|
||||
msgstr "Déconnecter"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:264 client/scenes/stream_gui.cpp:810
|
||||
#: client/scenes/lobby_gui.cpp:189 client/scenes/stream_gui.cpp:808
|
||||
msgid "Close"
|
||||
msgstr "Fermer"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:270
|
||||
#: client/scenes/lobby_gui.cpp:195
|
||||
msgid "Connection"
|
||||
msgstr "Connexion en cours"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:272
|
||||
#: client/scenes/lobby_gui.cpp:197
|
||||
#, c++-format
|
||||
msgid "Connection to {}"
|
||||
msgstr "Connexion à {}"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:302
|
||||
#: client/scenes/lobby_gui.cpp:227
|
||||
msgid "PIN"
|
||||
msgstr "Code PIN"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:324
|
||||
#: client/scenes/lobby_gui.cpp:249
|
||||
msgid "Input the PIN displayed on the dashboard"
|
||||
msgstr "Entrez le code PIN affiché sur le tableau de bord"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:395
|
||||
#: client/scenes/lobby_gui.cpp:315
|
||||
msgid "Connected to WiVRn server"
|
||||
msgstr "Connecté au serveur WiVRn"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:397
|
||||
#: client/scenes/lobby_gui.cpp:317
|
||||
#, c++-format
|
||||
msgid "Connected to {}"
|
||||
msgstr "Connecté à {}"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:407
|
||||
#: client/scenes/lobby_gui.cpp:327
|
||||
msgid "Start an application on the server to start streaming."
|
||||
msgstr ""
|
||||
"Démarrez une application sur le serveur pour commencer la transmission."
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:419
|
||||
#: client/scenes/lobby_gui.cpp:333
|
||||
msgid "Start an application on your computer or select one to start streaming."
|
||||
msgstr ""
|
||||
"Démarrez une application sur le serveur ou depuis la liste pour commencer la "
|
||||
"transmission."
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:421
|
||||
#: client/scenes/lobby_gui.cpp:335
|
||||
#, c++-format
|
||||
msgid "Start an application on {} or select one to start streaming."
|
||||
msgstr ""
|
||||
"Démarrez une application sur {} ou depuis la liste pour commencer la "
|
||||
"transmission."
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:544
|
||||
#: client/scenes/lobby_gui.cpp:383
|
||||
msgid "Name"
|
||||
msgstr "Nom"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:555
|
||||
#: client/scenes/lobby_gui.cpp:394
|
||||
msgid "Address"
|
||||
msgstr "Adresse"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:564
|
||||
#: client/scenes/lobby_gui.cpp:403
|
||||
msgid "Port"
|
||||
msgstr "Port"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:572
|
||||
#: client/scenes/lobby_gui.cpp:411
|
||||
msgid "TCP only"
|
||||
msgstr "TCP seulement"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:579
|
||||
#: client/scenes/lobby_gui.cpp:418
|
||||
msgid "Cancel"
|
||||
msgstr "Annuler"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:593
|
||||
#: client/scenes/lobby_gui.cpp:432
|
||||
msgid "Save"
|
||||
msgstr "Enregistrer"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:646
|
||||
#: client/scenes/lobby_gui.cpp:485
|
||||
msgid ""
|
||||
"Start a WiVRn server on your\n"
|
||||
"local network"
|
||||
@@ -143,32 +143,32 @@ msgstr ""
|
||||
"Démarrez un serveur WiVRn sur\n"
|
||||
"le réseau local"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:678
|
||||
#: client/scenes/lobby_gui.cpp:517
|
||||
msgid "Autoconnect"
|
||||
msgstr "Autoconnexion"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:704
|
||||
#: client/scenes/lobby_gui.cpp:543
|
||||
msgid "Connect"
|
||||
msgstr "Connexion"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:714 client/wivrn_client.cpp:186
|
||||
#: client/scenes/lobby_gui.cpp:553 client/wivrn_client.cpp:186
|
||||
msgid "Incompatible server version"
|
||||
msgstr "Version du serveur incompatible"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:716
|
||||
#: client/scenes/lobby_gui.cpp:555
|
||||
msgid "Server not available"
|
||||
msgstr "Serveur non disponible"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:802
|
||||
#: client/scenes/lobby_gui.cpp:641
|
||||
msgid "Refresh rate"
|
||||
msgstr "Taux de rafraichissement"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:802 client/scenes/lobby_gui.cpp:804
|
||||
#: client/scenes/lobby_gui.cpp:641 client/scenes/lobby_gui.cpp:643
|
||||
msgctxt "automatic refresh rate"
|
||||
msgid "Automatic"
|
||||
msgstr "Automatique"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:811
|
||||
#: client/scenes/lobby_gui.cpp:650
|
||||
msgid ""
|
||||
"Select refresh rate based on measured application performance.\n"
|
||||
"May cause flicker when a change happens."
|
||||
@@ -177,59 +177,59 @@ msgstr ""
|
||||
"des performances mesurées.\n"
|
||||
"Peut causer des clignotements lors du changement de fréquence."
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:828
|
||||
#: client/scenes/lobby_gui.cpp:667
|
||||
msgid "Minimum refresh rate"
|
||||
msgstr "Taux minimal"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:851
|
||||
#: client/scenes/lobby_gui.cpp:690
|
||||
msgid "Resolution scale"
|
||||
msgstr "Échelle"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:855 client/scenes/lobby_gui.cpp:1101
|
||||
#: client/scenes/lobby_gui.cpp:694 client/scenes/lobby_gui.cpp:933
|
||||
#, c-format, c++-format
|
||||
msgid "%d%% - {}x{} per eye"
|
||||
msgstr "%d%% - {}x{} par œil"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:866 client/scenes/lobby_gui.cpp:1112
|
||||
#: client/scenes/lobby_gui.cpp:705 client/scenes/lobby_gui.cpp:944
|
||||
#, 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:872
|
||||
#: client/scenes/lobby_gui.cpp:711
|
||||
msgid "Enable microphone"
|
||||
msgstr "Activer le micro"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:881
|
||||
#: client/scenes/lobby_gui.cpp:720
|
||||
msgid "Unprocessed Microphone Audio"
|
||||
msgstr "Utiliser les données brutes du micro"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:887
|
||||
#: client/scenes/lobby_gui.cpp:726
|
||||
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:894
|
||||
#: client/scenes/lobby_gui.cpp:733
|
||||
msgid "Enable hand tracking"
|
||||
msgstr "Activer le suivi des mains"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:900 client/scenes/lobby_gui.cpp:912
|
||||
#: client/scenes/lobby_gui.cpp:924 client/scenes/lobby_gui.cpp:940
|
||||
#: client/scenes/lobby_gui.cpp:990
|
||||
#: client/scenes/lobby_gui.cpp:739 client/scenes/lobby_gui.cpp:751
|
||||
#: client/scenes/lobby_gui.cpp:763 client/scenes/lobby_gui.cpp:779
|
||||
#: client/scenes/lobby_gui.cpp:829
|
||||
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:906
|
||||
#: client/scenes/lobby_gui.cpp:745
|
||||
msgid "Enable eye tracking"
|
||||
msgstr "Activer le suivi des yeux"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:918
|
||||
#: client/scenes/lobby_gui.cpp:757
|
||||
msgid "Enable face tracking"
|
||||
msgstr "Activer le suivi du visage"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:931
|
||||
#: client/scenes/lobby_gui.cpp:770
|
||||
msgid "Enable body tracking"
|
||||
msgstr "Activer le suivi du corps"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:947
|
||||
#: client/scenes/lobby_gui.cpp:786
|
||||
msgid ""
|
||||
"Requires 'Hand and body tracking' to be enabled in the Quest movement "
|
||||
"tracking settings,\n"
|
||||
@@ -240,11 +240,11 @@ msgstr ""
|
||||
"suivi des mouvements du casque.\n"
|
||||
"Sinon les positions seront déduites de celles des manettes et casque."
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:960
|
||||
#: client/scenes/lobby_gui.cpp:799
|
||||
msgid "Enable lower body tracking"
|
||||
msgstr "Activer le suivi du bas du corps"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:966
|
||||
#: client/scenes/lobby_gui.cpp:805
|
||||
msgid ""
|
||||
"Estimate lower body joint positions using Generative Legs\n"
|
||||
"Requires 'Hand and body tracking' to be enabled in the Quest movement "
|
||||
@@ -255,11 +255,11 @@ msgstr ""
|
||||
"paramètres\n"
|
||||
"de suivi de mouvements du casque."
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:969
|
||||
#: client/scenes/lobby_gui.cpp:808
|
||||
msgid "Enable hip tracking"
|
||||
msgstr "Activer le suivi des hanches"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:975
|
||||
#: client/scenes/lobby_gui.cpp:814
|
||||
msgid ""
|
||||
"Only takes affect with lower body tracking enabled\n"
|
||||
"May be desired when using another source of hip tracking"
|
||||
@@ -267,33 +267,19 @@ msgstr ""
|
||||
"N'a d'effet que si le suivi du bas du corps est activé.\n"
|
||||
"Peut être utile si les hanches sont suivies via un autre moyen."
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:983
|
||||
#: client/scenes/lobby_gui.cpp:822
|
||||
msgid "Enable video passthrough in lobby"
|
||||
msgstr "Activer la vue réelle dans l'accueil"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:994
|
||||
msgid "Enable in-stream window"
|
||||
msgstr "Activer la fenêtre WiVRn lors de la transmission"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:997
|
||||
msgid ""
|
||||
"Enables the configuration window to be shown while the game is streaming.\n"
|
||||
"If enabled, the window is activated by pressing both thumbsticks."
|
||||
msgstr ""
|
||||
"Permet à la fenêtre de configuration d'être affichée pendant la transmission "
|
||||
"du jeu.\n"
|
||||
"Lorsque activé, la fenêtre peut être affichée en appuyant sur les deux "
|
||||
"sticks."
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1011 client/scenes/stream_gui.cpp:434
|
||||
#: client/scenes/lobby_gui.cpp:843 client/scenes/stream_gui.cpp:434
|
||||
msgid "OpenXR post-processing"
|
||||
msgstr "Post-traitement OpenXR"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1015 client/scenes/stream_gui.cpp:438
|
||||
#: client/scenes/lobby_gui.cpp:847 client/scenes/stream_gui.cpp:438
|
||||
msgid "Supersampling"
|
||||
msgstr "Suréchantillonnage"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1035 client/scenes/stream_gui.cpp:459
|
||||
#: client/scenes/lobby_gui.cpp:867 client/scenes/stream_gui.cpp:459
|
||||
msgid ""
|
||||
"Reduce flicker for high contrast edges.\n"
|
||||
"Useful when the input resolution is high compared to the headset display"
|
||||
@@ -301,11 +287,11 @@ 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:1040 client/scenes/stream_gui.cpp:464
|
||||
#: client/scenes/lobby_gui.cpp:872 client/scenes/stream_gui.cpp:464
|
||||
msgid "Sharpening"
|
||||
msgstr "Affinage de netteté"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1060 client/scenes/stream_gui.cpp:485
|
||||
#: client/scenes/lobby_gui.cpp:892 client/scenes/stream_gui.cpp:485
|
||||
msgid ""
|
||||
"Improve clarity of high contrast edges and counteract blur.\n"
|
||||
"Useful when the input resolution is low compared to the headset display"
|
||||
@@ -313,11 +299,11 @@ 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:1069
|
||||
#: client/scenes/lobby_gui.cpp:901
|
||||
msgid "Enable Snapdragon Game Super Resolution"
|
||||
msgstr "Activer Snapdragon Game Super Resolution"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1077
|
||||
#: client/scenes/lobby_gui.cpp:909
|
||||
msgid ""
|
||||
"On this headset, this setting has been fully superseded by the native "
|
||||
"Sharpening setting above.\n"
|
||||
@@ -327,157 +313,157 @@ msgstr ""
|
||||
"de netteté ci-dessus.\n"
|
||||
"N’activer que si vous savez ce que vous faites."
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1079
|
||||
#: client/scenes/lobby_gui.cpp:911
|
||||
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:1097
|
||||
#: client/scenes/lobby_gui.cpp:929
|
||||
msgid "Upscaling factor"
|
||||
msgstr "Échelle"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1116
|
||||
#: client/scenes/lobby_gui.cpp:948
|
||||
msgid "Use edge direction"
|
||||
msgstr "Utiliser la direction de contours"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1122
|
||||
#: client/scenes/lobby_gui.cpp:954
|
||||
msgid "Adds an additional performance cost"
|
||||
msgstr "Ajoute un coût additionnel en performances"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1127
|
||||
#: client/scenes/lobby_gui.cpp:959
|
||||
msgid "Edge threshold"
|
||||
msgstr "Seuil de contour"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1134 client/scenes/lobby_gui.cpp:1143
|
||||
#: client/scenes/lobby_gui.cpp:966 client/scenes/lobby_gui.cpp:975
|
||||
#, c++-format
|
||||
msgid "Recommended: {:.1f}"
|
||||
msgstr "Recommandé : {:.1f}"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1137
|
||||
#: client/scenes/lobby_gui.cpp:969
|
||||
msgid "Edge sharpness"
|
||||
msgstr "Netteté de contour"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1239 client/scenes/lobby_gui.cpp:1247
|
||||
#: client/scenes/lobby_gui.cpp:1071 client/scenes/lobby_gui.cpp:1079
|
||||
#: client/scenes/stream_gui.cpp:222 client/scenes/stream_gui.cpp:418
|
||||
msgid "CPU time"
|
||||
msgstr "Temps CPU"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1243
|
||||
#: client/scenes/lobby_gui.cpp:1075
|
||||
msgid "CPU time [ms]"
|
||||
msgstr "Temps CPU [ms]"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1253 client/scenes/lobby_gui.cpp:1261
|
||||
#: client/scenes/lobby_gui.cpp:1085 client/scenes/lobby_gui.cpp:1093
|
||||
#: client/scenes/stream_gui.cpp:224 client/scenes/stream_gui.cpp:419
|
||||
msgid "GPU time"
|
||||
msgstr "Temps GPU"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1257
|
||||
#: client/scenes/lobby_gui.cpp:1089
|
||||
msgid "GPU time [ms]"
|
||||
msgstr "Temps GPU [ms]"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1300
|
||||
#: client/scenes/lobby_gui.cpp:1132
|
||||
msgid "Enable the microphone?"
|
||||
msgstr "Activer le micro ?"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1305
|
||||
#: client/scenes/lobby_gui.cpp:1137
|
||||
msgid "Enable eye tracking?"
|
||||
msgstr "Activer le suivi des yeux ?"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1310
|
||||
#: client/scenes/lobby_gui.cpp:1142
|
||||
msgid "Enable face tracking?"
|
||||
msgstr "Activer le suivi du visage ?"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1315
|
||||
#: client/scenes/lobby_gui.cpp:1147
|
||||
msgid "Enable body tracking?"
|
||||
msgstr "Activer le suivi du corps ?"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1323
|
||||
#: client/scenes/lobby_gui.cpp:1155
|
||||
msgid "Welcome to WiVRn"
|
||||
msgstr "Bienvenue sur WiVRn"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1347
|
||||
#: client/scenes/lobby_gui.cpp:1179
|
||||
msgid "Yes"
|
||||
msgstr "Oui"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1354
|
||||
#: client/scenes/lobby_gui.cpp:1186
|
||||
msgid "No"
|
||||
msgstr "Non"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1373 client/scenes/lobby_gui.cpp:2012
|
||||
#: client/scenes/lobby_gui.cpp:1205 client/scenes/lobby_gui.cpp:1844
|
||||
msgid "Licenses"
|
||||
msgstr "Licences"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1687
|
||||
#: client/scenes/lobby_gui.cpp:1519
|
||||
msgid "Microphone is enabled"
|
||||
msgstr "Le micro est activé"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1688
|
||||
#: client/scenes/lobby_gui.cpp:1520
|
||||
msgid "Microphone is disabled"
|
||||
msgstr "Le micro est désactivé"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1697
|
||||
#: client/scenes/lobby_gui.cpp:1529
|
||||
msgid "Hand tracking is enabled"
|
||||
msgstr "Le suivi des mains est activé"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1698
|
||||
#: client/scenes/lobby_gui.cpp:1530
|
||||
msgid "Hand tracking is disabled"
|
||||
msgstr "Le suivi des mains est désactivé"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1707
|
||||
#: client/scenes/lobby_gui.cpp:1539
|
||||
msgid "Eye tracking is enabled"
|
||||
msgstr "Le suivi des yeux est activé"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1708
|
||||
#: client/scenes/lobby_gui.cpp:1540
|
||||
msgid "Eye tracking is disabled"
|
||||
msgstr "Le suivi des yeux est désactivé"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1721
|
||||
#: client/scenes/lobby_gui.cpp:1553
|
||||
msgid "Face tracking is enabled"
|
||||
msgstr "Le suivi du visage est activé"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1722
|
||||
#: client/scenes/lobby_gui.cpp:1554
|
||||
msgid "Face tracking is disabled"
|
||||
msgstr "Le suivi du visage est désactivé"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1732
|
||||
#: client/scenes/lobby_gui.cpp:1564
|
||||
msgid "Body tracking is enabled"
|
||||
msgstr "Le suivi du corps est activé"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1733
|
||||
#: client/scenes/lobby_gui.cpp:1565
|
||||
msgid "Body tracking is disabled"
|
||||
msgstr "Le suivi du corps est désactivé"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1749
|
||||
#: client/scenes/lobby_gui.cpp:1581
|
||||
msgid "Add server"
|
||||
msgstr "Ajouter un serveur"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1994
|
||||
#: client/scenes/lobby_gui.cpp:1826
|
||||
msgid "Server list"
|
||||
msgstr "Serveurs"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1997 client/scenes/stream_gui.cpp:798
|
||||
#: client/scenes/lobby_gui.cpp:1829 client/scenes/stream_gui.cpp:796
|
||||
msgid "Settings"
|
||||
msgstr "Paramètres"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:2000
|
||||
#: client/scenes/lobby_gui.cpp:1832
|
||||
msgid "Post-processing"
|
||||
msgstr "Post-traitement"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:2004
|
||||
#: client/scenes/lobby_gui.cpp:1836
|
||||
msgid "Debug"
|
||||
msgstr "Debug"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:2009
|
||||
#: client/scenes/lobby_gui.cpp:1841
|
||||
msgid "About"
|
||||
msgstr "À propos"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:2015
|
||||
#: client/scenes/lobby_gui.cpp:1847
|
||||
msgid "Exit"
|
||||
msgstr "Quitter"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:2032
|
||||
#: client/scenes/lobby_gui.cpp:1864
|
||||
msgid ""
|
||||
"Press the grip button or put your palm up\n"
|
||||
"to move the main window"
|
||||
@@ -485,9 +471,11 @@ msgstr ""
|
||||
"Serrez la gâchette latérale ou pointez la paume\n"
|
||||
"vers le haut pour bouger la fenêtre principale"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:2034
|
||||
#: client/scenes/lobby_gui.cpp:1866
|
||||
msgid "Press the grip button to move the main window"
|
||||
msgstr "Serrez la gâchette latérale pour bouger la fenêtre principale"
|
||||
msgstr ""
|
||||
"Serrez la gâchette latérale pour bouger la\n"
|
||||
"fenêtre principale"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:224
|
||||
msgid "Reproject"
|
||||
@@ -553,9 +541,11 @@ msgstr "Latence mouvement à photons estimée: {}ms"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:396
|
||||
msgid "Press the grip button to move the window"
|
||||
msgstr "Serrez la gâchette latérale pour bouger la fenêtre"
|
||||
msgstr ""
|
||||
"Serrez la gâchette latérale pour bouger\n"
|
||||
"la fenêtre"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:398 client/scenes/stream_gui.cpp:752
|
||||
#: client/scenes/stream_gui.cpp:398 client/scenes/stream_gui.cpp:750
|
||||
msgid "Press both thumbsticks to display the WiVRn window"
|
||||
msgstr "Appuyez sur les deux sticks pour afficher la fenêtre de WiVRn"
|
||||
|
||||
@@ -597,15 +587,15 @@ msgstr "Utiliser le stick pour bouger le centre de fovéation"
|
||||
msgid "Press A to save or B to cancel"
|
||||
msgstr "A pour sauvegarder, B pour annuler"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:795
|
||||
#: client/scenes/stream_gui.cpp:793
|
||||
msgid "Stats"
|
||||
msgstr "Statistiques"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:804
|
||||
#: client/scenes/stream_gui.cpp:802
|
||||
msgid "Statistics overlay"
|
||||
msgstr "Statistiques seules"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:807
|
||||
#: client/scenes/stream_gui.cpp:805
|
||||
msgid "Compact view"
|
||||
msgstr "Vue compacte"
|
||||
|
||||
|
||||
+104
-114
@@ -5,15 +5,15 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WiVRn 0.15\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2025-08-12 13:35+0200\n"
|
||||
"PO-Revision-Date: 2025-08-12 13:41+0200\n"
|
||||
"POT-Creation-Date: 2025-07-30 09:41+0200\n"
|
||||
"PO-Revision-Date: 2025-07-30 09:59+0200\n"
|
||||
"Last-Translator: Albano Battistella <albanobattistella@gmail.com>\n"
|
||||
"Language-Team: Italian <>\n"
|
||||
"Language: Italian\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Generator: Gtranslator 48.0\n"
|
||||
"X-Generator: Gtranslator 47.1\n"
|
||||
|
||||
#: client/scene.cpp:74
|
||||
msgid "No supported swapchain format"
|
||||
@@ -42,98 +42,98 @@ msgstr "Impossibile connettersi a {} ({}): {}"
|
||||
msgid "Waiting for connection"
|
||||
msgstr "In attesa di connessione"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:230
|
||||
#: client/scenes/lobby_gui.cpp:156
|
||||
msgctxt "openxr_post_processing"
|
||||
msgid "Normal"
|
||||
msgstr "Normale"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:233
|
||||
#: client/scenes/lobby_gui.cpp:159
|
||||
msgctxt "openxr_post_processing"
|
||||
msgid "Quality"
|
||||
msgstr "Alta qualità"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:235
|
||||
#: client/scenes/lobby_gui.cpp:161
|
||||
msgctxt "openxr_post_processing"
|
||||
msgid "Disabled"
|
||||
msgstr "Disattivato"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:243 client/scenes/lobby_gui.cpp:400
|
||||
#: client/scenes/stream_gui.cpp:814
|
||||
#: client/scenes/lobby_gui.cpp:169 client/scenes/lobby_gui.cpp:320
|
||||
#: client/scenes/stream_gui.cpp:812
|
||||
msgid "Disconnect"
|
||||
msgstr "Sconnetti"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:264 client/scenes/stream_gui.cpp:810
|
||||
#: client/scenes/lobby_gui.cpp:189 client/scenes/stream_gui.cpp:808
|
||||
msgid "Close"
|
||||
msgstr "Chiudi"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:270
|
||||
#: client/scenes/lobby_gui.cpp:195
|
||||
msgid "Connection"
|
||||
msgstr "Connessione"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:272
|
||||
#: client/scenes/lobby_gui.cpp:197
|
||||
#, c++-format
|
||||
msgid "Connection to {}"
|
||||
msgstr "Connessione a {}"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:302
|
||||
#: client/scenes/lobby_gui.cpp:227
|
||||
msgid "PIN"
|
||||
msgstr "PIN"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:324
|
||||
#: client/scenes/lobby_gui.cpp:249
|
||||
msgid "Input the PIN displayed on the dashboard"
|
||||
msgstr "Digitare il PIN visibile sul server"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:395
|
||||
#: client/scenes/lobby_gui.cpp:315
|
||||
msgid "Connected to WiVRn server"
|
||||
msgstr "Connesso al server WiVRn"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:397
|
||||
#: client/scenes/lobby_gui.cpp:317
|
||||
#, c++-format
|
||||
msgid "Connected to {}"
|
||||
msgstr "Connesso a {}"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:407
|
||||
#: client/scenes/lobby_gui.cpp:327
|
||||
msgid "Start an application on the server to start streaming."
|
||||
msgstr "Avvia un applicazione sul server per incominciare a trasmettere."
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:419
|
||||
#: client/scenes/lobby_gui.cpp:333
|
||||
msgid "Start an application on your computer or select one to start streaming."
|
||||
msgstr ""
|
||||
"Avvia un applicazione sul computer o scegli dalla lista per incominciare a "
|
||||
"trasmettere."
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:421
|
||||
#: client/scenes/lobby_gui.cpp:335
|
||||
#, c++-format
|
||||
msgid "Start an application on {} or select one to start streaming."
|
||||
msgstr ""
|
||||
"Avvia un applicazione su {} o scegli dalla lista per incominciare a "
|
||||
"trasmettere."
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:544
|
||||
#: client/scenes/lobby_gui.cpp:383
|
||||
msgid "Name"
|
||||
msgstr "Nome"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:555
|
||||
#: client/scenes/lobby_gui.cpp:394
|
||||
msgid "Address"
|
||||
msgstr "Indirizzo"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:564
|
||||
#: client/scenes/lobby_gui.cpp:403
|
||||
msgid "Port"
|
||||
msgstr "Porta"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:572
|
||||
#: client/scenes/lobby_gui.cpp:411
|
||||
msgid "TCP only"
|
||||
msgstr "Solo TCP"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:579
|
||||
#: client/scenes/lobby_gui.cpp:418
|
||||
msgid "Cancel"
|
||||
msgstr "Annulla"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:593
|
||||
#: client/scenes/lobby_gui.cpp:432
|
||||
msgid "Save"
|
||||
msgstr "Salva"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:646
|
||||
#: client/scenes/lobby_gui.cpp:485
|
||||
msgid ""
|
||||
"Start a WiVRn server on your\n"
|
||||
"local network"
|
||||
@@ -141,32 +141,32 @@ msgstr ""
|
||||
"Avvia un server WiVRn sulla\n"
|
||||
"rete locale"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:678
|
||||
#: client/scenes/lobby_gui.cpp:517
|
||||
msgid "Autoconnect"
|
||||
msgstr "Connessione automatica"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:704
|
||||
#: client/scenes/lobby_gui.cpp:543
|
||||
msgid "Connect"
|
||||
msgstr "Connetti"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:714 client/wivrn_client.cpp:186
|
||||
#: client/scenes/lobby_gui.cpp:553 client/wivrn_client.cpp:186
|
||||
msgid "Incompatible server version"
|
||||
msgstr "Versione del server incompatibile"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:716
|
||||
#: client/scenes/lobby_gui.cpp:555
|
||||
msgid "Server not available"
|
||||
msgstr "Server non disponibile"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:802
|
||||
#: client/scenes/lobby_gui.cpp:641
|
||||
msgid "Refresh rate"
|
||||
msgstr "Frequenza di aggiornamento"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:802 client/scenes/lobby_gui.cpp:804
|
||||
#: client/scenes/lobby_gui.cpp:641 client/scenes/lobby_gui.cpp:643
|
||||
msgctxt "automatic refresh rate"
|
||||
msgid "Automatic"
|
||||
msgstr "Automatica"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:811
|
||||
#: client/scenes/lobby_gui.cpp:650
|
||||
msgid ""
|
||||
"Select refresh rate based on measured application performance.\n"
|
||||
"May cause flicker when a change happens."
|
||||
@@ -175,60 +175,60 @@ msgstr ""
|
||||
"misurate dell'applicazione.\n"
|
||||
"Può causare un flash quando avviene il cambiamento."
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:828
|
||||
#: client/scenes/lobby_gui.cpp:667
|
||||
msgid "Minimum refresh rate"
|
||||
msgstr "Frequenza minima"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:851
|
||||
#: client/scenes/lobby_gui.cpp:690
|
||||
msgid "Resolution scale"
|
||||
msgstr "Scala di risoluzione"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:855 client/scenes/lobby_gui.cpp:1101
|
||||
#: client/scenes/lobby_gui.cpp:694 client/scenes/lobby_gui.cpp:933
|
||||
#, c-format, c++-format
|
||||
msgid "%d%% - {}x{} per eye"
|
||||
msgstr "%d%% - {}x{} per occhio"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:866 client/scenes/lobby_gui.cpp:1112
|
||||
#: client/scenes/lobby_gui.cpp:705 client/scenes/lobby_gui.cpp:944
|
||||
#, c++-format
|
||||
msgid "Resolution larger than {}x{} may not be supported by the headset"
|
||||
msgstr ""
|
||||
"Le risoluzioni superiori a {}x{} potrebbero non essere supportate dal visore"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:872
|
||||
#: client/scenes/lobby_gui.cpp:711
|
||||
msgid "Enable microphone"
|
||||
msgstr "Attiva il microfono"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:881
|
||||
#: client/scenes/lobby_gui.cpp:720
|
||||
msgid "Unprocessed Microphone Audio"
|
||||
msgstr "Usare dati grezzi del microfono"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:887
|
||||
#: client/scenes/lobby_gui.cpp:726
|
||||
msgid "Force disable audio filters, such as noise cancellation"
|
||||
msgstr "Disattiva gli effetti come la cancellazione del rumore"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:894
|
||||
#: client/scenes/lobby_gui.cpp:733
|
||||
msgid "Enable hand tracking"
|
||||
msgstr "Abilita il tracciamento delle mani"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:900 client/scenes/lobby_gui.cpp:912
|
||||
#: client/scenes/lobby_gui.cpp:924 client/scenes/lobby_gui.cpp:940
|
||||
#: client/scenes/lobby_gui.cpp:990
|
||||
#: client/scenes/lobby_gui.cpp:739 client/scenes/lobby_gui.cpp:751
|
||||
#: client/scenes/lobby_gui.cpp:763 client/scenes/lobby_gui.cpp:779
|
||||
#: client/scenes/lobby_gui.cpp:829
|
||||
msgid "This feature is not supported by your headset"
|
||||
msgstr "Questa funzionalità non è supportata dal visore"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:906
|
||||
#: client/scenes/lobby_gui.cpp:745
|
||||
msgid "Enable eye tracking"
|
||||
msgstr "Abilita il tracciamento oculare"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:918
|
||||
#: client/scenes/lobby_gui.cpp:757
|
||||
msgid "Enable face tracking"
|
||||
msgstr "Abilita il tracciamento facciale"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:931
|
||||
#: client/scenes/lobby_gui.cpp:770
|
||||
msgid "Enable body tracking"
|
||||
msgstr "Abilita il tracciamento del corpo"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:947
|
||||
#: client/scenes/lobby_gui.cpp:786
|
||||
msgid ""
|
||||
"Requires 'Hand and body tracking' to be enabled in the Quest movement "
|
||||
"tracking settings,\n"
|
||||
@@ -241,11 +241,11 @@ msgstr ""
|
||||
"controller e\n"
|
||||
"del visore."
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:960
|
||||
#: client/scenes/lobby_gui.cpp:799
|
||||
msgid "Enable lower body tracking"
|
||||
msgstr "Abilita il tracciamento del basso del corpo"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:966
|
||||
#: client/scenes/lobby_gui.cpp:805
|
||||
msgid ""
|
||||
"Estimate lower body joint positions using Generative Legs\n"
|
||||
"Requires 'Hand and body tracking' to be enabled in the Quest movement "
|
||||
@@ -256,11 +256,11 @@ msgstr ""
|
||||
"impostazioni,\n"
|
||||
"sezione \"Tracking dei movimenti\"."
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:969
|
||||
#: client/scenes/lobby_gui.cpp:808
|
||||
msgid "Enable hip tracking"
|
||||
msgstr "Abilitia il tracciamento delle anche"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:975
|
||||
#: client/scenes/lobby_gui.cpp:814
|
||||
msgid ""
|
||||
"Only takes affect with lower body tracking enabled\n"
|
||||
"May be desired when using another source of hip tracking"
|
||||
@@ -269,31 +269,19 @@ msgstr ""
|
||||
"Può essere utile se un altro metodo viene usato per il tracciamento\n"
|
||||
"delle anche."
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:983
|
||||
#: client/scenes/lobby_gui.cpp:822
|
||||
msgid "Enable video passthrough in lobby"
|
||||
msgstr "Abilita la visualizzazione reale in ingresso"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:994
|
||||
msgid "Enable in-stream window"
|
||||
msgstr "Attiva la finestra di WiVRn durante la trasmissione"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:997
|
||||
msgid ""
|
||||
"Enables the configuration window to be shown while the game is streaming.\n"
|
||||
"If enabled, the window is activated by pressing both thumbsticks."
|
||||
msgstr ""
|
||||
"Abilita la finestra di configurazione quando il gioco viene trasmesso.\n"
|
||||
"Se selezionato, la finestra può essere attivata premendo entrambi gli stick."
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1011 client/scenes/stream_gui.cpp:434
|
||||
#: client/scenes/lobby_gui.cpp:843 client/scenes/stream_gui.cpp:434
|
||||
msgid "OpenXR post-processing"
|
||||
msgstr "Post-trattamento OpenXR"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1015 client/scenes/stream_gui.cpp:438
|
||||
#: client/scenes/lobby_gui.cpp:847 client/scenes/stream_gui.cpp:438
|
||||
msgid "Supersampling"
|
||||
msgstr "Supersamping"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1035 client/scenes/stream_gui.cpp:459
|
||||
#: client/scenes/lobby_gui.cpp:867 client/scenes/stream_gui.cpp:459
|
||||
msgid ""
|
||||
"Reduce flicker for high contrast edges.\n"
|
||||
"Useful when the input resolution is high compared to the headset display"
|
||||
@@ -301,11 +289,11 @@ msgstr ""
|
||||
"Riduce i lampeggiamenti sui bordi ad alto contrasto.\n"
|
||||
"Utile quando la risoluzine d'entrata è alta in confronto a quella del visore"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1040 client/scenes/stream_gui.cpp:464
|
||||
#: client/scenes/lobby_gui.cpp:872 client/scenes/stream_gui.cpp:464
|
||||
msgid "Sharpening"
|
||||
msgstr "Miglioramento della nitidezza"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1060 client/scenes/stream_gui.cpp:485
|
||||
#: client/scenes/lobby_gui.cpp:892 client/scenes/stream_gui.cpp:485
|
||||
msgid ""
|
||||
"Improve clarity of high contrast edges and counteract blur.\n"
|
||||
"Useful when the input resolution is low compared to the headset display"
|
||||
@@ -314,168 +302,168 @@ msgstr ""
|
||||
"Utile quando la risoluzione d'entrate è bassa in contronto a quella del "
|
||||
"visore"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1069
|
||||
#: client/scenes/lobby_gui.cpp:901
|
||||
msgid "Enable Snapdragon Game Super Resolution"
|
||||
msgstr "Attivare Snapdragon Game Super Resolution"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1077
|
||||
#: client/scenes/lobby_gui.cpp:909
|
||||
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 "Su questo visore è consigliato usare il post-trattamento OpenXR."
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1079
|
||||
#: client/scenes/lobby_gui.cpp:911
|
||||
msgid ""
|
||||
"Client-side upscaling and sharpening, adds a performance cost on the headset"
|
||||
msgstr ""
|
||||
"Aumento della risoluzione e nitidezza sul visore, diminuisce le prestazioni "
|
||||
"sul visore"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1097
|
||||
#: client/scenes/lobby_gui.cpp:929
|
||||
msgid "Upscaling factor"
|
||||
msgstr "Aumento di risoluzione"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1116
|
||||
#: client/scenes/lobby_gui.cpp:948
|
||||
msgid "Use edge direction"
|
||||
msgstr "Usare la direzione dei bordi"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1122
|
||||
#: client/scenes/lobby_gui.cpp:954
|
||||
msgid "Adds an additional performance cost"
|
||||
msgstr "Riduce le prestazioni"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1127
|
||||
#: client/scenes/lobby_gui.cpp:959
|
||||
msgid "Edge threshold"
|
||||
msgstr "Soglia dei bordi"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1134 client/scenes/lobby_gui.cpp:1143
|
||||
#: client/scenes/lobby_gui.cpp:966 client/scenes/lobby_gui.cpp:975
|
||||
#, c++-format
|
||||
msgid "Recommended: {:.1f}"
|
||||
msgstr "Valore consigliato: {:.1f}"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1137
|
||||
#: client/scenes/lobby_gui.cpp:969
|
||||
msgid "Edge sharpness"
|
||||
msgstr "Nitidezza dei bordi"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1239 client/scenes/lobby_gui.cpp:1247
|
||||
#: client/scenes/lobby_gui.cpp:1071 client/scenes/lobby_gui.cpp:1079
|
||||
#: client/scenes/stream_gui.cpp:222 client/scenes/stream_gui.cpp:418
|
||||
msgid "CPU time"
|
||||
msgstr "Tempo CPU"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1243
|
||||
#: client/scenes/lobby_gui.cpp:1075
|
||||
msgid "CPU time [ms]"
|
||||
msgstr "Tempo CPU [ms]"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1253 client/scenes/lobby_gui.cpp:1261
|
||||
#: client/scenes/lobby_gui.cpp:1085 client/scenes/lobby_gui.cpp:1093
|
||||
#: client/scenes/stream_gui.cpp:224 client/scenes/stream_gui.cpp:419
|
||||
msgid "GPU time"
|
||||
msgstr "Tempo GPU"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1257
|
||||
#: client/scenes/lobby_gui.cpp:1089
|
||||
msgid "GPU time [ms]"
|
||||
msgstr "Tempo GPU [ms]"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1300
|
||||
#: client/scenes/lobby_gui.cpp:1132
|
||||
msgid "Enable the microphone?"
|
||||
msgstr "Attivare il microfono?"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1305
|
||||
#: client/scenes/lobby_gui.cpp:1137
|
||||
msgid "Enable eye tracking?"
|
||||
msgstr "Attivare il tracciamento oculare?"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1310
|
||||
#: client/scenes/lobby_gui.cpp:1142
|
||||
msgid "Enable face tracking?"
|
||||
msgstr "Attivare il tracciamento facciale?"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1315
|
||||
#: client/scenes/lobby_gui.cpp:1147
|
||||
msgid "Enable body tracking?"
|
||||
msgstr "Attivare il tracciamento del corpo?"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1323
|
||||
#: client/scenes/lobby_gui.cpp:1155
|
||||
msgid "Welcome to WiVRn"
|
||||
msgstr "Benvenuto su WiVRn"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1347
|
||||
#: client/scenes/lobby_gui.cpp:1179
|
||||
msgid "Yes"
|
||||
msgstr "Sì"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1354
|
||||
#: client/scenes/lobby_gui.cpp:1186
|
||||
msgid "No"
|
||||
msgstr "No"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1373 client/scenes/lobby_gui.cpp:2012
|
||||
#: client/scenes/lobby_gui.cpp:1205 client/scenes/lobby_gui.cpp:1844
|
||||
msgid "Licenses"
|
||||
msgstr "Licenze"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1687
|
||||
#: client/scenes/lobby_gui.cpp:1519
|
||||
msgid "Microphone is enabled"
|
||||
msgstr "Microfono attivo"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1688
|
||||
#: client/scenes/lobby_gui.cpp:1520
|
||||
msgid "Microphone is disabled"
|
||||
msgstr "Microfono disattivato"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1697
|
||||
#: client/scenes/lobby_gui.cpp:1529
|
||||
msgid "Hand tracking is enabled"
|
||||
msgstr "Tracciamento delle mani attivo"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1698
|
||||
#: client/scenes/lobby_gui.cpp:1530
|
||||
msgid "Hand tracking is disabled"
|
||||
msgstr "Tracciamento delle mani disattivato"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1707
|
||||
#: client/scenes/lobby_gui.cpp:1539
|
||||
msgid "Eye tracking is enabled"
|
||||
msgstr "Tracciamento oculare attivo"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1708
|
||||
#: client/scenes/lobby_gui.cpp:1540
|
||||
msgid "Eye tracking is disabled"
|
||||
msgstr "Tracciamento oculare disattivato"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1721
|
||||
#: client/scenes/lobby_gui.cpp:1553
|
||||
msgid "Face tracking is enabled"
|
||||
msgstr "Tracciamento facciale attivato"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1722
|
||||
#: client/scenes/lobby_gui.cpp:1554
|
||||
msgid "Face tracking is disabled"
|
||||
msgstr "Tracciamento facciale disattivato"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1732
|
||||
#: client/scenes/lobby_gui.cpp:1564
|
||||
msgid "Body tracking is enabled"
|
||||
msgstr "Tracciamento del corpo attivato"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1733
|
||||
#: client/scenes/lobby_gui.cpp:1565
|
||||
msgid "Body tracking is disabled"
|
||||
msgstr "Tracciamento del corpo disattivato"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1749
|
||||
#: client/scenes/lobby_gui.cpp:1581
|
||||
msgid "Add server"
|
||||
msgstr "Aggiungi server"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1994
|
||||
#: client/scenes/lobby_gui.cpp:1826
|
||||
msgid "Server list"
|
||||
msgstr "Elenco dei server"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1997 client/scenes/stream_gui.cpp:798
|
||||
#: client/scenes/lobby_gui.cpp:1829 client/scenes/stream_gui.cpp:796
|
||||
msgid "Settings"
|
||||
msgstr "Impostazioni"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:2000
|
||||
#: client/scenes/lobby_gui.cpp:1832
|
||||
msgid "Post-processing"
|
||||
msgstr "Post-trattamento"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:2004
|
||||
#: client/scenes/lobby_gui.cpp:1836
|
||||
msgid "Debug"
|
||||
msgstr "Debug"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:2009
|
||||
#: client/scenes/lobby_gui.cpp:1841
|
||||
msgid "About"
|
||||
msgstr "Informazioni"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:2015
|
||||
#: client/scenes/lobby_gui.cpp:1847
|
||||
msgid "Exit"
|
||||
msgstr "Esci"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:2032
|
||||
#: client/scenes/lobby_gui.cpp:1864
|
||||
msgid ""
|
||||
"Press the grip button or put your palm up\n"
|
||||
"to move the main window"
|
||||
@@ -483,9 +471,11 @@ msgstr ""
|
||||
"Premi il pulsante laterale o punta il palmo della\n"
|
||||
"mano verso l'alto per spostare la finestra principale"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:2034
|
||||
#: client/scenes/lobby_gui.cpp:1866
|
||||
msgid "Press the grip button to move the main window"
|
||||
msgstr "Premi il pulsante laterale per spostare la finestra principale"
|
||||
msgstr ""
|
||||
"Premi il pulsante laterale per\n"
|
||||
"spostare la finestra principale"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:224
|
||||
msgid "Reproject"
|
||||
@@ -553,7 +543,7 @@ msgstr "Latenza stimata da movimento a fotoni: {}ms"
|
||||
msgid "Press the grip button to move the window"
|
||||
msgstr "Premi il pulsante laterale per spostare la finestra"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:398 client/scenes/stream_gui.cpp:752
|
||||
#: client/scenes/stream_gui.cpp:398 client/scenes/stream_gui.cpp:750
|
||||
msgid "Press both thumbsticks to display the WiVRn window"
|
||||
msgstr "Premi entrabli gli stick per mostrare la finestra di WiVRn"
|
||||
|
||||
@@ -595,15 +585,15 @@ msgstr "Usa gli stick per spostare il centro di foveazione"
|
||||
msgid "Press A to save or B to cancel"
|
||||
msgstr "A per salvare, B per annullare"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:795
|
||||
#: client/scenes/stream_gui.cpp:793
|
||||
msgid "Stats"
|
||||
msgstr "Statistiche"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:804
|
||||
#: client/scenes/stream_gui.cpp:802
|
||||
msgid "Statistics overlay"
|
||||
msgstr "Solo statistiche"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:807
|
||||
#: client/scenes/stream_gui.cpp:805
|
||||
msgid "Compact view"
|
||||
msgstr "Modalità compatta"
|
||||
|
||||
|
||||
@@ -4,21 +4,20 @@
|
||||
# SPDX-FileCopyrightText: 2025 Claudio Sampaio (Patola)
|
||||
# LuckShiba <LuckShiba@protonmail.com>, 2025.
|
||||
#
|
||||
# SPDX-FileCopyrightText: 2025 myghi63 <myghi63@disroot.org>
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WiVRn-dashboard\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2025-08-04 04:40-0300\n"
|
||||
"PO-Revision-Date: 2025-08-08 11:56-0300\n"
|
||||
"Last-Translator: myghi63 <myghi63@disroot.org>\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.3\n"
|
||||
"X-Generator: Gtranslator 48.0\n"
|
||||
|
||||
#: dashboard/apk_installer.cpp:167
|
||||
#, kde-format
|
||||
@@ -86,8 +85,8 @@ msgstr "Verificando a última versão..."
|
||||
msgid "No precompiled APK is available for this version."
|
||||
msgstr "Nenhum APK pré-compilado está disponível para esta versão."
|
||||
|
||||
#: dashboard/qml/ApkInstallPage.qml:45 dashboard/qml/Main.qml:259
|
||||
#: dashboard/qml/Main.qml:341
|
||||
#: dashboard/qml/ApkInstallPage.qml:45 dashboard/qml/Main.qml:247
|
||||
#: dashboard/qml/Main.qml:329
|
||||
#, kde-format
|
||||
msgid "ADB is not installed."
|
||||
msgstr "ADB não está instalado."
|
||||
@@ -136,7 +135,7 @@ msgstr "Reinstalar WiVRn"
|
||||
msgid "Install WiVRn"
|
||||
msgstr "Instalar WiVRn"
|
||||
|
||||
#: dashboard/qml/HeadsetsPage.qml:12 dashboard/qml/Main.qml:354
|
||||
#: dashboard/qml/HeadsetsPage.qml:12 dashboard/qml/Main.qml:342
|
||||
#, kde-format
|
||||
msgid "Headsets"
|
||||
msgstr "Headsets"
|
||||
@@ -232,40 +231,40 @@ msgstr "Parear um novo headset"
|
||||
msgid "Headset statistics"
|
||||
msgstr "Estatísticas do headset"
|
||||
|
||||
#: dashboard/qml/Main.qml:107
|
||||
#: dashboard/qml/Main.qml:103
|
||||
#, kde-format
|
||||
msgid "The server does not have CAP_SYS_NICE capabilities."
|
||||
msgstr "O servidor não tem capabilities CAP_SYS_NICE."
|
||||
|
||||
#: dashboard/qml/Main.qml:114
|
||||
#: dashboard/qml/Main.qml:110
|
||||
#, kde-format
|
||||
msgid "Fix it"
|
||||
msgstr "Conserte"
|
||||
|
||||
#: dashboard/qml/Main.qml:123
|
||||
#: dashboard/qml/Main.qml:119
|
||||
#, kde-format
|
||||
msgid "The CAP_SYS_NICE capability will be used when the server is restarted."
|
||||
msgstr "A capability CAP_SYS_NICE será usada quando o servidor for reiniciado."
|
||||
|
||||
#: dashboard/qml/Main.qml:129
|
||||
#: dashboard/qml/Main.qml:125
|
||||
#, kde-format
|
||||
msgctxt "restart the server"
|
||||
msgid "Restart now"
|
||||
msgstr "Reiniciar agora"
|
||||
|
||||
#: dashboard/qml/Main.qml:140
|
||||
#: dashboard/qml/Main.qml:136
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"NVIDIA GPUs require at least driver version 565.77, current version is %1"
|
||||
msgstr ""
|
||||
"GPUs NVIDIA requerem pelo menos o driver versão 565.77, a versão atual é %1"
|
||||
|
||||
#: dashboard/qml/Main.qml:146
|
||||
#: dashboard/qml/Main.qml:142
|
||||
#, kde-format
|
||||
msgid "More info"
|
||||
msgstr "Mais informações"
|
||||
|
||||
#: dashboard/qml/Main.qml:154
|
||||
#: dashboard/qml/Main.qml:150
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"Use the Mesa (radv) driver for AMD GPUs\n"
|
||||
@@ -274,86 +273,76 @@ msgstr ""
|
||||
"Use o driver Mesa (radv) para GPUs AMD\n"
|
||||
"Codificação de hardware com a vaapi não funciona com AMDVLK e AMDGPU-PRO"
|
||||
|
||||
#: dashboard/qml/Main.qml:162
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"No OpenVR compatibility detected, Steam games won't be able to load VR.\n"
|
||||
"Install xrizer or OpenComposite."
|
||||
msgstr ""
|
||||
"Nenhuma compatibilidade com OpenVR foi detectada. Os jogos do Steam não conseg"
|
||||
"uirão carregar em VR.\n"
|
||||
"Instale o xrizer ou o OpenComposite."
|
||||
|
||||
#: dashboard/qml/Main.qml:171
|
||||
#: dashboard/qml/Main.qml:159
|
||||
#, kde-format
|
||||
msgid "Server failed to start"
|
||||
msgstr "Servidor falhou em iniciar"
|
||||
|
||||
#: dashboard/qml/Main.qml:177 dashboard/qml/TroubleshootPage.qml:77
|
||||
#: dashboard/qml/Main.qml:165 dashboard/qml/TroubleshootPage.qml:77
|
||||
#, kde-format
|
||||
msgid "Open server logs"
|
||||
msgstr "Abrir logs do servidor"
|
||||
|
||||
#: dashboard/qml/Main.qml:214
|
||||
#: dashboard/qml/Main.qml:202
|
||||
#, kde-format
|
||||
msgctxt "whether the server is running, displayed in front of a checkbox"
|
||||
msgid "Running"
|
||||
msgstr "Rodando"
|
||||
|
||||
#: dashboard/qml/Main.qml:229
|
||||
#: dashboard/qml/Main.qml:217
|
||||
#, kde-format
|
||||
msgctxt "whether pairing is enabled, displayed in front of a checkbox"
|
||||
msgid "Pairing"
|
||||
msgstr "Pareando"
|
||||
|
||||
#: dashboard/qml/Main.qml:242
|
||||
#: dashboard/qml/Main.qml:230
|
||||
#, kde-format
|
||||
msgid "PIN: %1"
|
||||
msgstr "PIN: %1"
|
||||
|
||||
#: dashboard/qml/Main.qml:250 dashboard/qml/WizardPage.qml:373
|
||||
#: dashboard/qml/Main.qml:238 dashboard/qml/WizardPage.qml:373
|
||||
#, kde-format
|
||||
msgid "Connect by USB"
|
||||
msgstr "Conectar pela USB"
|
||||
|
||||
#: dashboard/qml/Main.qml:261
|
||||
#: dashboard/qml/Main.qml:249
|
||||
#, kde-format
|
||||
msgid "No headset is connected or your headset is not in developer mode."
|
||||
msgstr ""
|
||||
"Nenhum headset está conectado ou seu headset não está em modo desenvolvedor."
|
||||
|
||||
#: dashboard/qml/Main.qml:269
|
||||
#: dashboard/qml/Main.qml:257
|
||||
#, kde-format
|
||||
msgid "Disconnect"
|
||||
msgstr "Desconectar"
|
||||
|
||||
#: dashboard/qml/Main.qml:286
|
||||
#: dashboard/qml/Main.qml:274
|
||||
#, kde-format
|
||||
msgctxt "automatically started application"
|
||||
msgid "Application"
|
||||
msgstr "Aplicativo"
|
||||
|
||||
#: dashboard/qml/Main.qml:307
|
||||
#: dashboard/qml/Main.qml:295
|
||||
#, kde-format
|
||||
msgid "Steam information"
|
||||
msgstr "Informações da Steam"
|
||||
|
||||
#: dashboard/qml/Main.qml:325
|
||||
#: dashboard/qml/Main.qml:313
|
||||
#, kde-format
|
||||
msgid "Wizard"
|
||||
msgstr "Assistente"
|
||||
|
||||
#: dashboard/qml/Main.qml:332
|
||||
#: dashboard/qml/Main.qml:320
|
||||
#, kde-format
|
||||
msgid "Install the app"
|
||||
msgstr "Instalar o aplicativo"
|
||||
|
||||
#: dashboard/qml/Main.qml:361 dashboard/qml/SettingsPage.qml:14
|
||||
#: dashboard/qml/Main.qml:349 dashboard/qml/SettingsPage.qml:14
|
||||
#, kde-format
|
||||
msgid "Settings"
|
||||
msgstr "Ajustes"
|
||||
|
||||
#: dashboard/qml/Main.qml:368 dashboard/qml/TroubleshootPage.qml:10
|
||||
#: dashboard/qml/Main.qml:356 dashboard/qml/TroubleshootPage.qml:10
|
||||
#, kde-format
|
||||
msgid "Troubleshoot"
|
||||
msgstr "Resolver problemas"
|
||||
@@ -364,13 +353,13 @@ msgctxt "don't start an application automatically"
|
||||
msgid "None"
|
||||
msgstr "Nenhum"
|
||||
|
||||
#: dashboard/qml/SelectGame.qml:20
|
||||
#: dashboard/qml/SelectGame.qml:21
|
||||
#, kde-format
|
||||
msgctxt "choose a custom application to start"
|
||||
msgid "Custom"
|
||||
msgstr "Personalizado"
|
||||
|
||||
#: dashboard/qml/SelectGame.qml:76
|
||||
#: dashboard/qml/SelectGame.qml:79
|
||||
#, kde-format
|
||||
msgctxt "browse a file to choose the application to start"
|
||||
msgid "Browse"
|
||||
|
||||
+154
-270
@@ -4,138 +4,134 @@
|
||||
# SPDX-FileCopyrightText: 2025 Claudio Sampaio (Patola)
|
||||
# LuckShiba <LuckShiba@protonmail.com>, 2025.
|
||||
#
|
||||
# SPDX-FileCopyrightText: 2025 myghi63 <myghi63@disroot.org>
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WiVRn\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2025-08-04 10:49-0300\n"
|
||||
"PO-Revision-Date: 2025-08-08 13:27-0300\n"
|
||||
"Last-Translator: myghi63 <myghi63@disroot.org>\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 25.04.3\n"
|
||||
"X-Generator: Gtranslator 48.0\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||
|
||||
#: client/scene.cpp:74
|
||||
#: client/scenes/lobby.cpp:148
|
||||
msgid "No supported swapchain format"
|
||||
msgstr "Sem formato de cadeia de troca suportado"
|
||||
|
||||
#: client/scenes/lobby.cpp:185
|
||||
#: client/scenes/lobby.cpp:228
|
||||
msgid "Incompatible WiVRn server: no protocol field in TXT"
|
||||
msgstr "Servidor WiVRn incompatível: sem campo protocolo no TXT"
|
||||
|
||||
#: client/scenes/lobby.cpp:188
|
||||
#: client/scenes/lobby.cpp:231
|
||||
#, c++-format
|
||||
msgid "Incompatible WiVRn server protocol (client: {}, server: {})"
|
||||
msgstr "Protocolo incompatível de servidor WiVRn (cliente: {}, servidor: {})"
|
||||
|
||||
#: client/scenes/lobby.cpp:203
|
||||
#: client/scenes/lobby.cpp:246
|
||||
#, c++-format
|
||||
msgid "Cannot resolve hostname: {}"
|
||||
msgstr "Incapaz de resolver hostname: {}"
|
||||
|
||||
#: client/scenes/lobby.cpp:290 client/scenes/lobby.cpp:296
|
||||
#: client/scenes/lobby.cpp:333 client/scenes/lobby.cpp:339
|
||||
#, c++-format
|
||||
msgid "Cannot connect to {} ({}): {}"
|
||||
msgstr "Incapaz de conectar a {} ({}): {}"
|
||||
|
||||
#: client/scenes/lobby.cpp:379
|
||||
#: client/scenes/lobby.cpp:453
|
||||
msgid "Waiting for connection"
|
||||
msgstr "Aguardando conexão"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:229
|
||||
#: client/scenes/lobby_gui.cpp:132
|
||||
msgctxt "openxr_post_processing"
|
||||
msgid "Normal"
|
||||
msgstr "Normal"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:232
|
||||
#: client/scenes/lobby_gui.cpp:135
|
||||
msgctxt "openxr_post_processing"
|
||||
msgid "Quality"
|
||||
msgstr "Qualidade"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:234
|
||||
#: client/scenes/lobby_gui.cpp:137
|
||||
msgctxt "openxr_post_processing"
|
||||
msgid "Disabled"
|
||||
msgstr "Desabilitado"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:242 client/scenes/lobby_gui.cpp:398
|
||||
#: client/scenes/stream_gui.cpp:812
|
||||
#: client/scenes/lobby_gui.cpp:198
|
||||
msgid "Disconnect"
|
||||
msgstr "Desconectar"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:262 client/scenes/stream_gui.cpp:808
|
||||
#: client/scenes/lobby_gui.cpp:204
|
||||
msgid "Video stream interrupted"
|
||||
msgstr "Fluxo de vídeo interrompido"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:206
|
||||
msgid ""
|
||||
"Connection ready\n"
|
||||
"Start a VR application on your computer"
|
||||
msgstr ""
|
||||
"Conexão pronta\n"
|
||||
"Inicie um aplicativo VR no seu computador"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:208
|
||||
#, c++-format
|
||||
msgid ""
|
||||
"Connection ready\n"
|
||||
"Start a VR application on {}"
|
||||
msgstr ""
|
||||
"Conexão pronta\n"
|
||||
"Inicie um aplicativo VR em {}"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:221
|
||||
msgid "Close"
|
||||
msgstr "Fechar"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:268
|
||||
#: client/scenes/lobby_gui.cpp:227
|
||||
msgid "Connection"
|
||||
msgstr "Conexão"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:270
|
||||
#: client/scenes/lobby_gui.cpp:229
|
||||
#, c++-format
|
||||
msgid "Connection to {}"
|
||||
msgstr "Conexão a {}"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:300
|
||||
#: client/scenes/lobby_gui.cpp:259
|
||||
msgid "PIN"
|
||||
msgstr "PIN"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:322
|
||||
#: 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:393
|
||||
msgid "Connected to WiVRn server"
|
||||
msgstr "Conectado ao servidor WiVRn"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:395
|
||||
#, c++-format
|
||||
msgid "Connected to {}"
|
||||
msgstr "Conectado a {}"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:405
|
||||
msgid "Start an application on the server to start streaming."
|
||||
msgstr "Abra um aplicativo no servidor para iniciar o streaming."
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:414
|
||||
msgid "Start an application on your computer or select one to start streaming."
|
||||
msgstr ""
|
||||
"Abra um aplicativo no seu computador ou selecione um para iniciar o streaming."
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:416
|
||||
#, c++-format
|
||||
msgid "Start an application on {} or select one to start streaming."
|
||||
msgstr "Abra um aplicativo em {} ou selecione um para iniciar o streaming."
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:522
|
||||
#: client/scenes/lobby_gui.cpp:356
|
||||
msgid "Name"
|
||||
msgstr "Nome"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:533
|
||||
#: client/scenes/lobby_gui.cpp:367
|
||||
msgid "Address"
|
||||
msgstr "Endereço"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:542
|
||||
#: client/scenes/lobby_gui.cpp:376
|
||||
msgid "Port"
|
||||
msgstr "Porta"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:550
|
||||
#: client/scenes/lobby_gui.cpp:384
|
||||
msgid "TCP only"
|
||||
msgstr "TCP somente"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:557
|
||||
#: client/scenes/lobby_gui.cpp:391
|
||||
msgid "Cancel"
|
||||
msgstr "Cancelar"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:571
|
||||
#: client/scenes/lobby_gui.cpp:405
|
||||
msgid "Save"
|
||||
msgstr "Salvar"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:624
|
||||
#: client/scenes/lobby_gui.cpp:458
|
||||
msgid ""
|
||||
"Start a WiVRn server on your\n"
|
||||
"local network"
|
||||
@@ -143,32 +139,32 @@ msgstr ""
|
||||
"Inicie um servidor WiVRn em sua\n"
|
||||
"rede local"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:656
|
||||
#: client/scenes/lobby_gui.cpp:490
|
||||
msgid "Autoconnect"
|
||||
msgstr "Autoconectar"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:682
|
||||
#: client/scenes/lobby_gui.cpp:516
|
||||
msgid "Connect"
|
||||
msgstr "Conectar"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:692 client/wivrn_client.cpp:186
|
||||
#: 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:694
|
||||
#: client/scenes/lobby_gui.cpp:528
|
||||
msgid "Server not available"
|
||||
msgstr "Servidor não disponível"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:780
|
||||
#: client/scenes/lobby_gui.cpp:614
|
||||
msgid "Refresh rate"
|
||||
msgstr "Taxa de atualização"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:780 client/scenes/lobby_gui.cpp:782
|
||||
#: 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:789
|
||||
#: client/scenes/lobby_gui.cpp:623
|
||||
msgid ""
|
||||
"Select refresh rate based on measured application performance.\n"
|
||||
"May cause flicker when a change happens."
|
||||
@@ -176,60 +172,60 @@ msgstr ""
|
||||
"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:806
|
||||
#: client/scenes/lobby_gui.cpp:640
|
||||
msgid "Minimum refresh rate"
|
||||
msgstr "Taxa de atualização mínima"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:829
|
||||
#: client/scenes/lobby_gui.cpp:663
|
||||
msgid "Resolution scale"
|
||||
msgstr "Escala de resolução"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:833 client/scenes/lobby_gui.cpp:1072
|
||||
#: 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:844 client/scenes/lobby_gui.cpp:1083
|
||||
#: 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:850
|
||||
#: client/scenes/lobby_gui.cpp:684
|
||||
msgid "Enable microphone"
|
||||
msgstr "Ativar microfone"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:859
|
||||
#: client/scenes/lobby_gui.cpp:694
|
||||
msgid "Unprocessed Microphone Audio"
|
||||
msgstr "Áudio Não-processado de Microfone"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:865
|
||||
#: client/scenes/lobby_gui.cpp:700
|
||||
msgid "Force disable audio filters, such as noise cancellation"
|
||||
msgstr ""
|
||||
"Força a desativação de filtros de áudio tais como cancelamento de ruído"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:872
|
||||
#: client/scenes/lobby_gui.cpp:707
|
||||
msgid "Enable hand tracking"
|
||||
msgstr "Ativar rastreamento de mãos"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:878 client/scenes/lobby_gui.cpp:890
|
||||
#: client/scenes/lobby_gui.cpp:902 client/scenes/lobby_gui.cpp:918
|
||||
#: client/scenes/lobby_gui.cpp:968
|
||||
#: 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:884
|
||||
#: client/scenes/lobby_gui.cpp:720
|
||||
msgid "Enable eye tracking"
|
||||
msgstr "Ativar rastreamento ocular"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:896
|
||||
#: client/scenes/lobby_gui.cpp:733
|
||||
msgid "Enable face tracking"
|
||||
msgstr "Ativar rastreamento facial"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:909
|
||||
#: client/scenes/lobby_gui.cpp:747
|
||||
msgid "Enable body tracking"
|
||||
msgstr "Ativar rastreamento corporal"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:925
|
||||
#: client/scenes/lobby_gui.cpp:764
|
||||
msgid ""
|
||||
"Requires 'Hand and body tracking' to be enabled in the Quest movement "
|
||||
"tracking settings,\n"
|
||||
@@ -241,11 +237,11 @@ msgstr ""
|
||||
"estimados\n"
|
||||
"com base nas posições do controle e do headset."
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:938
|
||||
#: client/scenes/lobby_gui.cpp:777
|
||||
msgid "Enable lower body tracking"
|
||||
msgstr "Ativar rastreamento corporal inferior"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:944
|
||||
#: 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 "
|
||||
@@ -256,11 +252,11 @@ msgstr ""
|
||||
"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:947
|
||||
#: client/scenes/lobby_gui.cpp:786
|
||||
msgid "Enable hip tracking"
|
||||
msgstr "Ativar rastreamento de quadril"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:953
|
||||
#: 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"
|
||||
@@ -268,19 +264,45 @@ 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:961
|
||||
#: 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:982 client/scenes/stream_gui.cpp:434
|
||||
#: client/scenes/lobby_gui.cpp:810
|
||||
msgid "Show performance metrics"
|
||||
msgstr "Mostrar métricas de desempenho"
|
||||
|
||||
#: 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: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:848
|
||||
msgid "CPU time [ms]"
|
||||
msgstr "Tempo de CPU [ms]"
|
||||
|
||||
#: 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:862
|
||||
msgid "GPU time [ms]"
|
||||
msgstr "Tempo de GPU [ms]"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:881
|
||||
msgid "OpenXR post-processing"
|
||||
msgstr "Pós-processamento OpenXR"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:986 client/scenes/stream_gui.cpp:438
|
||||
#: client/scenes/lobby_gui.cpp:885
|
||||
msgid "Supersampling"
|
||||
msgstr "Supersampling"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1006 client/scenes/stream_gui.cpp:459
|
||||
#: 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"
|
||||
@@ -288,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:1011 client/scenes/stream_gui.cpp:464
|
||||
#: client/scenes/lobby_gui.cpp:910
|
||||
msgid "Sharpening"
|
||||
msgstr "Aumento de nitidez"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1031 client/scenes/stream_gui.cpp:485
|
||||
#: 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"
|
||||
@@ -300,11 +322,11 @@ 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:1040
|
||||
#: client/scenes/lobby_gui.cpp:939
|
||||
msgid "Enable Snapdragon Game Super Resolution"
|
||||
msgstr "Habilitar Snapdragon Game Super Resolution"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1048
|
||||
#: client/scenes/lobby_gui.cpp:947
|
||||
msgid ""
|
||||
"On this headset, this setting has been fully superseded by the native "
|
||||
"Sharpening setting above.\n"
|
||||
@@ -314,288 +336,184 @@ msgstr ""
|
||||
"aumento de nitidez acima.\n"
|
||||
"Somente habilite se souber o que está fazendo."
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1050
|
||||
#: 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 "
|
||||
"desempenho no headset"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1068
|
||||
#: client/scenes/lobby_gui.cpp:967
|
||||
msgid "Upscaling factor"
|
||||
msgstr "Fator de upscaling"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1087
|
||||
#: client/scenes/lobby_gui.cpp:986
|
||||
msgid "Use edge direction"
|
||||
msgstr "Usar direção da aresta"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1093
|
||||
#: client/scenes/lobby_gui.cpp:992
|
||||
msgid "Adds an additional performance cost"
|
||||
msgstr "Acrescenta um custo de desempenho"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1098
|
||||
#: client/scenes/lobby_gui.cpp:997
|
||||
msgid "Edge threshold"
|
||||
msgstr "Limite da aresta"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1105 client/scenes/lobby_gui.cpp:1114
|
||||
#: 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:1108
|
||||
#: client/scenes/lobby_gui.cpp:1007
|
||||
msgid "Edge sharpness"
|
||||
msgstr "Nitidez da aresta"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1210 client/scenes/lobby_gui.cpp:1218
|
||||
#: client/scenes/stream_gui.cpp:222 client/scenes/stream_gui.cpp:418
|
||||
msgid "CPU time"
|
||||
msgstr "Tempo de CPU"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1214
|
||||
msgid "CPU time [ms]"
|
||||
msgstr "Tempo de CPU [ms]"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1224 client/scenes/lobby_gui.cpp:1232
|
||||
#: client/scenes/stream_gui.cpp:224 client/scenes/stream_gui.cpp:419
|
||||
msgid "GPU time"
|
||||
msgstr "Tempo de GPU"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1228
|
||||
msgid "GPU time [ms]"
|
||||
msgstr "Tempo de GPU [ms]"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1271
|
||||
msgid "Enable the microphone?"
|
||||
msgstr "Habilitar o microfone?"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1276
|
||||
msgid "Enable eye tracking?"
|
||||
msgstr "Habilitar o rastreamento ocular?"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1281
|
||||
msgid "Enable face tracking?"
|
||||
msgstr "Habilitar o rastreamento facial?"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1286
|
||||
msgid "Enable body tracking?"
|
||||
msgstr "Habilitar o rastreamento corporal?"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1294
|
||||
msgid "Welcome to WiVRn"
|
||||
msgstr "Bem vindo(a) ao WiVRn"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1318
|
||||
msgid "Yes"
|
||||
msgstr "Sim"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1325
|
||||
msgid "No"
|
||||
msgstr "Não"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1344 client/scenes/lobby_gui.cpp:1983
|
||||
#: client/scenes/lobby_gui.cpp:1101 client/scenes/lobby_gui.cpp:1757
|
||||
msgid "Licenses"
|
||||
msgstr "Licenças"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1658
|
||||
#: client/scenes/lobby_gui.cpp:1440
|
||||
msgid "Microphone is enabled"
|
||||
msgstr "O microfone está ativado"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1659
|
||||
#: client/scenes/lobby_gui.cpp:1441
|
||||
msgid "Microphone is disabled"
|
||||
msgstr "O microfone está desativado"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1668
|
||||
#: client/scenes/lobby_gui.cpp:1450
|
||||
msgid "Hand tracking is enabled"
|
||||
msgstr "O rastreamento de mãos está ativado"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1669
|
||||
#: client/scenes/lobby_gui.cpp:1451
|
||||
msgid "Hand tracking is disabled"
|
||||
msgstr "O rastreamento de mãos está desativado"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1678
|
||||
#: client/scenes/lobby_gui.cpp:1460
|
||||
msgid "Eye tracking is enabled"
|
||||
msgstr "O rastreamento ocular está ativado"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1679
|
||||
#: client/scenes/lobby_gui.cpp:1461
|
||||
msgid "Eye tracking is disabled"
|
||||
msgstr "O rastreamento ocular está desativado"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1692
|
||||
#: client/scenes/lobby_gui.cpp:1471 client/scenes/lobby_gui.cpp:1482
|
||||
msgid "Face tracking is enabled"
|
||||
msgstr "O rastreamento facial está ativado"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1693
|
||||
#: client/scenes/lobby_gui.cpp:1472 client/scenes/lobby_gui.cpp:1483
|
||||
msgid "Face tracking is disabled"
|
||||
msgstr "O rastreamento facial está desativado"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1703
|
||||
#: client/scenes/lobby_gui.cpp:1493
|
||||
msgid "Body tracking is enabled"
|
||||
msgstr "O rastreamento corporal está ativado"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1704
|
||||
#: client/scenes/lobby_gui.cpp:1494
|
||||
msgid "Body tracking is disabled"
|
||||
msgstr "O rastreamento corporal está desativado"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1720
|
||||
#: client/scenes/lobby_gui.cpp:1510
|
||||
msgid "Add server"
|
||||
msgstr "Adicionar servidor"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1965
|
||||
#: client/scenes/lobby_gui.cpp:1739
|
||||
msgid "Server list"
|
||||
msgstr "Lista de servidores"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1968 client/scenes/stream_gui.cpp:796
|
||||
#: client/scenes/lobby_gui.cpp:1742
|
||||
msgid "Settings"
|
||||
msgstr "Ajustes"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1971
|
||||
#: client/scenes/lobby_gui.cpp:1745
|
||||
msgid "Post-processing"
|
||||
msgstr "Pós-processamento"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1975
|
||||
#: client/scenes/lobby_gui.cpp:1749
|
||||
msgid "Debug"
|
||||
msgstr "Depurar"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1980
|
||||
#: client/scenes/lobby_gui.cpp:1754
|
||||
msgid "About"
|
||||
msgstr "Sobre"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1986
|
||||
#: client/scenes/lobby_gui.cpp:1760
|
||||
msgid "Exit"
|
||||
msgstr "Sair"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:2003
|
||||
#: client/scenes/lobby_gui.cpp:1774
|
||||
msgid ""
|
||||
"Press the grip button or put your palm up\n"
|
||||
"Press A or X or put your palm up\n"
|
||||
"to move the main window"
|
||||
msgstr ""
|
||||
"Pressione o botão de aderência ou coloque a palma da mão para cima\n"
|
||||
"Pressione A ou X ou coloque a palma da mão pra cima\n"
|
||||
"para mover a janela principal"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:2005
|
||||
msgid "Press the grip button to move the main window"
|
||||
msgstr "Pressione o botão de aderência para mover a janela principal"
|
||||
#: 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"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:224
|
||||
#: client/scenes/stream_stats.cpp:161
|
||||
msgid "Reproject"
|
||||
msgstr "Reprojetar"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:225
|
||||
#: client/scenes/stream_stats.cpp:162
|
||||
msgid "Blit"
|
||||
msgstr "Blit"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:227
|
||||
#: client/scenes/stream_stats.cpp:164
|
||||
msgid "Network"
|
||||
msgstr "Rede"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:227 client/scenes/stream_gui.cpp:416
|
||||
#: client/scenes/stream_stats.cpp:164
|
||||
msgid "Download"
|
||||
msgstr "Baixar"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:228 client/scenes/stream_gui.cpp:417
|
||||
#: client/scenes/stream_stats.cpp:165
|
||||
msgid "Upload"
|
||||
msgstr "Enviar"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:297
|
||||
#: client/scenes/stream_stats.cpp:234
|
||||
#, c++-format
|
||||
msgid "Decoder {}"
|
||||
msgstr "Decodificador {}"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:309
|
||||
#: client/scenes/stream_stats.cpp:246
|
||||
msgid "Timings [ms]"
|
||||
msgstr "Tempos [ms]"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:369
|
||||
#: client/scenes/stream_stats.cpp:306
|
||||
msgid "Encode"
|
||||
msgstr "Codificar"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:370
|
||||
#: client/scenes/stream_stats.cpp:307
|
||||
msgid "Send"
|
||||
msgstr "Enviar"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:371
|
||||
#: client/scenes/stream_stats.cpp:308
|
||||
msgid "Receive"
|
||||
msgstr "Receber"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:372
|
||||
#: client/scenes/stream_stats.cpp:309
|
||||
msgid "Decode"
|
||||
msgstr "Decodificar"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:373
|
||||
#: client/scenes/stream_stats.cpp:310
|
||||
msgid "Blitted"
|
||||
msgstr "Blitado"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:374
|
||||
#: client/scenes/stream_stats.cpp:311
|
||||
msgid "Displayed"
|
||||
msgstr "Mostrado"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:375
|
||||
#: client/scenes/stream_stats.cpp:312
|
||||
msgid "Predicted"
|
||||
msgstr "Previsto"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:393
|
||||
#: client/scenes/stream_stats.cpp:330
|
||||
#, c++-format
|
||||
msgid "Estimated motion to photons latency: {}ms"
|
||||
msgstr "Movimento estimado para a latência de fótons: {}ms"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:396
|
||||
msgid "Press the grip button to move the window"
|
||||
msgstr "Pressione o botão de aderência para mover a janela"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:398 client/scenes/stream_gui.cpp:750
|
||||
msgid "Press both thumbsticks to display the WiVRn window"
|
||||
msgstr "Pressione ambos os thumbsticks para mostrar a janela do WiVRn"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:420
|
||||
msgid "Motion to photon latency"
|
||||
msgstr "Latência (de movimento para fótons)"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:492
|
||||
msgid "Foveation center override"
|
||||
msgstr "Ajuste do centro de foveação"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:495
|
||||
msgid "Enable"
|
||||
msgstr "Habilitar"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:503 client/scenes/stream_gui.cpp:550
|
||||
#, c++-format
|
||||
msgid "Height {:.1f} deg"
|
||||
msgstr "Altura {:.1f} graus"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:504 client/scenes/stream_gui.cpp:551
|
||||
#, c++-format
|
||||
msgid "Distance {:.2f} m"
|
||||
msgstr "Distância {:.2f} m"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:505
|
||||
msgid "Default"
|
||||
msgstr "Padrão"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:516
|
||||
msgid "Change"
|
||||
msgstr "Modificar"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:548
|
||||
msgid "Use the thumbsticks to move the foveation center"
|
||||
msgstr "Use os thumbsticks para mover o centro da foveação"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:549
|
||||
msgid "Press A to save or B to cancel"
|
||||
msgstr "Pressione A para salvar ou B para cancelar"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:793
|
||||
msgid "Stats"
|
||||
msgstr "Estatísticas"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:802
|
||||
msgid "Statistics overlay"
|
||||
msgstr "Overlay de estatísticas"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:805
|
||||
msgid "Compact view"
|
||||
msgstr "Visualização compacta"
|
||||
|
||||
#: client/wivrn_client.cpp:98 client/wivrn_client.cpp:202
|
||||
msgid "Timeout"
|
||||
msgstr "Tempo esgotado"
|
||||
@@ -611,37 +529,3 @@ msgstr "Incapaz de verificar PIN"
|
||||
#: client/wivrn_client.cpp:182
|
||||
msgid "Pairing is disabled on server"
|
||||
msgstr "Pareamento está desabilitado no servidor"
|
||||
|
||||
#~ msgid "Video stream interrupted"
|
||||
#~ msgstr "Fluxo de vídeo interrompido"
|
||||
|
||||
#~ msgid ""
|
||||
#~ "Connection ready\n"
|
||||
#~ "Start a VR application on your computer"
|
||||
#~ msgstr ""
|
||||
#~ "Conexão pronta\n"
|
||||
#~ "Inicie um aplicativo VR no seu computador"
|
||||
|
||||
#, c++-format
|
||||
#~ msgid ""
|
||||
#~ "Connection ready\n"
|
||||
#~ "Start a VR application on {}"
|
||||
#~ msgstr ""
|
||||
#~ "Conexão pronta\n"
|
||||
#~ "Inicie um aplicativo VR em {}"
|
||||
|
||||
#~ msgid "Show performance metrics"
|
||||
#~ msgstr "Mostrar métricas de desempenho"
|
||||
|
||||
#~ msgid "Overlay can be toggled by pressing both thumbsticks"
|
||||
#~ msgstr "A sobreposição pode ser alternada pressionando ambos os joysticks"
|
||||
|
||||
#~ msgid ""
|
||||
#~ "Press A or X or put your palm up\n"
|
||||
#~ "to move the main window"
|
||||
#~ msgstr ""
|
||||
#~ "Pressione A ou X ou coloque a palma da mão pra cima\n"
|
||||
#~ "para mover a janela principal"
|
||||
|
||||
#~ msgid "Press A or X to move the main window"
|
||||
#~ msgstr "Pressione A ou X para mover a janela principal"
|
||||
|
||||
+99
-113
@@ -2,14 +2,13 @@
|
||||
# This file is distributed under the same license as the WiVRn-dashboard package.
|
||||
#
|
||||
# SPDX-FileCopyrightText: 2025 not <github.superglue094@slmail.me>
|
||||
# SPDX-FileCopyrightText: 2025 eps <eps@bwsal.org>
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WiVRn-dashboard\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2025-08-08 20:41+0200\n"
|
||||
"PO-Revision-Date: 2025-08-08 22:35+0200\n"
|
||||
"Last-Translator: eps <eps@bwsal.org>\n"
|
||||
"POT-Creation-Date: 2025-07-25 22:10+0200\n"
|
||||
"PO-Revision-Date: 2025-08-02 18:48+0200\n"
|
||||
"Last-Translator: not <github.superglue094@slmail.me>\n"
|
||||
"Language-Team: Slovak <>\n"
|
||||
"Language: sk\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
@@ -21,12 +20,12 @@ msgstr ""
|
||||
#: dashboard/apk_installer.cpp:167
|
||||
#, kde-format
|
||||
msgid "Downloading APK: %1 MB / %2 MB"
|
||||
msgstr "Sťahuje sa APK: %1 MB / %2 MB"
|
||||
msgstr "Sťahujem APK: %1 MB / %2 MB"
|
||||
|
||||
#: dashboard/apk_installer.cpp:169
|
||||
#, kde-format
|
||||
msgid "Downloading APK: %1 MB"
|
||||
msgstr "Sťahuje sa APK: %1 MB"
|
||||
msgstr "Sťahujem APK: %1 MB"
|
||||
|
||||
#: dashboard/apk_installer.cpp:178
|
||||
#, kde-format
|
||||
@@ -36,12 +35,12 @@ msgstr "Sťahovanie zrušené"
|
||||
#: dashboard/apk_installer.cpp:194
|
||||
#, kde-format
|
||||
msgid "Cannot download APK: %1"
|
||||
msgstr "APK sa nedá stiahnúť: %1"
|
||||
msgstr "APK sa nedá stiahnuť: %1"
|
||||
|
||||
#: dashboard/apk_installer.cpp:217
|
||||
#, kde-format
|
||||
msgid "Installing APK"
|
||||
msgstr "Inštaluje sa APK"
|
||||
msgstr "Inštalujem APK"
|
||||
|
||||
#: dashboard/apk_installer.cpp:221
|
||||
#, kde-format
|
||||
@@ -51,7 +50,7 @@ msgstr "Nepodarilo sa spustiť adb: %1"
|
||||
#: dashboard/apk_installer.cpp:231
|
||||
#, kde-format
|
||||
msgid "adb exited abnormally: %1"
|
||||
msgstr "adb sa neočakávane ukončilo: %1"
|
||||
msgstr "adb sa neočakávane ukončil: %1"
|
||||
|
||||
#: dashboard/apk_installer.cpp:239
|
||||
#, kde-format
|
||||
@@ -77,15 +76,15 @@ msgstr "Nainštaluj si aplikáciu WiVRn do headsetu"
|
||||
#: dashboard/qml/WizardPage.qml:192
|
||||
#, kde-format
|
||||
msgid "Checking latest release..."
|
||||
msgstr "Kontroluje sa najnovšia verzia…"
|
||||
msgstr "Kontrolujem najnovšiu verziu…"
|
||||
|
||||
#: dashboard/qml/ApkInstallPage.qml:43 dashboard/qml/WizardPage.qml:198
|
||||
#, kde-format
|
||||
msgid "No precompiled APK is available for this version."
|
||||
msgstr "Pre túto verziu nie je dostupné predkompilované APK."
|
||||
|
||||
#: dashboard/qml/ApkInstallPage.qml:45 dashboard/qml/Main.qml:259
|
||||
#: dashboard/qml/Main.qml:341
|
||||
#: dashboard/qml/ApkInstallPage.qml:45 dashboard/qml/Main.qml:247
|
||||
#: dashboard/qml/Main.qml:329
|
||||
#, kde-format
|
||||
msgid "ADB is not installed."
|
||||
msgstr "ADB nie je nainštalované."
|
||||
@@ -93,7 +92,7 @@ msgstr "ADB nie je nainštalované."
|
||||
#: dashboard/qml/ApkInstallPage.qml:47
|
||||
#, kde-format
|
||||
msgid "Connect a headset and make sure developer mode is enabled."
|
||||
msgstr "Pripojte headset a uistite sa, že je zapnutý vývojársky režim."
|
||||
msgstr "Pripoj headset a uisti sa, že je zapnutý vývojársky režim."
|
||||
|
||||
#: dashboard/qml/ApkInstallPage.qml:51 dashboard/qml/WizardPage.qml:204
|
||||
#, kde-format
|
||||
@@ -103,11 +102,12 @@ msgid ""
|
||||
"client."
|
||||
msgstr ""
|
||||
"Postupuj podľa pokynov v <a href=\"https://github.com/WiVRn/WiVRn/blob/"
|
||||
"master/docs/building.md#client-headset\">dokumentácii</a> na vytvorenie "
|
||||
"vlastného klienta."
|
||||
"master/docs/building.md#client-headset\">dokumentácii</a> na vytvorenie vlastn"
|
||||
"ého "
|
||||
"klienta."
|
||||
|
||||
#: 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"
|
||||
@@ -116,7 +116,7 @@ msgstr "Späť"
|
||||
#: dashboard/qml/ConnectUsbDialog.qml:11
|
||||
#, kde-format
|
||||
msgid "Select your headset"
|
||||
msgstr "Vyberte svoj headset"
|
||||
msgstr "Vyber svoj headset"
|
||||
|
||||
#: dashboard/qml/DeviceCard.qml:46
|
||||
#, kde-format
|
||||
@@ -133,12 +133,7 @@ msgstr "Preinštalovať WiVRn"
|
||||
msgid "Install WiVRn"
|
||||
msgstr "Nainštalovať WiVRn"
|
||||
|
||||
#: dashboard/qml/HeadsetStatsPage.qml:12
|
||||
#, kde-format
|
||||
msgid "Headset statistics"
|
||||
msgstr "Štatistiky headsetu"
|
||||
|
||||
#: dashboard/qml/HeadsetsPage.qml:12 dashboard/qml/Main.qml:354
|
||||
#: dashboard/qml/HeadsetsPage.qml:12 dashboard/qml/Main.qml:342
|
||||
#, kde-format
|
||||
msgid "Headsets"
|
||||
msgstr "Headsety"
|
||||
@@ -215,12 +210,12 @@ msgstr "Vypnúť párovanie"
|
||||
#: dashboard/qml/HeadsetsPage.qml:166
|
||||
#, kde-format
|
||||
msgid "Start the WiVRn app on your headset and use the PIN: %1"
|
||||
msgstr "Spustite aplikáciu WiVRn v headsete a zadajte PIN: %1"
|
||||
msgstr "Spusť aplikáciu WiVRn v headsete a zadaj PIN: %1"
|
||||
|
||||
#: dashboard/qml/HeadsetsPage.qml:166
|
||||
#, kde-format
|
||||
msgid "Enable pairing to allow your headset to connect to this computer"
|
||||
msgstr "Zapnite párovanie, aby sa mohol headset pripojiť k tomuto počítaču"
|
||||
msgstr "Zapni párovanie, aby sa mohol headset pripojiť k tomuto počítaču"
|
||||
|
||||
#: dashboard/qml/HeadsetsPage.qml:171 dashboard/qml/TroubleshootPage.qml:37
|
||||
#, kde-format
|
||||
@@ -232,128 +227,122 @@ msgstr "Zapnúť párovanie"
|
||||
msgid "Pair a new headset"
|
||||
msgstr "Spárovať nový headset"
|
||||
|
||||
#: dashboard/qml/Main.qml:107
|
||||
#: dashboard/qml/HeadsetStatsPage.qml:12
|
||||
#, kde-format
|
||||
msgid "Headset statistics"
|
||||
msgstr "Štatistiky headsetu"
|
||||
|
||||
#: dashboard/qml/Main.qml:103
|
||||
#, kde-format
|
||||
msgid "The server does not have CAP_SYS_NICE capabilities."
|
||||
msgstr "Server nemá oprávnenia CAP_SYS_NICE."
|
||||
|
||||
#: dashboard/qml/Main.qml:114
|
||||
#: dashboard/qml/Main.qml:110
|
||||
#, kde-format
|
||||
msgid "Fix it"
|
||||
msgstr "Opraviť"
|
||||
|
||||
#: dashboard/qml/Main.qml:123
|
||||
#: dashboard/qml/Main.qml:119
|
||||
#, kde-format
|
||||
msgid "The CAP_SYS_NICE capability will be used when the server is restarted."
|
||||
msgstr "CAP_SYS_NICE bude použité po reštarte servera."
|
||||
|
||||
#: dashboard/qml/Main.qml:129
|
||||
#: dashboard/qml/Main.qml:125
|
||||
#, kde-format
|
||||
msgctxt "restart the server"
|
||||
msgid "Restart now"
|
||||
msgstr "Reštartovať teraz"
|
||||
|
||||
#: dashboard/qml/Main.qml:140
|
||||
#: dashboard/qml/Main.qml:136
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"NVIDIA GPUs require at least driver version 565.77, current version is %1"
|
||||
msgstr ""
|
||||
"GPU od NVIDIA vyžadujú minimálne verziu ovládača 565.77, aktuálna verzia je "
|
||||
"%1"
|
||||
"GPU od NVIDIA vyžadujú minimálne verziu ovládača 565.77, aktuálna verzia je %1"
|
||||
|
||||
#: dashboard/qml/Main.qml:146
|
||||
#: dashboard/qml/Main.qml:142
|
||||
#, kde-format
|
||||
msgid "More info"
|
||||
msgstr "Viac info"
|
||||
|
||||
#: dashboard/qml/Main.qml:154
|
||||
#: dashboard/qml/Main.qml:150
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"Use the Mesa (radv) driver for AMD GPUs\n"
|
||||
"Hardware encoding with vaapi does not work with AMDVLK and AMDGPU-PRO"
|
||||
msgstr ""
|
||||
"Pre GPU od AMD používajte ovládač Mesa (radv)\n"
|
||||
"Pre GPU od AMD používaj ovládač Mesa (radv)\n"
|
||||
"Hardvérové kódovanie cez vaapi nefunguje s AMDVLK ani AMDGPU-PRO"
|
||||
|
||||
#: dashboard/qml/Main.qml:162
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"No OpenVR compatibility detected, Steam games won't be able to load VR.\n"
|
||||
"Install xrizer or OpenComposite."
|
||||
msgstr ""
|
||||
"Žiadna OpenVR kompatibilita nebola nájdená, Hry na steame nebude možné "
|
||||
"načítať do VRka.\n"
|
||||
"Nainštalujte xrizer alebo OpenComposite."
|
||||
|
||||
#: dashboard/qml/Main.qml:171
|
||||
#: dashboard/qml/Main.qml:159
|
||||
#, kde-format
|
||||
msgid "Server failed to start"
|
||||
msgstr "Nepodarilo sa spustiť server"
|
||||
|
||||
#: dashboard/qml/Main.qml:177 dashboard/qml/TroubleshootPage.qml:77
|
||||
#: dashboard/qml/Main.qml:165 dashboard/qml/TroubleshootPage.qml:77
|
||||
#, kde-format
|
||||
msgid "Open server logs"
|
||||
msgstr "Zobraziť logy servera"
|
||||
|
||||
#: dashboard/qml/Main.qml:214
|
||||
#: dashboard/qml/Main.qml:202
|
||||
#, kde-format
|
||||
msgctxt "whether the server is running, displayed in front of a checkbox"
|
||||
msgid "Running"
|
||||
msgstr "Beží"
|
||||
|
||||
#: dashboard/qml/Main.qml:229
|
||||
#: dashboard/qml/Main.qml:217
|
||||
#, kde-format
|
||||
msgctxt "whether pairing is enabled, displayed in front of a checkbox"
|
||||
msgid "Pairing"
|
||||
msgstr "Párovanie"
|
||||
|
||||
#: dashboard/qml/Main.qml:242
|
||||
#: dashboard/qml/Main.qml:230
|
||||
#, kde-format
|
||||
msgid "PIN: %1"
|
||||
msgstr "PIN: %1"
|
||||
|
||||
#: dashboard/qml/Main.qml:250 dashboard/qml/WizardPage.qml:373
|
||||
#: dashboard/qml/Main.qml:238 dashboard/qml/WizardPage.qml:373
|
||||
#, kde-format
|
||||
msgid "Connect by USB"
|
||||
msgstr "Pripojiť cez USB"
|
||||
|
||||
#: dashboard/qml/Main.qml:261
|
||||
#: dashboard/qml/Main.qml:249
|
||||
#, kde-format
|
||||
msgid "No headset is connected or your headset is not in developer mode."
|
||||
msgstr "Žiadny headset nie je pripojený alebo nemá zapnutý vývojársky režim."
|
||||
|
||||
#: dashboard/qml/Main.qml:269
|
||||
#: dashboard/qml/Main.qml:257
|
||||
#, kde-format
|
||||
msgid "Disconnect"
|
||||
msgstr "Odpojiť"
|
||||
|
||||
#: dashboard/qml/Main.qml:286
|
||||
#: dashboard/qml/Main.qml:274
|
||||
#, kde-format
|
||||
msgctxt "automatically started application"
|
||||
msgid "Application"
|
||||
msgstr "Aplikácia"
|
||||
|
||||
#: dashboard/qml/Main.qml:307
|
||||
#: dashboard/qml/Main.qml:295
|
||||
#, kde-format
|
||||
msgid "Steam information"
|
||||
msgstr "Informácie o Steame"
|
||||
|
||||
#: dashboard/qml/Main.qml:325
|
||||
#: dashboard/qml/Main.qml:313
|
||||
#, kde-format
|
||||
msgid "Wizard"
|
||||
msgstr "Sprievodca"
|
||||
|
||||
#: dashboard/qml/Main.qml:332
|
||||
#: dashboard/qml/Main.qml:320
|
||||
#, kde-format
|
||||
msgid "Install the app"
|
||||
msgstr "Nainštalovať aplikáciu"
|
||||
|
||||
#: dashboard/qml/Main.qml:361 dashboard/qml/SettingsPage.qml:14
|
||||
#: dashboard/qml/Main.qml:349 dashboard/qml/SettingsPage.qml:14
|
||||
#, kde-format
|
||||
msgid "Settings"
|
||||
msgstr "Nastavenia"
|
||||
|
||||
#: dashboard/qml/Main.qml:368 dashboard/qml/TroubleshootPage.qml:10
|
||||
#: dashboard/qml/Main.qml:356 dashboard/qml/TroubleshootPage.qml:10
|
||||
#, kde-format
|
||||
msgid "Troubleshoot"
|
||||
msgstr "Riešiť problémy"
|
||||
@@ -380,12 +369,12 @@ msgstr "Prehľadať"
|
||||
#, kde-format
|
||||
msgctxt "automatic foveation setup"
|
||||
msgid "Manual foveation"
|
||||
msgstr "Manuálne foveovanie"
|
||||
msgstr "Manuálna foveation"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:46
|
||||
#, kde-format
|
||||
msgid "Foveation strength:"
|
||||
msgstr "Sila foveovania"
|
||||
msgstr "Foveation sila"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:62
|
||||
#, kde-format
|
||||
@@ -404,13 +393,13 @@ msgid ""
|
||||
"The recommended values are between 20% and 50% for headsets without eye "
|
||||
"tracking and between 50% and 70% for headsets with eye tracking."
|
||||
msgstr ""
|
||||
"Silnejšia foveácia zvyšuje ostrosť v strede obrazu a znižuje ju na okrajoch, "
|
||||
"čím zrýchľuje dekódovanie. Je vhodnejšia pre rýchle hry.\n"
|
||||
"Silnejšia foveácia zvyšuje ostrosť v strede obrazu a znižuje ju na okrajoch, č"
|
||||
"ím zrýchľuje dekódovanie. Je vhodnejšia pre rýchle hry.\n"
|
||||
"\n"
|
||||
"Slabšia foveácia zachováva rovnomernú ostrosť v celom obraze.\n"
|
||||
"\n"
|
||||
"Odporúčané hodnoty sú medzi 20 % a 50 % pre headsety bez sledovania očí a "
|
||||
"medzi 50 % a 70 % pre headsety so sledovaním očí."
|
||||
"Odporúčané hodnoty sú medzi 20 % a 50 % pre headsety bez sledovania očí a medz"
|
||||
"i 50 % a 70 % pre headsety so sledovaním očí."
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:74
|
||||
#, kde-format
|
||||
@@ -476,9 +465,8 @@ msgid ""
|
||||
"To add a new encoder, split an existing encoder by clicking near an edge.\n"
|
||||
"Drag an edge to resize or remove encoders."
|
||||
msgstr ""
|
||||
"Ak chcete pridať nový enkodér, rozdeľte existujúci kliknutím pri jeho "
|
||||
"okraji.\n"
|
||||
"Potiahnutím okraja môžete meniť veľkosť alebo enkodér odstrániť."
|
||||
"Ak chceš pridať nový enkodér, rozdeľ existujúci kliknutím pri jeho okraji.\n"
|
||||
"Potiahnutím okraja môžeš meniť veľkosť alebo enkodér odstrániť."
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:220
|
||||
#, kde-format
|
||||
@@ -618,14 +606,14 @@ msgid ""
|
||||
"For Steam games, right click on the game in Steam, go in Properties > "
|
||||
"General and paste this in \"Launch options\":"
|
||||
msgstr ""
|
||||
"Pre Steam hry kliknite pravým tlačidlom na hru v Steame, otvorte Vlastnosti > "
|
||||
"Všeobecné a vložte toto do \"Spúšťacích parametrov“:"
|
||||
"Pre Steam hry klikni pravým tlačidlom na hru v Steame, otvor Vlastnosti > "
|
||||
"Všeo becné a vlož toto do \"Spúšťacích parametrov“:"
|
||||
|
||||
#: dashboard/qml/SteamLaunchOptions.qml:20
|
||||
#, kde-format
|
||||
msgid "Paste this in the Steam launch options for the app you want to start"
|
||||
msgstr ""
|
||||
"Vložte toto do spúšťacích možností Steamu pre aplikáciu, ktorú chcete spustiť"
|
||||
"Vlož toto do spúšťacích možností Steamu pre aplikáciu, ktorú chceš spustiť"
|
||||
|
||||
#: dashboard/qml/SteamLaunchOptions.qml:26
|
||||
#, kde-format
|
||||
@@ -649,8 +637,8 @@ msgid ""
|
||||
"If you installed WiVRn over USB on a Meta headset, the app is in the "
|
||||
"\"unknown sources\" section."
|
||||
msgstr ""
|
||||
"Ak ste nainštalovali WiVRn cez USB na Meta headset, aplikácia sa nachádza v "
|
||||
"sekcii „neznáme zdroje“."
|
||||
"Ak si nainštaloval WiVRn cez USB na Meta headset, aplikácia sa nachádza v sekc"
|
||||
"ii „neznáme zdroje“."
|
||||
|
||||
#: dashboard/qml/TroubleshootPage.qml:24
|
||||
#, kde-format
|
||||
@@ -663,9 +651,8 @@ msgid ""
|
||||
"If the server is not visible or the connection fails, check that port 5353 "
|
||||
"(UDP) and 9757 (TCP and UDP) are open in your firewall."
|
||||
msgstr ""
|
||||
"Ak server nie je viditeľný alebo sa nepodarilo pripojenie, skontrolujte, či sú"
|
||||
" "
|
||||
"vo vašom firewalle otvorené porty 5353 (UDP) a 9757 (TCP aj UDP)."
|
||||
"Ak server nie je viditeľný alebo sa nepodarilo pripojenie, skontroluj, či sú v"
|
||||
" tvojom firewalle otvorené porty 5353 (UDP) a 9757 (TCP aj UDP)."
|
||||
|
||||
#: dashboard/qml/TroubleshootPage.qml:28
|
||||
#, kde-format
|
||||
@@ -679,9 +666,10 @@ 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>Verzia aplikácie v headsete a verzia servera na vašom počítači sa musia "
|
||||
"zhodovať.</p><ul><li>Verziu aplikácie nájdete v časti „O aplikácii“</"
|
||||
"li><li>Verzia servera je <b>%1</b></li></ul>"
|
||||
"<p>Verzia aplikácie v headsete a verzia servera na tvojom počítači sa musia zh"
|
||||
"odovať."
|
||||
"</p><ul><li>Verziu aplikácie nájdeš v časti „O aplikácii“</li><li>Verzia "
|
||||
"servera je <b>%1</b></li></ul>"
|
||||
|
||||
#: dashboard/qml/TroubleshootPage.qml:32
|
||||
#, kde-format
|
||||
@@ -694,8 +682,8 @@ msgid ""
|
||||
"If you have reinstalled the server or the client or if you want to connect "
|
||||
"another headset, you must enable pairing before connecting."
|
||||
msgstr ""
|
||||
"Ak ste preinštalovali server alebo klienta, alebo ak chcete pripojiť iný "
|
||||
"headset, musíte pred pripojením povoliť párovanie."
|
||||
"Ak si preinštaloval server alebo klienta, alebo ak chceš pripojiť iný headset,"
|
||||
" musíš pred pripojením povoliť párovanie."
|
||||
|
||||
#: dashboard/qml/TroubleshootPage.qml:33
|
||||
#, kde-format
|
||||
@@ -718,9 +706,8 @@ msgid ""
|
||||
"When the headset is connected, select \"WiVRn\" as the default audio output "
|
||||
"device for applications to use it."
|
||||
msgstr ""
|
||||
"Keď je headset pripojený, vyberte WiVRn ako predvolené zvukové zariadenie, aby"
|
||||
" "
|
||||
"ho aplikácie používali."
|
||||
"Keď je headset pripojený, vyber WiVRn ako predvolené zvukové zariadenie, aby h"
|
||||
"o aplikácie používali."
|
||||
|
||||
#: dashboard/qml/TroubleshootPage.qml:67
|
||||
#, kde-format
|
||||
@@ -756,8 +743,8 @@ msgid ""
|
||||
"This wizard will help you set up WiVRn on your headset and connect it to "
|
||||
"your computer."
|
||||
msgstr ""
|
||||
"Tento sprievodca vám pomôže nastaviť WiVRn na vašom headsete a pripojiť ho k "
|
||||
"počítaču."
|
||||
"Tento sprievodca ti pomôže nastaviť WiVRn na tvojom headsete a pripojiť ho k p"
|
||||
"očítaču."
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:83 dashboard/qml/WizardPage.qml:258
|
||||
#: dashboard/qml/WizardPage.qml:321 dashboard/qml/WizardPage.qml:452
|
||||
@@ -769,12 +756,12 @@ msgstr "Ďalej"
|
||||
#: dashboard/qml/WizardPage.qml:112
|
||||
#, kde-format
|
||||
msgid "How to enable developer mode"
|
||||
msgstr "Ako zapnúť vývojársky režim"
|
||||
msgstr "Ako zapnúť vývojársky reži"
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:119
|
||||
#, kde-format
|
||||
msgid "Follow the manufacturer's instructions below:"
|
||||
msgstr "Postupujte podľa inštrukcií od výrobcu:"
|
||||
msgstr "Postupuj podľa inštrukcií od výrobcu:"
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:142
|
||||
#, kde-format
|
||||
@@ -783,9 +770,9 @@ msgid ""
|
||||
"headset.\n"
|
||||
"You can either install it from the Meta store or directly over USB."
|
||||
msgstr ""
|
||||
"Na používanie WiVRn je potrebné nainštalovať klientsku aplikáciu do "
|
||||
"headsetu.\n"
|
||||
"Môžete ju nainštalovať buď z Meta obchodu alebo priamo cez USB."
|
||||
"Na používanie WiVRn je potrebné nainštalovať klientsku aplikáciu do headsetu."
|
||||
"\n"
|
||||
"Môžeš ju nainštalovať buď z Meta obchodu alebo priamo cez USB."
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:148
|
||||
#, kde-format
|
||||
@@ -798,8 +785,8 @@ 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 ""
|
||||
"Pre Quest 2, 3, 3S a Pro si môžete aplikáciu stiahnuť z <a href=\"https://"
|
||||
"www.meta.com/experiences/7959676140827574/\">obchodu Meta</a>."
|
||||
"Pre Quest 2, 3, 3S a Pro si môžeš aplikáciu stiahnuť z <a "
|
||||
"href=\"https://www.meta.com/experiences/7959676140827574/\">Meta obchodu</a>."
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:164
|
||||
#, kde-format
|
||||
@@ -807,8 +794,8 @@ msgid ""
|
||||
"A newer release is available: %1 → %2, the client app on the Meta store may "
|
||||
"not be compatible."
|
||||
msgstr ""
|
||||
"K dispozícii je novšia verzia: %1 → %2, Aplikácia z obchodu Meta nemusí byť "
|
||||
"kompatibilná."
|
||||
"K dispozícii je novšia verzia: %1 → %2, Aplikácia z obchodu Meta nemusí byť ko"
|
||||
"mpatibilná."
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:171
|
||||
#, kde-format
|
||||
@@ -816,8 +803,8 @@ msgid ""
|
||||
"This is a nightly build, the client app on the Meta store may not be "
|
||||
"compatible."
|
||||
msgstr ""
|
||||
"Toto je nightly verzia, aplikácia z Meta obchodu s ňou nemusí byť "
|
||||
"kompatibilná."
|
||||
"Toto je nightly verzia, aplikácia z Meta obchodu s ňou nemusí byť kompatibilná"
|
||||
"."
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:181
|
||||
#, kde-format
|
||||
@@ -842,14 +829,14 @@ msgid ""
|
||||
"<ul><li>The ADB udev rules are installed</li><li>The headset is in <a "
|
||||
"href=\"#\">developer mode</a></li></ul></p>"
|
||||
msgstr ""
|
||||
"<p>Headset nebol rozpoznaný. Uistite sa, že:\n"
|
||||
"<ul><li>Máte nainštalované ADB udev rules</li><li>Headset je v <a "
|
||||
"<p>Headset nebol rozpoznaný. Uisti sa, že:\n"
|
||||
"<ul><li>Máš nainštalované ADB udev rules</li><li>Headset je v <a "
|
||||
"href=\"#\">režime vývojára</a></li></ul></p>"
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:280
|
||||
#, kde-format
|
||||
msgid "Select the application you want to start"
|
||||
msgstr "Vyberte aplikáciu, ktorú chcete spustiť"
|
||||
msgstr "Vyber aplikáciu, ktorú chceš spustiť"
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:286
|
||||
#, kde-format
|
||||
@@ -869,13 +856,13 @@ msgid ""
|
||||
"WiVRn entirely replaces SteamVR, you should not start SteamVR while WiVRn is "
|
||||
"running."
|
||||
msgstr ""
|
||||
"WiVRn úplne nahrádza SteamVR, preto by ste SteamVR nemali spúšťať, keď beží "
|
||||
"WiVRn"
|
||||
"WiVRn úplne nahrádza SteamVR, preto by si SteamVR nemal spúšťať, keď beží WiVR"
|
||||
"n"
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:358
|
||||
#, kde-format
|
||||
msgid "Start the WiVRn app on your headset"
|
||||
msgstr "Spustite aplikáciu WiVRn v headsete"
|
||||
msgstr "Spusť aplikáciu WiVRn v headsete"
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:363
|
||||
#, kde-format
|
||||
@@ -883,14 +870,14 @@ msgid ""
|
||||
"To connect over WiFi, start the WiVRn app on your headset, connect to \"%1\" "
|
||||
"and enter PIN \"%2\"."
|
||||
msgstr ""
|
||||
"Na pripojenie cez Wi-Fi spustite aplikáciu WiVRn v headsete, pripojte sa k \"%"
|
||||
"1“ "
|
||||
"a zadajte PIN \"%2“."
|
||||
"Na pripojenie cez Wi-Fi spusti aplikáciu WiVRn v headsete, pripoj sa k \"%1“ a"
|
||||
" "
|
||||
"zadaj PIN \"%2“."
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:370
|
||||
#, kde-format
|
||||
msgid "To connect over USB, click on \"Connect by USB\"."
|
||||
msgstr "Pre pripojenie cez USB kliknite na \"Pripojiť cez USB“."
|
||||
msgstr "Pre pripojenie cez USB klikni na \"Pripojiť cez USB“."
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:383
|
||||
#, kde-format
|
||||
@@ -918,9 +905,8 @@ msgid ""
|
||||
"To connect another headset, make sure pairing is enabled in the dashboard "
|
||||
"before connecting."
|
||||
msgstr ""
|
||||
"Ak chcete pripojiť ďalší headset, uistite sa, že je v ovládacom paneli povolen"
|
||||
"é "
|
||||
"párovanie."
|
||||
"Ak chceš pripojiť ďalší headset, uisti sa, že je v ovládacom paneli povolené p"
|
||||
"árovanie."
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:457 dashboard/qml/WizardPage.qml:494
|
||||
#, kde-format
|
||||
@@ -932,12 +918,12 @@ msgstr "Dokončiť"
|
||||
msgid "Finished"
|
||||
msgstr "Hotovo"
|
||||
|
||||
#: dashboard/wivrn_server.cpp:592
|
||||
#: dashboard/wivrn_server.cpp:584
|
||||
#, kde-format
|
||||
msgid "xrizer"
|
||||
msgstr "xrizer"
|
||||
|
||||
#: dashboard/wivrn_server.cpp:593
|
||||
#: dashboard/wivrn_server.cpp:585
|
||||
#, kde-format
|
||||
msgid "Open Composite"
|
||||
msgstr "Open Composite"
|
||||
|
||||
+115
-120
@@ -2,14 +2,13 @@
|
||||
# This file is distributed under the same license as the WiVRn package.
|
||||
#
|
||||
# SPDX-FileCopyrightText: 2025 not <github.superglue094@slmail.me>
|
||||
# SPDX-FileCopyrightText: 2025 eps <eps@bwsal.org>
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WiVRn\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2025-08-08 20:41+0200\n"
|
||||
"PO-Revision-Date: 2025-08-08 22:08+0200\n"
|
||||
"Last-Translator: eps <eps@bwsal.org>\n"
|
||||
"POT-Creation-Date: 2025-07-30 09:32+0200\n"
|
||||
"PO-Revision-Date: 2025-08-02 18:41+0200\n"
|
||||
"Last-Translator: not <github.superglue094@slmail.me>\n"
|
||||
"Language-Team: Slovak <>\n"
|
||||
"Language: sk\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
@@ -46,129 +45,129 @@ msgstr "Nie je možné sa pripojiť k {} ({}): {}"
|
||||
msgid "Waiting for connection"
|
||||
msgstr "Čaká sa na pripojenie"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:230
|
||||
#: client/scenes/lobby_gui.cpp:156
|
||||
msgctxt "openxr_post_processing"
|
||||
msgid "Normal"
|
||||
msgstr "Normálna"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:233
|
||||
#: client/scenes/lobby_gui.cpp:159
|
||||
msgctxt "openxr_post_processing"
|
||||
msgid "Quality"
|
||||
msgstr "Vyššia kvalita"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:235
|
||||
#: client/scenes/lobby_gui.cpp:161
|
||||
msgctxt "openxr_post_processing"
|
||||
msgid "Disabled"
|
||||
msgstr "Vypnuté"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:243 client/scenes/lobby_gui.cpp:400
|
||||
#: client/scenes/lobby_gui.cpp:169 client/scenes/lobby_gui.cpp:320
|
||||
#: client/scenes/stream_gui.cpp:812
|
||||
msgid "Disconnect"
|
||||
msgstr "Odpojiť"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:264 client/scenes/stream_gui.cpp:808
|
||||
#: client/scenes/lobby_gui.cpp:189 client/scenes/stream_gui.cpp:808
|
||||
msgid "Close"
|
||||
msgstr "Zatvoriť"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:270
|
||||
#: client/scenes/lobby_gui.cpp:195
|
||||
msgid "Connection"
|
||||
msgstr "Pripojenie"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:272
|
||||
#: client/scenes/lobby_gui.cpp:197
|
||||
#, c++-format
|
||||
msgid "Connection to {}"
|
||||
msgstr "Pripojenie k {}"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:302
|
||||
#: client/scenes/lobby_gui.cpp:227
|
||||
msgid "PIN"
|
||||
msgstr "PIN"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:324
|
||||
#: client/scenes/lobby_gui.cpp:249
|
||||
msgid "Input the PIN displayed on the dashboard"
|
||||
msgstr "Zadajte PIN zobrazený v okne aplikácie"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:395
|
||||
#: client/scenes/lobby_gui.cpp:315
|
||||
msgid "Connected to WiVRn server"
|
||||
msgstr "Pripojené k WiVRn serveru"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:397
|
||||
#: client/scenes/lobby_gui.cpp:317
|
||||
#, c++-format
|
||||
msgid "Connected to {}"
|
||||
msgstr "Pripojené k {}"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:407
|
||||
#: client/scenes/lobby_gui.cpp:327
|
||||
msgid "Start an application on the server to start streaming."
|
||||
msgstr "Na serveri spustite aplikáciu, aby sa začalo streamovanie."
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:419
|
||||
#: client/scenes/lobby_gui.cpp:333
|
||||
msgid "Start an application on your computer or select one to start streaming."
|
||||
msgstr ""
|
||||
"Na svojom počítači spustite aplikáciu alebo vyberte jednu na začatie "
|
||||
"streamovania."
|
||||
"Na svojom počítači spustite aplikáciu alebo vyberte jednu na začatie streamova"
|
||||
"nia."
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:421
|
||||
#: client/scenes/lobby_gui.cpp:335
|
||||
#, c++-format
|
||||
msgid "Start an application on {} or select one to start streaming."
|
||||
msgstr "Spustite aplikáciu na {} alebo jednu vyberte pre začatie streamovania."
|
||||
msgstr "Spustite aplikáciu na {} alebo vyberte jednu na začatie streamovania."
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:544
|
||||
#: client/scenes/lobby_gui.cpp:383
|
||||
msgid "Name"
|
||||
msgstr "Názov"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:555
|
||||
#: client/scenes/lobby_gui.cpp:394
|
||||
msgid "Address"
|
||||
msgstr "Adresa"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:564
|
||||
#: client/scenes/lobby_gui.cpp:403
|
||||
msgid "Port"
|
||||
msgstr "Port"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:572
|
||||
#: client/scenes/lobby_gui.cpp:411
|
||||
msgid "TCP only"
|
||||
msgstr "Iba TCP"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:579
|
||||
#: client/scenes/lobby_gui.cpp:418
|
||||
msgid "Cancel"
|
||||
msgstr "Zrušiť"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:593
|
||||
#: client/scenes/lobby_gui.cpp:432
|
||||
msgid "Save"
|
||||
msgstr "Uložiť"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:646
|
||||
#: client/scenes/lobby_gui.cpp:485
|
||||
msgid ""
|
||||
"Start a WiVRn server on your\n"
|
||||
"local network"
|
||||
msgstr ""
|
||||
"Spustite WiVRn server na svojej\n"
|
||||
"Spustite WiVRn server vo svojej\n"
|
||||
"lokálnej sieti"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:678
|
||||
#: client/scenes/lobby_gui.cpp:517
|
||||
msgid "Autoconnect"
|
||||
msgstr "Automatické pripojenie"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:704
|
||||
#: client/scenes/lobby_gui.cpp:543
|
||||
msgid "Connect"
|
||||
msgstr "Pripojiť"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:714 client/wivrn_client.cpp:186
|
||||
#: client/scenes/lobby_gui.cpp:553 client/wivrn_client.cpp:186
|
||||
msgid "Incompatible server version"
|
||||
msgstr "Verzia servera nie je kompatibilná"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:716
|
||||
#: client/scenes/lobby_gui.cpp:555
|
||||
msgid "Server not available"
|
||||
msgstr "Server nie je dostupný"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:802
|
||||
#: client/scenes/lobby_gui.cpp:641
|
||||
msgid "Refresh rate"
|
||||
msgstr "Obnovovacia frekvencia"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:802 client/scenes/lobby_gui.cpp:804
|
||||
#: client/scenes/lobby_gui.cpp:641 client/scenes/lobby_gui.cpp:643
|
||||
msgctxt "automatic refresh rate"
|
||||
msgid "Automatic"
|
||||
msgstr "Automaticky"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:811
|
||||
#: client/scenes/lobby_gui.cpp:650
|
||||
msgid ""
|
||||
"Select refresh rate based on measured application performance.\n"
|
||||
"May cause flicker when a change happens."
|
||||
@@ -176,60 +175,60 @@ msgstr ""
|
||||
"Vyber obnovovaciu frekvenciu podľa výkonu aplikácie.\n"
|
||||
"Pri zmene sa môže obraz trochu trhať."
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:828
|
||||
#: client/scenes/lobby_gui.cpp:667
|
||||
msgid "Minimum refresh rate"
|
||||
msgstr "Minimálna obnovovacia frekvencia"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:851
|
||||
#: client/scenes/lobby_gui.cpp:690
|
||||
msgid "Resolution scale"
|
||||
msgstr "Rozlíšenie"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:855 client/scenes/lobby_gui.cpp:1094
|
||||
#: client/scenes/lobby_gui.cpp:694 client/scenes/lobby_gui.cpp:933
|
||||
#, c-format, c++-format
|
||||
msgid "%d%% - {}x{} per eye"
|
||||
msgstr "%d%% - {}x{} na oko"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:866 client/scenes/lobby_gui.cpp:1105
|
||||
#: client/scenes/lobby_gui.cpp:705 client/scenes/lobby_gui.cpp:944
|
||||
#, c++-format
|
||||
msgid "Resolution larger than {}x{} may not be supported by the headset"
|
||||
msgstr "Rozlíšenie vyžšie ako {}x{} nemusí byť podporované vašim headsetom"
|
||||
msgstr "Rozlíšenie vyžšie ako {}x{} nemusí byť podporované vašim hedsetom"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:872
|
||||
#: client/scenes/lobby_gui.cpp:711
|
||||
msgid "Enable microphone"
|
||||
msgstr "Zapnúť mikrofón"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:881
|
||||
#: client/scenes/lobby_gui.cpp:720
|
||||
msgid "Unprocessed Microphone Audio"
|
||||
msgstr "Mikrofónu bez procesovaného zvuku"
|
||||
msgstr "Mikrofónu bez postrocesovaného zvuku"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:887
|
||||
#: client/scenes/lobby_gui.cpp:726
|
||||
msgid "Force disable audio filters, such as noise cancellation"
|
||||
msgstr ""
|
||||
"Vynúťené vypnutie zvukových filtrov, ako napríklad potlačenie okolného hluku"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:894
|
||||
#: client/scenes/lobby_gui.cpp:733
|
||||
msgid "Enable hand tracking"
|
||||
msgstr "Zapnúť sledovanie rúk"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:900 client/scenes/lobby_gui.cpp:912
|
||||
#: client/scenes/lobby_gui.cpp:924 client/scenes/lobby_gui.cpp:940
|
||||
#: client/scenes/lobby_gui.cpp:990
|
||||
#: client/scenes/lobby_gui.cpp:739 client/scenes/lobby_gui.cpp:751
|
||||
#: client/scenes/lobby_gui.cpp:763 client/scenes/lobby_gui.cpp:779
|
||||
#: client/scenes/lobby_gui.cpp:829
|
||||
msgid "This feature is not supported by your headset"
|
||||
msgstr "Táto funkcia nieje podporovaná vašim headsetom"
|
||||
msgstr "Táto fíčura nieje podporovaná vašim hedsetom"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:906
|
||||
#: client/scenes/lobby_gui.cpp:745
|
||||
msgid "Enable eye tracking"
|
||||
msgstr "Zapnúť sledovanie očí"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:918
|
||||
#: client/scenes/lobby_gui.cpp:757
|
||||
msgid "Enable face tracking"
|
||||
msgstr "Zapnúť sledovanie tváre"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:931
|
||||
#: client/scenes/lobby_gui.cpp:770
|
||||
msgid "Enable body tracking"
|
||||
msgstr "Zapnúť sledovanie tela"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:947
|
||||
#: client/scenes/lobby_gui.cpp:786
|
||||
msgid ""
|
||||
"Requires 'Hand and body tracking' to be enabled in the Quest movement "
|
||||
"tracking settings,\n"
|
||||
@@ -237,27 +236,27 @@ msgid ""
|
||||
msgstr ""
|
||||
"Je potrebné 'Hand and body tracking' aby bolo zapnuté v Quest movement "
|
||||
"tracking settings,\n"
|
||||
"inak dáta o pozícii tela budú odhadované podla pozície headsetu a ovládačov"
|
||||
"inak dáta o pozícii tela budú odhadované podla pozície hedsetu a ovládačov"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:960
|
||||
#: client/scenes/lobby_gui.cpp:799
|
||||
msgid "Enable lower body tracking"
|
||||
msgstr "Zapnúť sledovanie spodnej části tela"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:966
|
||||
#: client/scenes/lobby_gui.cpp:805
|
||||
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 ""
|
||||
"Odhad polohy kĺbov dolnej časti tela pomocou Generative Legs\n"
|
||||
"Vyžaduje, aby bolo v nastaveniach Quest movement tracking povolené „Hand and "
|
||||
"body tracking“"
|
||||
"Vyžaduje, aby bolo v nastaveniach Quest movement "
|
||||
"tracking povolené „Hand and body tracking“"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:969
|
||||
#: client/scenes/lobby_gui.cpp:808
|
||||
msgid "Enable hip tracking"
|
||||
msgstr "Povoliť sledovanie pása"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:975
|
||||
#: client/scenes/lobby_gui.cpp:814
|
||||
msgid ""
|
||||
"Only takes affect with lower body tracking enabled\n"
|
||||
"May be desired when using another source of hip tracking"
|
||||
@@ -265,211 +264,207 @@ msgstr ""
|
||||
"Platí len pri zapnutom sledovaní dolnej časti tela\n"
|
||||
"Môže byť vhodné, ak sa používa iný zdroj sledovania pása"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:983
|
||||
#: client/scenes/lobby_gui.cpp:822
|
||||
msgid "Enable video passthrough in lobby"
|
||||
msgstr "Povoliť passthrough video v hlavnom menu"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1004 client/scenes/stream_gui.cpp:434
|
||||
#: client/scenes/lobby_gui.cpp:843 client/scenes/stream_gui.cpp:434
|
||||
msgid "OpenXR post-processing"
|
||||
msgstr "OpenXRPostprocesing"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1008 client/scenes/stream_gui.cpp:438
|
||||
#: client/scenes/lobby_gui.cpp:847 client/scenes/stream_gui.cpp:438
|
||||
msgid "Supersampling"
|
||||
msgstr "Supersampling"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1028 client/scenes/stream_gui.cpp:459
|
||||
#: client/scenes/lobby_gui.cpp:867 client/scenes/stream_gui.cpp:459
|
||||
msgid ""
|
||||
"Reduce flicker for high contrast edges.\n"
|
||||
"Useful when the input resolution is high compared to the headset display"
|
||||
msgstr ""
|
||||
"Zníženie blikania pri okrajoch z vysokým kontrastom.\n"
|
||||
"Užitočné, keď je vstupné rozlíšenie vysoké v porovnaní s displejom headsetu"
|
||||
"Užitočné, keď je vstupné rozlíšenie vysoké v porovnaní s displejom hedsetu"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1033 client/scenes/stream_gui.cpp:464
|
||||
#: client/scenes/lobby_gui.cpp:872 client/scenes/stream_gui.cpp:464
|
||||
msgid "Sharpening"
|
||||
msgstr "Ostrosť"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1053 client/scenes/stream_gui.cpp:485
|
||||
#: client/scenes/lobby_gui.cpp:892 client/scenes/stream_gui.cpp:485
|
||||
msgid ""
|
||||
"Improve clarity of high contrast edges and counteract blur.\n"
|
||||
"Useful when the input resolution is low compared to the headset display"
|
||||
msgstr ""
|
||||
"Zlepšuje jasnosť pri okrajoch z vysokým kontrastom a potlačuje rozmazanie.\n"
|
||||
"Užitočné, keď je vstupné rozlíšenie nízke v porovnaní s displejom headsetu"
|
||||
"Užitočné, keď je vstupné rozlíšenie nízke v porovnaní s displejom hedsetu"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1062
|
||||
#: client/scenes/lobby_gui.cpp:901
|
||||
msgid "Enable Snapdragon Game Super Resolution"
|
||||
msgstr "Zapnúť Snapdragon Game Super Resolution"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1070
|
||||
#: client/scenes/lobby_gui.cpp:909
|
||||
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 ""
|
||||
"V tomto headsete bolo toto nastavenie plne nahradené vyššie uvedeným "
|
||||
"natívnym nastavením doostrenia.\n"
|
||||
"V tomto headsete bolo toto nastavenie plne nahradené vyššie uvedeným natívnym"
|
||||
"nastavením doostrenia.\n"
|
||||
"Zapnite ho, len ak viete, čo robíte."
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1072
|
||||
#: client/scenes/lobby_gui.cpp:911
|
||||
msgid ""
|
||||
"Client-side upscaling and sharpening, adds a performance cost on the headset"
|
||||
msgstr ""
|
||||
"Zvýšenie rozlíšenia a doostrenie na strane klienta zvyšuje náklady na výkon "
|
||||
"headsetu"
|
||||
"Zvýšenie rozlíšenia a doostrenie na strane klienta zvyšuje náklady na výkon he"
|
||||
"dsetu"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1090
|
||||
#: client/scenes/lobby_gui.cpp:929
|
||||
msgid "Upscaling factor"
|
||||
msgstr "Faktor upscalovania"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1109
|
||||
#: client/scenes/lobby_gui.cpp:948
|
||||
msgid "Use edge direction"
|
||||
msgstr "Použitie smeru okrajov"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1115
|
||||
#: client/scenes/lobby_gui.cpp:954
|
||||
msgid "Adds an additional performance cost"
|
||||
msgstr "Pridáva dodatočné náklady na výkon"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1120
|
||||
#: client/scenes/lobby_gui.cpp:959
|
||||
msgid "Edge threshold"
|
||||
msgstr "Hraničná hodnota okrajov"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1127 client/scenes/lobby_gui.cpp:1136
|
||||
#: client/scenes/lobby_gui.cpp:966 client/scenes/lobby_gui.cpp:975
|
||||
#, c++-format
|
||||
msgid "Recommended: {:.1f}"
|
||||
msgstr "Odporúčané: {:.1f}"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1130
|
||||
#: client/scenes/lobby_gui.cpp:969
|
||||
msgid "Edge sharpness"
|
||||
msgstr "Ostrosť okrajov"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1232 client/scenes/lobby_gui.cpp:1240
|
||||
#: client/scenes/lobby_gui.cpp:1071 client/scenes/lobby_gui.cpp:1079
|
||||
#: client/scenes/stream_gui.cpp:222 client/scenes/stream_gui.cpp:418
|
||||
msgid "CPU time"
|
||||
msgstr "CPU odozva"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1236
|
||||
#: client/scenes/lobby_gui.cpp:1075
|
||||
msgid "CPU time [ms]"
|
||||
msgstr "CPU odozva [ms]"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1246 client/scenes/lobby_gui.cpp:1254
|
||||
#: client/scenes/lobby_gui.cpp:1085 client/scenes/lobby_gui.cpp:1093
|
||||
#: client/scenes/stream_gui.cpp:224 client/scenes/stream_gui.cpp:419
|
||||
msgid "GPU time"
|
||||
msgstr "GPU odozva"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1250
|
||||
#: client/scenes/lobby_gui.cpp:1089
|
||||
msgid "GPU time [ms]"
|
||||
msgstr "GPU odozva [ms]"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1293
|
||||
#: client/scenes/lobby_gui.cpp:1132
|
||||
msgid "Enable the microphone?"
|
||||
msgstr "Zapnúť mikrofón?"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1298
|
||||
#: client/scenes/lobby_gui.cpp:1137
|
||||
msgid "Enable eye tracking?"
|
||||
msgstr "Povolenie sledovania očí?"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1303
|
||||
#: client/scenes/lobby_gui.cpp:1142
|
||||
msgid "Enable face tracking?"
|
||||
msgstr "Povolenie sledovania tváre?"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1308
|
||||
#: client/scenes/lobby_gui.cpp:1147
|
||||
msgid "Enable body tracking?"
|
||||
msgstr "Povoliť sledovanie tela?"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1316
|
||||
#: client/scenes/lobby_gui.cpp:1155
|
||||
msgid "Welcome to WiVRn"
|
||||
msgstr "Vitajte v WiVRn"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1340
|
||||
#: client/scenes/lobby_gui.cpp:1179
|
||||
msgid "Yes"
|
||||
msgstr "Áno"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1347
|
||||
#: client/scenes/lobby_gui.cpp:1186
|
||||
msgid "No"
|
||||
msgstr "Nie"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1366 client/scenes/lobby_gui.cpp:2005
|
||||
#: client/scenes/lobby_gui.cpp:1205 client/scenes/lobby_gui.cpp:1844
|
||||
msgid "Licenses"
|
||||
msgstr "Licencie"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1680
|
||||
#: client/scenes/lobby_gui.cpp:1519
|
||||
msgid "Microphone is enabled"
|
||||
msgstr "Mikrofón je zapnutý"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1681
|
||||
#: client/scenes/lobby_gui.cpp:1520
|
||||
msgid "Microphone is disabled"
|
||||
msgstr "Mikrofón je vypnutý"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1690
|
||||
#: client/scenes/lobby_gui.cpp:1529
|
||||
msgid "Hand tracking is enabled"
|
||||
msgstr "Sledovanie rúk je zapnuté"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1691
|
||||
#: client/scenes/lobby_gui.cpp:1530
|
||||
msgid "Hand tracking is disabled"
|
||||
msgstr "Sledovanie rúk je vypnuté"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1700
|
||||
#: client/scenes/lobby_gui.cpp:1539
|
||||
msgid "Eye tracking is enabled"
|
||||
msgstr "Sledovanie očí je zapnuté"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1701
|
||||
#: client/scenes/lobby_gui.cpp:1540
|
||||
msgid "Eye tracking is disabled"
|
||||
msgstr "Sledovanie očí je vypnuté"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1714
|
||||
#: client/scenes/lobby_gui.cpp:1553
|
||||
msgid "Face tracking is enabled"
|
||||
msgstr "Sledovanie tváre je zapnuté"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1715
|
||||
#: client/scenes/lobby_gui.cpp:1554
|
||||
msgid "Face tracking is disabled"
|
||||
msgstr "Sledovanie tváre je vypnuté"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1725
|
||||
#: client/scenes/lobby_gui.cpp:1564
|
||||
msgid "Body tracking is enabled"
|
||||
msgstr "Sledovanie tela je zapnuté"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1726
|
||||
#: client/scenes/lobby_gui.cpp:1565
|
||||
msgid "Body tracking is disabled"
|
||||
msgstr "Sledovanie tela je vypnuté"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1742
|
||||
#: client/scenes/lobby_gui.cpp:1581
|
||||
msgid "Add server"
|
||||
msgstr "Pridať server"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1987
|
||||
#: client/scenes/lobby_gui.cpp:1826
|
||||
msgid "Server list"
|
||||
msgstr "Zoznam serverov"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1990 client/scenes/stream_gui.cpp:796
|
||||
#: client/scenes/lobby_gui.cpp:1829 client/scenes/stream_gui.cpp:796
|
||||
msgid "Settings"
|
||||
msgstr "Nastavenia"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1993
|
||||
#: client/scenes/lobby_gui.cpp:1832
|
||||
msgid "Post-processing"
|
||||
msgstr "Postprocesing"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1997
|
||||
#: client/scenes/lobby_gui.cpp:1836
|
||||
msgid "Debug"
|
||||
msgstr "Ladenie"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:2002
|
||||
#: client/scenes/lobby_gui.cpp:1841
|
||||
msgid "About"
|
||||
msgstr "O aplikácii"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:2008
|
||||
#: client/scenes/lobby_gui.cpp:1847
|
||||
msgid "Exit"
|
||||
msgstr "Ukončiť"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:2025
|
||||
msgid ""
|
||||
"Press the grip button or put your palm up\n"
|
||||
"to move the main window"
|
||||
msgstr ""
|
||||
"Stlačte tlačidlo grip alebo zdvihnite dlaň\n"
|
||||
"pre presunutie hlavného okna"
|
||||
#: client/scenes/lobby_gui.cpp:1864
|
||||
msgid "Press the grip button or put your palm up\nto move the main window"
|
||||
msgstr "Stlačte tlačidlo grip alebo zdvihnite dlaň\npre presunutie hlavného okna"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:2027
|
||||
#: client/scenes/lobby_gui.cpp:1866
|
||||
msgid "Press the grip button to move the main window"
|
||||
msgstr "Pre presunutie hlavného okna stlačte grip"
|
||||
|
||||
@@ -579,7 +574,7 @@ msgstr "Pomocou joysticku nastavte foveation centrum"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:549
|
||||
msgid "Press A to save or B to cancel"
|
||||
msgstr "Stlačte A pre uloženie alebo B pre zrušenie"
|
||||
msgstr "Stlač A pre uloženie alebo B pre zrušenie"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:793
|
||||
msgid "Stats"
|
||||
|
||||
@@ -1,943 +0,0 @@
|
||||
# SOME DESCRIPTIVE TITLE.
|
||||
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
|
||||
# This file is distributed under the same license as the WiVRn-dashboard package.
|
||||
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
|
||||
#
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WiVRn-dashboard\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2025-08-04 10:40+0300\n"
|
||||
"PO-Revision-Date: 2025-08-08 17:09+0300\n"
|
||||
"Last-Translator: Hüseyin Fahri Uzun <fahri@uzun.pro>\n"
|
||||
"Language-Team: \n"
|
||||
"Language: tr\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: Poedit 3.6\n"
|
||||
|
||||
#: dashboard/apk_installer.cpp:167
|
||||
#, kde-format
|
||||
msgid "Downloading APK: %1 MB / %2 MB"
|
||||
msgstr "APK indiriliyor: %1 MB / %2 MB"
|
||||
|
||||
#: dashboard/apk_installer.cpp:169
|
||||
#, kde-format
|
||||
msgid "Downloading APK: %1 MB"
|
||||
msgstr "APK indiriliyor: %1 MB"
|
||||
|
||||
#: dashboard/apk_installer.cpp:178
|
||||
#, kde-format
|
||||
msgid "Download cancelled"
|
||||
msgstr "İndirme iptal edildi"
|
||||
|
||||
#: dashboard/apk_installer.cpp:194
|
||||
#, kde-format
|
||||
msgid "Cannot download APK: %1"
|
||||
msgstr "APK indirilemiyor: %1"
|
||||
|
||||
#: dashboard/apk_installer.cpp:217
|
||||
#, kde-format
|
||||
msgid "Installing APK"
|
||||
msgstr "APK yükleniyor"
|
||||
|
||||
#: dashboard/apk_installer.cpp:221
|
||||
#, kde-format
|
||||
msgid "adb failed to start: %1"
|
||||
msgstr "adb başlatılamadı: %1"
|
||||
|
||||
#: dashboard/apk_installer.cpp:231
|
||||
#, kde-format
|
||||
msgid "adb exited abnormally: %1"
|
||||
msgstr "adb anormal şekilde çıktı: %1"
|
||||
|
||||
#: dashboard/apk_installer.cpp:239
|
||||
#, kde-format
|
||||
msgid "The 'adb install' command failed: exit code %1"
|
||||
msgstr "'adb install' komutu başarısız oldu: çıkış kodu %1"
|
||||
|
||||
#: dashboard/apk_installer.cpp:244
|
||||
#, kde-format
|
||||
msgid "Installation successful"
|
||||
msgstr "Yükleme başarılı"
|
||||
|
||||
#: dashboard/main.cpp:27 dashboard/qml/Main.qml:12
|
||||
#, kde-format
|
||||
msgid "WiVRn dashboard"
|
||||
msgstr "WiVRn kontrol paneli"
|
||||
|
||||
#: dashboard/qml/ApkInstallPage.qml:12 dashboard/qml/WizardPage.qml:137
|
||||
#, kde-format
|
||||
msgid "Install the WiVRn app on your headset"
|
||||
msgstr "WiVRn uygulamasını gözlüğe yükle"
|
||||
|
||||
#: dashboard/qml/ApkInstallPage.qml:41 dashboard/qml/WizardPage.qml:157
|
||||
#: dashboard/qml/WizardPage.qml:192
|
||||
#, kde-format
|
||||
msgid "Checking latest release..."
|
||||
msgstr "En son sürüm kontrol ediliyor..."
|
||||
|
||||
#: dashboard/qml/ApkInstallPage.qml:43 dashboard/qml/WizardPage.qml:198
|
||||
#, kde-format
|
||||
msgid "No precompiled APK is available for this version."
|
||||
msgstr "Bu sürüm için önceden derlenmiş APK yok."
|
||||
|
||||
#: dashboard/qml/ApkInstallPage.qml:45 dashboard/qml/Main.qml:259
|
||||
#: dashboard/qml/Main.qml:341
|
||||
#, kde-format
|
||||
msgid "ADB is not installed."
|
||||
msgstr "ADB yüklü değil."
|
||||
|
||||
#: dashboard/qml/ApkInstallPage.qml:47
|
||||
#, kde-format
|
||||
msgid "Connect a headset and make sure developer mode is enabled."
|
||||
msgstr ""
|
||||
"Bir gözlük bağlayın ve geliştirici modunun etkinleştirildiğinden emin olun."
|
||||
|
||||
#: dashboard/qml/ApkInstallPage.qml:51 dashboard/qml/WizardPage.qml:204
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"Follow the instructions in the <a href=\"https://github.com/WiVRn/WiVRn/blob/"
|
||||
"master/docs/building.md#client-headset\">documentation</a> to build your own "
|
||||
"client."
|
||||
msgstr ""
|
||||
"Kendi istemcinizi oluşturmak için <a href=\"https://github.com/WiVRn/WiVRn/"
|
||||
"blob/master/docs/building.md#client-headset\">belgelerdeki</a> talimatları "
|
||||
"izleyin."
|
||||
|
||||
#: 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"
|
||||
msgstr "Geri"
|
||||
|
||||
#: dashboard/qml/ConnectUsbDialog.qml:11
|
||||
#, kde-format
|
||||
msgid "Select your headset"
|
||||
msgstr "Gözlüğünüzü seçin"
|
||||
|
||||
#: dashboard/qml/DeviceCard.qml:46
|
||||
#, kde-format
|
||||
msgid "WiVRn is already installed on this device"
|
||||
msgstr "WiVRn bu aygıta zaten yüklü"
|
||||
|
||||
#: dashboard/qml/DeviceCard.qml:54
|
||||
#, kde-format
|
||||
msgid "Reinstall WiVRn"
|
||||
msgstr "WiVRn'i yeniden yükle"
|
||||
|
||||
#: dashboard/qml/DeviceCard.qml:54
|
||||
#, kde-format
|
||||
msgid "Install WiVRn"
|
||||
msgstr "WiVRn'i yükle"
|
||||
|
||||
#: dashboard/qml/HeadsetsPage.qml:12 dashboard/qml/Main.qml:354
|
||||
#, kde-format
|
||||
msgid "Headsets"
|
||||
msgstr "Gözlükler"
|
||||
|
||||
#: dashboard/qml/HeadsetsPage.qml:29
|
||||
#, kde-format
|
||||
msgid "Last connection: %1 second ago"
|
||||
msgid_plural "Last connection: %1 seconds ago"
|
||||
msgstr[0] "Son bağlantı: %1 saniye önce"
|
||||
msgstr[1] "Son bağlantı: %1 saniye önce"
|
||||
|
||||
#: dashboard/qml/HeadsetsPage.qml:31
|
||||
#, kde-format
|
||||
msgid "Last connection: %1 minute ago"
|
||||
msgid_plural "Last connection: %1 minutes ago"
|
||||
msgstr[0] "Son bağlantı: %1 dakika önce"
|
||||
msgstr[1] "Son bağlantı: %1 dakika önce"
|
||||
|
||||
#: dashboard/qml/HeadsetsPage.qml:33
|
||||
#, kde-format
|
||||
msgid "Last connection: %1 hour ago"
|
||||
msgid_plural "Last connection: %1 hours ago"
|
||||
msgstr[0] "Son bağlantı: %1 saat önce"
|
||||
msgstr[1] "Son bağlantı: %1 saat önce"
|
||||
|
||||
#: dashboard/qml/HeadsetsPage.qml:35
|
||||
#, kde-format
|
||||
msgid "Last connection: %1 day ago"
|
||||
msgid_plural "Last connection: %1 days ago"
|
||||
msgstr[0] "Son bağlantı: %1 gün önce"
|
||||
msgstr[1] "Son bağlantı: %1 gün önce"
|
||||
|
||||
#: dashboard/qml/HeadsetsPage.qml:40
|
||||
#, kde-format
|
||||
msgid "Rename headset"
|
||||
msgstr "Gözlüğü yeniden adlandır"
|
||||
|
||||
#: dashboard/qml/HeadsetsPage.qml:48 dashboard/qml/HeadsetsPage.qml:116
|
||||
#, kde-format
|
||||
msgid "Rename"
|
||||
msgstr "Yeniden Adlandır"
|
||||
|
||||
#: dashboard/qml/HeadsetsPage.qml:55 dashboard/qml/WizardPage.qml:38
|
||||
#: dashboard/qml/WizardPage.qml:88 dashboard/qml/WizardPage.qml:263
|
||||
#: dashboard/qml/WizardPage.qml:326 dashboard/qml/WizardPage.qml:410
|
||||
#, kde-format
|
||||
msgid "Cancel"
|
||||
msgstr "İptal"
|
||||
|
||||
#: dashboard/qml/HeadsetsPage.qml:64
|
||||
#, kde-format
|
||||
msgid "Headset name…"
|
||||
msgstr "Gözlük adı…"
|
||||
|
||||
#: dashboard/qml/HeadsetsPage.qml:128
|
||||
#, kde-format
|
||||
msgid "Remove"
|
||||
msgstr "Kaldır"
|
||||
|
||||
#: dashboard/qml/HeadsetsPage.qml:143
|
||||
#, kde-format
|
||||
msgid "Pairing enabled, PIN: %1"
|
||||
msgstr "Eşleştirme etkin, PIN: %1"
|
||||
|
||||
#: dashboard/qml/HeadsetsPage.qml:148 dashboard/qml/TroubleshootPage.qml:42
|
||||
#, kde-format
|
||||
msgid "Disable pairing"
|
||||
msgstr "Eşleştirmeyi devre dışı bırak"
|
||||
|
||||
#: dashboard/qml/HeadsetsPage.qml:166
|
||||
#, kde-format
|
||||
msgid "Start the WiVRn app on your headset and use the PIN: %1"
|
||||
msgstr "Gözlüğünüzde WiVRn uygulamasını başlatın ve PIN: %1'i kullanın"
|
||||
|
||||
#: dashboard/qml/HeadsetsPage.qml:166
|
||||
#, kde-format
|
||||
msgid "Enable pairing to allow your headset to connect to this computer"
|
||||
msgstr ""
|
||||
"Gözlüğünüzün bu bilgisayara bağlanmasına izin vermek için eşleştirmeyi "
|
||||
"etkinleştirin"
|
||||
|
||||
#: dashboard/qml/HeadsetsPage.qml:171 dashboard/qml/TroubleshootPage.qml:37
|
||||
#, kde-format
|
||||
msgid "Enable pairing"
|
||||
msgstr "Eşleştirmeyi etkinleştir"
|
||||
|
||||
#: dashboard/qml/HeadsetsPage.qml:191
|
||||
#, kde-format
|
||||
msgid "Pair a new headset"
|
||||
msgstr "Yeni bir gözlük eşleştir"
|
||||
|
||||
#: dashboard/qml/HeadsetStatsPage.qml:12
|
||||
#, kde-format
|
||||
msgid "Headset statistics"
|
||||
msgstr "Gözlük istatistikleri"
|
||||
|
||||
#: dashboard/qml/Main.qml:107
|
||||
#, kde-format
|
||||
msgid "The server does not have CAP_SYS_NICE capabilities."
|
||||
msgstr "Sunucunun CAP_SYS_NICE yetenekleri yok."
|
||||
|
||||
#: dashboard/qml/Main.qml:114
|
||||
#, kde-format
|
||||
msgid "Fix it"
|
||||
msgstr "Onar"
|
||||
|
||||
#: dashboard/qml/Main.qml:123
|
||||
#, kde-format
|
||||
msgid "The CAP_SYS_NICE capability will be used when the server is restarted."
|
||||
msgstr "Sunucu yeniden başlatıldığında CAP_SYS_NICE yeteneği kullanılacak."
|
||||
|
||||
#: dashboard/qml/Main.qml:129
|
||||
#, kde-format
|
||||
msgctxt "restart the server"
|
||||
msgid "Restart now"
|
||||
msgstr "Şimdi yeniden başlat"
|
||||
|
||||
#: dashboard/qml/Main.qml:140
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"NVIDIA GPUs require at least driver version 565.77, current version is %1"
|
||||
msgstr ""
|
||||
"NVIDIA GPU'lar en az 565.77 sürücü sürümünü gerektirir, geçerli sürüm %1"
|
||||
|
||||
#: dashboard/qml/Main.qml:146
|
||||
#, kde-format
|
||||
msgid "More info"
|
||||
msgstr "Daha fazla bilgi"
|
||||
|
||||
#: dashboard/qml/Main.qml:154
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"Use the Mesa (radv) driver for AMD GPUs\n"
|
||||
"Hardware encoding with vaapi does not work with AMDVLK and AMDGPU-PRO"
|
||||
msgstr ""
|
||||
"AMD GPU'lar için Mesa (radv) sürücüsünü kullanın\n"
|
||||
"vaapi ile donanım kodlaması AMDVLK ve AMDGPU-PRO ile çalışmaz"
|
||||
|
||||
#: dashboard/qml/Main.qml:162
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"No OpenVR compatibility detected, Steam games won't be able to load VR.\n"
|
||||
"Install xrizer or OpenComposite."
|
||||
msgstr ""
|
||||
"OpenVR uyumluluğu algılanmadı, Steam oyunları VR'ı yükleyemeyecek.\n"
|
||||
"xrizer veya OpenComposite kurun."
|
||||
|
||||
#: dashboard/qml/Main.qml:171
|
||||
#, kde-format
|
||||
msgid "Server failed to start"
|
||||
msgstr "Sunucu başlatılamadı"
|
||||
|
||||
#: dashboard/qml/Main.qml:177 dashboard/qml/TroubleshootPage.qml:77
|
||||
#, kde-format
|
||||
msgid "Open server logs"
|
||||
msgstr "Sunucu günlüklerini aç"
|
||||
|
||||
#: dashboard/qml/Main.qml:214
|
||||
#, kde-format
|
||||
msgctxt "whether the server is running, displayed in front of a checkbox"
|
||||
msgid "Running"
|
||||
msgstr "Çalışıyor"
|
||||
|
||||
#: dashboard/qml/Main.qml:229
|
||||
#, kde-format
|
||||
msgctxt "whether pairing is enabled, displayed in front of a checkbox"
|
||||
msgid "Pairing"
|
||||
msgstr "Eşleştirme"
|
||||
|
||||
#: dashboard/qml/Main.qml:242
|
||||
#, kde-format
|
||||
msgid "PIN: %1"
|
||||
msgstr "PIN: %1"
|
||||
|
||||
#: dashboard/qml/Main.qml:250 dashboard/qml/WizardPage.qml:373
|
||||
#, kde-format
|
||||
msgid "Connect by USB"
|
||||
msgstr "USB ile bağlan"
|
||||
|
||||
#: dashboard/qml/Main.qml:261
|
||||
#, kde-format
|
||||
msgid "No headset is connected or your headset is not in developer mode."
|
||||
msgstr "Gözlük bağlı değil veya gözlüğünüz geliştirici modunda değil."
|
||||
|
||||
#: dashboard/qml/Main.qml:269
|
||||
#, kde-format
|
||||
msgid "Disconnect"
|
||||
msgstr "Bağlantıyı kes"
|
||||
|
||||
#: dashboard/qml/Main.qml:286
|
||||
#, kde-format
|
||||
msgctxt "automatically started application"
|
||||
msgid "Application"
|
||||
msgstr "Uygulama"
|
||||
|
||||
#: dashboard/qml/Main.qml:307
|
||||
#, kde-format
|
||||
msgid "Steam information"
|
||||
msgstr "Steam bilgisi"
|
||||
|
||||
#: dashboard/qml/Main.qml:325
|
||||
#, kde-format
|
||||
msgid "Wizard"
|
||||
msgstr "Sihirbaz"
|
||||
|
||||
#: dashboard/qml/Main.qml:332
|
||||
#, kde-format
|
||||
msgid "Install the app"
|
||||
msgstr "Uygulamayı yükle"
|
||||
|
||||
#: dashboard/qml/Main.qml:361 dashboard/qml/SettingsPage.qml:14
|
||||
#, kde-format
|
||||
msgid "Settings"
|
||||
msgstr "Ayarlar"
|
||||
|
||||
#: dashboard/qml/Main.qml:368 dashboard/qml/TroubleshootPage.qml:10
|
||||
#, kde-format
|
||||
msgid "Troubleshoot"
|
||||
msgstr "Sorun giderme"
|
||||
|
||||
#: dashboard/qml/SelectGame.qml:14
|
||||
#, kde-format
|
||||
msgctxt "don't start an application automatically"
|
||||
msgid "None"
|
||||
msgstr "Yok"
|
||||
|
||||
#: dashboard/qml/SelectGame.qml:20
|
||||
#, kde-format
|
||||
msgctxt "choose a custom application to start"
|
||||
msgid "Custom"
|
||||
msgstr "Özel"
|
||||
|
||||
#: dashboard/qml/SelectGame.qml:76
|
||||
#, kde-format
|
||||
msgctxt "browse a file to choose the application to start"
|
||||
msgid "Browse"
|
||||
msgstr "Gözat"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:40
|
||||
#, kde-format
|
||||
msgctxt "automatic foveation setup"
|
||||
msgid "Manual foveation"
|
||||
msgstr "El ile foveasyon"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:46
|
||||
#, kde-format
|
||||
msgid "Foveation strength:"
|
||||
msgstr "Foveasyon gücü:"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:62
|
||||
#, kde-format
|
||||
msgid "%1 %"
|
||||
msgstr "%%%1"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:68
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"A stronger foveation makes the image sharper in the center than in the "
|
||||
"periphery and makes the decoding faster. This is better for fast paced "
|
||||
"games.\n"
|
||||
"\n"
|
||||
"A weaker foveation gives a uniform sharpness in the whole image.\n"
|
||||
"\n"
|
||||
"The recommended values are between 20% and 50% for headsets without eye "
|
||||
"tracking and between 50% and 70% for headsets with eye tracking."
|
||||
msgstr ""
|
||||
"Daha güçlü bir foveasyon, görüntüyü merkezde çevreye göre daha keskin hale "
|
||||
"getirir ve kod çözmeyi hızlandırır. Bu, hızlı tempolu oyunlar için daha "
|
||||
"iyidir.\n"
|
||||
"\n"
|
||||
"Daha zayıf bir foveasyon, tüm görüntüde tek tip bir keskinlik sağlar.\n"
|
||||
"\n"
|
||||
"Önerilen değerler, göz izleme olmayan başlıklar için 20% ile 50% arasında, "
|
||||
"göz izleme olan başlıklar için ise 50% ile 70% arasındadır."
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:74
|
||||
#, kde-format
|
||||
msgctxt "weaker foveation"
|
||||
msgid "Weaker"
|
||||
msgstr "Daha zayıf"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:85
|
||||
#, kde-format
|
||||
msgctxt "stronger foveation"
|
||||
msgid "Stronger"
|
||||
msgstr "Daha güçlü"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:95
|
||||
#, kde-format
|
||||
msgid "Bitrate:"
|
||||
msgstr "Bit hızı:"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:99 dashboard/qml/SettingsPage.qml:101
|
||||
#, kde-format
|
||||
msgctxt "bitrate"
|
||||
msgid "%1 Mbit/s"
|
||||
msgstr "Mbit/s %1"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:111
|
||||
#, kde-format
|
||||
msgid "Encoder layout:"
|
||||
msgstr "Kodlayıcı düzeni:"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:114
|
||||
#, kde-format
|
||||
msgctxt "encoder preset"
|
||||
msgid "Automatic"
|
||||
msgstr "Otomatik"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:118
|
||||
#, kde-format
|
||||
msgctxt "encoder preset"
|
||||
msgid "Manual"
|
||||
msgstr "El ile"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:122
|
||||
#, kde-format
|
||||
msgctxt "encoder preset"
|
||||
msgid "Default preset"
|
||||
msgstr "Varsayılan ön ayar"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:145
|
||||
#, kde-format
|
||||
msgctxt "encoder preset"
|
||||
msgid "Low latency preset"
|
||||
msgstr "Düşük gecikmeli ön ayar"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:170
|
||||
#, kde-format
|
||||
msgctxt "encoder preset"
|
||||
msgid "Safe preset"
|
||||
msgstr "Güvenli ön ayar"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:193
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"To add a new encoder, split an existing encoder by clicking near an edge.\n"
|
||||
"Drag an edge to resize or remove encoders."
|
||||
msgstr ""
|
||||
"Yeni bir kodlayıcı eklemek için, mevcut bir kodlayıcıyı bir kenarın yakınına "
|
||||
"tıklayarak bölün.\n"
|
||||
"Kodlayıcıları yeniden boyutlandırmak veya kaldırmak için bir kenarı "
|
||||
"sürükleyin."
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:220
|
||||
#, kde-format
|
||||
msgid "Encoder:"
|
||||
msgstr "Kodlayıcı:"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:229
|
||||
#, kde-format
|
||||
msgctxt "automatic encoder setup"
|
||||
msgid "Auto"
|
||||
msgstr "Otomatik"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:234
|
||||
#, kde-format
|
||||
msgid "nvenc (NVIDIA GPUs)"
|
||||
msgstr "nvenc (NVIDIA GPU'ları)"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:239
|
||||
#, kde-format
|
||||
msgid "vaapi (AMD and Intel GPUs)"
|
||||
msgstr "vaapi (AMD ve Intel GPU'ları)"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:244
|
||||
#, kde-format
|
||||
msgid "x264 (software encoding)"
|
||||
msgstr "x264 (yazılım kodlaması)"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:249
|
||||
#, kde-format
|
||||
msgid "Vulkan (Vulkan Video)"
|
||||
msgstr "Vulkan (Vulkan Video)"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:272
|
||||
#, kde-format
|
||||
msgid "\"Auto\" will use hardware acceleration if it is available"
|
||||
msgstr "\"Otomatik\", mevcutsa donanım hızlandırmayı kullanacaktır"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:278
|
||||
#, kde-format
|
||||
msgid "Codec:"
|
||||
msgstr "Codec:"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:285
|
||||
#, kde-format
|
||||
msgctxt "automatic codec setup"
|
||||
msgid "Auto"
|
||||
msgstr "Otomatik"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:289
|
||||
#, kde-format
|
||||
msgid "H.264"
|
||||
msgstr "H.264"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:293
|
||||
#, kde-format
|
||||
msgid "H.265"
|
||||
msgstr "H.265"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:297
|
||||
#, kde-format
|
||||
msgid "AV1"
|
||||
msgstr "AV1"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:319
|
||||
#, kde-format
|
||||
msgid "Advanced options"
|
||||
msgstr "Gelişmiş seçenekler"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:325
|
||||
#, kde-format
|
||||
msgid "Enable debug window"
|
||||
msgstr "Hata ayıklama penceresini etkinleştir"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:332
|
||||
#, kde-format
|
||||
msgid "Enable SteamVR tracked devices support"
|
||||
msgstr "SteamVR izlenen aygıt desteğini etkinleştir"
|
||||
|
||||
#: 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 ""
|
||||
"Deniz lighthouse tabanlı denetleyicilerin ve izleyicilerin kullanılmasına "
|
||||
"izin verir.\n"
|
||||
"SteamVR'nin kurulu olmasını gerektirir.\n"
|
||||
"Aygıtlar WiVRn'e bağlanmadan önce açık olmalıdır.\n"
|
||||
"Kalibrasyon için motoc gibi harici bir araç gereklidir."
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:343
|
||||
#, kde-format
|
||||
msgid "Custom adb location"
|
||||
msgstr "Özel adb konumu"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:354
|
||||
#, kde-format
|
||||
msgid "Adb location:"
|
||||
msgstr "Adb konumu:"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:363
|
||||
#, kde-format
|
||||
msgctxt "browse a file to choose the adb binary"
|
||||
msgid "Browse"
|
||||
msgstr "Gözat"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:373
|
||||
#, kde-format
|
||||
msgid "Default"
|
||||
msgstr "Varsayılan"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:387
|
||||
#, kde-format
|
||||
msgctxt "set a custom OpenVR compatibility library"
|
||||
msgid "Custom"
|
||||
msgstr "Özel"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:392
|
||||
#, kde-format
|
||||
msgid "Disabled"
|
||||
msgstr "Devre dışı"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:400
|
||||
#, kde-format
|
||||
msgid "OpenVR compatibility library:"
|
||||
msgstr "OpenVR uyumluluk kitaplığı:"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:426
|
||||
#, kde-format
|
||||
msgid "Library path, excluding bin/linux64/vrclient.so"
|
||||
msgstr "Yol: bin/linux64/vrclient.so hariç, kitaplık yolu"
|
||||
|
||||
#: dashboard/qml/SteamLaunchOptions.qml:8
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"For Steam games, right click on the game in Steam, go in Properties > "
|
||||
"General and paste this in \"Launch options\":"
|
||||
msgstr ""
|
||||
"Steam oyunları için, Steam'de oyuna sağ tıklayın, Özellikler > Genel'e gidin "
|
||||
"ve bunu \"Başlatma seçenekleri\" bölümüne yapıştırın:"
|
||||
|
||||
#: dashboard/qml/SteamLaunchOptions.qml:20
|
||||
#, kde-format
|
||||
msgid "Paste this in the Steam launch options for the app you want to start"
|
||||
msgstr ""
|
||||
"Başlatmak istediğiniz uygulama için bunu Steam başlatma seçeneklerine "
|
||||
"yapıştırın"
|
||||
|
||||
#: dashboard/qml/SteamLaunchOptions.qml:26
|
||||
#, kde-format
|
||||
msgctxt "copy text to the clipboard"
|
||||
msgid "Copy"
|
||||
msgstr "Kopyala"
|
||||
|
||||
#: dashboard/qml/SteamLaunchOptions.qml:30
|
||||
#, kde-format
|
||||
msgid "Copied Steam launch command"
|
||||
msgstr "Steam başlatma komutu kopyalandı"
|
||||
|
||||
#: dashboard/qml/TroubleshootPage.qml:20
|
||||
#, kde-format
|
||||
msgid "I cannot find the WiVRn app on my headset"
|
||||
msgstr "Gözlüğümde WiVRn uygulamasını bulamıyorum"
|
||||
|
||||
#: 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 ""
|
||||
"Meta gözlüğüne USB üzerinden WiVRn'i kurduysanız, uygulama \"bilinmeyen "
|
||||
"kaynaklar\" bölümündedir."
|
||||
|
||||
#: dashboard/qml/TroubleshootPage.qml:24
|
||||
#, kde-format
|
||||
msgid "I cannot see my computer in the WiVRn app"
|
||||
msgstr "WiVRn uygulamasında bilgisayarımı göremiyorum"
|
||||
|
||||
#: 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 "
|
||||
"(UDP) and 9757 (TCP and UDP) are open in your firewall."
|
||||
msgstr ""
|
||||
"Sunucu görünür değilse veya bağlantı başarısız oluyorsa, güvenlik "
|
||||
"duvarınızda 5353 (UDP) ve 9757 (TCP ve UDP) bağlantı noktalarının açık "
|
||||
"olduğundan emin olun."
|
||||
|
||||
#: dashboard/qml/TroubleshootPage.qml:28
|
||||
#, kde-format
|
||||
msgid "I have an \"Incompatible WiVRn server\" error on my headset"
|
||||
msgstr "Gözlüğümde \"Uyumsuz WiVRn sunucusu\" hatası alıyorum"
|
||||
|
||||
#: dashboard/qml/TroubleshootPage.qml:29
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"<p>The version of the headset app and the server on your computer must match."
|
||||
"</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>Gözlük uygulamasının ve bilgisayarınızdaki sunucunun sürümü eşleşmelidir."
|
||||
"</p><ul><li>Gözlük uygulaması sürümü \"Hakkında\" sayfasındadır</"
|
||||
"li><li>Sunucu sürümü <b>%1</b>'dir</li></ul>"
|
||||
|
||||
#: dashboard/qml/TroubleshootPage.qml:32
|
||||
#, kde-format
|
||||
msgid "I have a \"Pairing is disabled\" error"
|
||||
msgstr "Eşleştirme devre dışı\" hatası alıyorum"
|
||||
|
||||
#: dashboard/qml/TroubleshootPage.qml:33
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"If you have reinstalled the server or the client or if you want to connect "
|
||||
"another headset, you must enable pairing before connecting."
|
||||
msgstr ""
|
||||
"Sunucuyu veya istemciyi yeniden yüklediyseniz veya başka bir gözlük bağlamak "
|
||||
"istiyorsanız, bağlanmadan önce eşleştirmeyi etkinleştirmeniz gerekir."
|
||||
|
||||
#: dashboard/qml/TroubleshootPage.qml:33
|
||||
#, kde-format
|
||||
msgid "Pairing is currently enabled with PIN %1."
|
||||
msgstr "Eşleştirme şu anda PIN %1 ile etkin."
|
||||
|
||||
#: dashboard/qml/TroubleshootPage.qml:33
|
||||
#, kde-format
|
||||
msgid "Pairing is currently disabled."
|
||||
msgstr "Eşleştirme şu anda devre dışı."
|
||||
|
||||
#: dashboard/qml/TroubleshootPage.qml:49
|
||||
#, kde-format
|
||||
msgid "I have no sound on my headset"
|
||||
msgstr "Gözlüğümde ses yok"
|
||||
|
||||
#: 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 "
|
||||
"device for applications to use it."
|
||||
msgstr ""
|
||||
"Gözlük bağlıyken, uygulamaların kullanması için varsayılan ses çıkış aygıtı "
|
||||
"olarak \"WiVRn\" seçin."
|
||||
|
||||
#: dashboard/qml/TroubleshootPage.qml:67
|
||||
#, kde-format
|
||||
msgid "Report an issue"
|
||||
msgstr "Bir sorun bildir"
|
||||
|
||||
#: dashboard/qml/TroubleshootPage.qml:72
|
||||
#, kde-format
|
||||
msgid "Ask on Discord"
|
||||
msgstr "Discord'da sor"
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:14
|
||||
#, kde-format
|
||||
msgid "Getting started"
|
||||
msgstr "Başlangıç"
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:29 dashboard/qml/WizardPage.qml:78
|
||||
#: 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 "Geri"
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:64
|
||||
#, kde-format
|
||||
msgid "Welcome to WiVRn"
|
||||
msgstr "WiVRn'e hoş geldiniz"
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:69
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"This wizard will help you set up WiVRn on your headset and connect it to "
|
||||
"your computer."
|
||||
msgstr ""
|
||||
"Bu sihirbaz, WiVRn'i gözlüğünüze kurmanıza ve bilgisayarınıza bağlamanıza "
|
||||
"yardımcı olacaktır."
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:83 dashboard/qml/WizardPage.qml:258
|
||||
#: dashboard/qml/WizardPage.qml:321 dashboard/qml/WizardPage.qml:452
|
||||
#: dashboard/qml/WizardPage.qml:489
|
||||
#, kde-format
|
||||
msgid "Next"
|
||||
msgstr "İleri"
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:112
|
||||
#, kde-format
|
||||
msgid "How to enable developer mode"
|
||||
msgstr "Geliştirici modu nasıl etkinleştirilir"
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:119
|
||||
#, kde-format
|
||||
msgid "Follow the manufacturer's instructions below:"
|
||||
msgstr "Aşağıdaki üreticinin talimatlarını izleyin:"
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:142
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"In order to use WiVRn, you will have to install the client app on your "
|
||||
"headset.\n"
|
||||
"You can either install it from the Meta store or directly over USB."
|
||||
msgstr ""
|
||||
"WiVRn'i kullanmak için, istemci uygulamasını gözlüğünüze kurmanız gerekir.\n"
|
||||
"Uygulamayı Meta mağazasından veya doğrudan USB üzerinden kurabilirsiniz."
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:148
|
||||
#, kde-format
|
||||
msgid "Install from the Meta store"
|
||||
msgstr "Meta mağazasından yükle"
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:152
|
||||
#, kde-format
|
||||
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 ""
|
||||
"Quest 2, 3, 3S ve Pro için uygulamayı <a href=\"https://www.meta.com/"
|
||||
"experiences/7959676140827574/\">Meta mağazasından</a> edinebilirsiniz."
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:164
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"A newer release is available: %1 → %2, the client app on the Meta store may "
|
||||
"not be compatible."
|
||||
msgstr ""
|
||||
"Daha yeni bir sürüm mevcut: %1 → %2, Meta mağazasındaki istemci uygulaması "
|
||||
"uyumlu olmayabilir."
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:171
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"This is a nightly build, the client app on the Meta store may not be "
|
||||
"compatible."
|
||||
msgstr ""
|
||||
"Bu, gece derlemesidir, Meta mağazasındaki istemci uygulaması uyumlu "
|
||||
"olmayabilir."
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:181
|
||||
#, kde-format
|
||||
msgctxt "displayed between 'meta store' and 'install over USB' in the wizard"
|
||||
msgid "Or"
|
||||
msgstr "Veya"
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:187
|
||||
#, kde-format
|
||||
msgid "Install over USB"
|
||||
msgstr "USB üzerinden yükle"
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:211
|
||||
#, kde-format
|
||||
msgid "ADB is not installed"
|
||||
msgstr "ADB yüklü değil"
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:219
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"<p>No headset detected. Make sure that:\n"
|
||||
"<ul><li>The ADB udev rules are installed</li><li>The headset is in <a "
|
||||
"href=\"#\">developer mode</a></li></ul></p>"
|
||||
msgstr ""
|
||||
"<p>Gözlük algılanmadı. Şunlardan emin olun:\n"
|
||||
"<ul><li>ADB udev kuralları yüklü</li><li>Gözlük <a href=\"#\">geliştirici "
|
||||
"modunda</a></li></ul></p>"
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:280
|
||||
#, kde-format
|
||||
msgid "Select the application you want to start"
|
||||
msgstr "Başlatmak istediğiniz uygulamayı seçin"
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:286
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"The application you choose will be started automatically when you connect "
|
||||
"your headset."
|
||||
msgstr ""
|
||||
"Seçtiğiniz uygulama, gözlüğünüzü bağladığınızda otomatik olarak "
|
||||
"başlayacaktır."
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:300
|
||||
#, kde-format
|
||||
msgid "Important information"
|
||||
msgstr "Önemli bilgi"
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:307
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"WiVRn entirely replaces SteamVR, you should not start SteamVR while WiVRn is "
|
||||
"running."
|
||||
msgstr ""
|
||||
"WiVRn, SteamVR'nin yerini tamamen alır, WiVRn çalışırken SteamVR'yi "
|
||||
"başlatmamalısınız."
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:358
|
||||
#, kde-format
|
||||
msgid "Start the WiVRn app on your headset"
|
||||
msgstr "Gözlüğünüzde WiVRn uygulamasını başlatın"
|
||||
|
||||
#: 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 ""
|
||||
"WiFi üzerinden bağlanmak için, gözlüğünüzde WiVRn uygulamasını başlatın, "
|
||||
"\"%1\"e bağlanın ve \"%2\" PIN'ini girin."
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:370
|
||||
#, kde-format
|
||||
msgid "To connect over USB, click on \"Connect by USB\"."
|
||||
msgstr "USB üzerinden bağlanmak için \"USB ile bağlan\"a tıklayın."
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:383
|
||||
#, kde-format
|
||||
msgid "Troubleshooting"
|
||||
msgstr "Sorun giderme"
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:405
|
||||
#, kde-format
|
||||
msgid "Skip"
|
||||
msgstr "Atla"
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:425
|
||||
#, kde-format
|
||||
msgid "Connection established"
|
||||
msgstr "Bağlantı kuruldu"
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:430
|
||||
#, kde-format
|
||||
msgid "Your headset is now connected."
|
||||
msgstr "Gözlüğünüz şimdi bağlı."
|
||||
|
||||
#: 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 "
|
||||
"before connecting."
|
||||
msgstr ""
|
||||
"Başka bir gözlük bağlamak için, bağlanmadan önce kontrol panelinde "
|
||||
"eşleştirmenin etkinleştirildiğinden emin olun."
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:457 dashboard/qml/WizardPage.qml:494
|
||||
#, kde-format
|
||||
msgid "Finish"
|
||||
msgstr "Bitir"
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:472
|
||||
#, kde-format
|
||||
msgid "Finished"
|
||||
msgstr "Bitti"
|
||||
|
||||
#: dashboard/wivrn_server.cpp:584
|
||||
#, kde-format
|
||||
msgid "xrizer"
|
||||
msgstr "xrizer"
|
||||
|
||||
#: dashboard/wivrn_server.cpp:585
|
||||
#, kde-format
|
||||
msgid "Open Composite"
|
||||
msgstr "Open Composite"
|
||||
@@ -1,612 +0,0 @@
|
||||
# SOME DESCRIPTIVE TITLE.
|
||||
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
|
||||
# This file is distributed under the same license as the WiVRn package.
|
||||
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
|
||||
#
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WiVRn\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2025-08-04 16:49+0300\n"
|
||||
"PO-Revision-Date: 2025-08-08 16:56+0300\n"
|
||||
"Last-Translator: Hüseyin Fahri Uzun <fahri@uzun.pro>\n"
|
||||
"Language-Team: \n"
|
||||
"Language: tr\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Generator: Poedit 3.6\n"
|
||||
|
||||
#: client/scene.cpp:74
|
||||
msgid "No supported swapchain format"
|
||||
msgstr "Desteklenen swapchain formatı yok"
|
||||
|
||||
#: client/scenes/lobby.cpp:185
|
||||
msgid "Incompatible WiVRn server: no protocol field in TXT"
|
||||
msgstr "Uyumsuz WiVRn sunucusu: TXT dosyasında protokol alanı yok"
|
||||
|
||||
#: client/scenes/lobby.cpp:188
|
||||
#, c++-format
|
||||
msgid "Incompatible WiVRn server protocol (client: {}, server: {})"
|
||||
msgstr "Uyumsuz WiVRn sunucu protokolü (uçbirim: {}, sunucu: {})"
|
||||
|
||||
#: client/scenes/lobby.cpp:203
|
||||
#, c++-format
|
||||
msgid "Cannot resolve hostname: {}"
|
||||
msgstr "Ana bilgisayar adı çözümlenemiyor: {}"
|
||||
|
||||
#: client/scenes/lobby.cpp:290 client/scenes/lobby.cpp:296
|
||||
#, c++-format
|
||||
msgid "Cannot connect to {} ({}): {}"
|
||||
msgstr "Bağlanılamıyor {} ({}): {}"
|
||||
|
||||
#: client/scenes/lobby.cpp:379
|
||||
msgid "Waiting for connection"
|
||||
msgstr "Bağlantı için bekleniyor"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:229
|
||||
msgctxt "openxr_post_processing"
|
||||
msgid "Normal"
|
||||
msgstr "Normal"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:232
|
||||
msgctxt "openxr_post_processing"
|
||||
msgid "Quality"
|
||||
msgstr "Kalite"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:234
|
||||
msgctxt "openxr_post_processing"
|
||||
msgid "Disabled"
|
||||
msgstr "Devre dışı"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:242 client/scenes/lobby_gui.cpp:398
|
||||
#: client/scenes/stream_gui.cpp:812
|
||||
msgid "Disconnect"
|
||||
msgstr "Bağlantıyı Kes"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:262 client/scenes/stream_gui.cpp:808
|
||||
msgid "Close"
|
||||
msgstr "Kapat"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:268
|
||||
msgid "Connection"
|
||||
msgstr "Bağlantı"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:270
|
||||
#, c++-format
|
||||
msgid "Connection to {}"
|
||||
msgstr "{} Bağlan"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:300
|
||||
msgid "PIN"
|
||||
msgstr "PIN"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:322
|
||||
msgid "Input the PIN displayed on the dashboard"
|
||||
msgstr "Gösterilen PIN'i gösterge paneline giriniz"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:393
|
||||
msgid "Connected to WiVRn server"
|
||||
msgstr "WiVRn sunucusuna bağlanıldı"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:395
|
||||
#, c++-format
|
||||
msgid "Connected to {}"
|
||||
msgstr "{} bağlanıldı"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:405
|
||||
msgid "Start an application on the server to start streaming."
|
||||
msgstr "Sunucuda bir uygulama başlatarak akışa başlayın."
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:414
|
||||
msgid "Start an application on your computer or select one to start streaming."
|
||||
msgstr ""
|
||||
"Bilgisayarınızda bir uygulama başlatın veya akış başlatmak için bir uygulama "
|
||||
"seçin."
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:416
|
||||
#, c++-format
|
||||
msgid "Start an application on {} or select one to start streaming."
|
||||
msgstr ""
|
||||
"{} üzerinde bir uygulama başlatın veya akış başlatmak için bir tane seçin."
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:522
|
||||
msgid "Name"
|
||||
msgstr "Ad"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:533
|
||||
msgid "Address"
|
||||
msgstr "Adres"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:542
|
||||
msgid "Port"
|
||||
msgstr "Port"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:550
|
||||
msgid "TCP only"
|
||||
msgstr "Sadece TCP"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:557
|
||||
msgid "Cancel"
|
||||
msgstr "İptal"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:571
|
||||
msgid "Save"
|
||||
msgstr "Kaydet"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:624
|
||||
msgid ""
|
||||
"Start a WiVRn server on your\n"
|
||||
"local network"
|
||||
msgstr ""
|
||||
"Yerel ağınızda\n"
|
||||
"bir WiVRn sunucusu başlatın."
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:656
|
||||
msgid "Autoconnect"
|
||||
msgstr "Oto Bağlan"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:682
|
||||
msgid "Connect"
|
||||
msgstr "Bağlan"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:692 client/wivrn_client.cpp:186
|
||||
msgid "Incompatible server version"
|
||||
msgstr "Uyumsuz sunucu versiyonu"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:694
|
||||
msgid "Server not available"
|
||||
msgstr "Sunucu mevcut değil"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:780
|
||||
msgid "Refresh rate"
|
||||
msgstr "Tazeleme oranı"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:780 client/scenes/lobby_gui.cpp:782
|
||||
msgctxt "automatic refresh rate"
|
||||
msgid "Automatic"
|
||||
msgstr "Otomatik"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:789
|
||||
msgid ""
|
||||
"Select refresh rate based on measured application performance.\n"
|
||||
"May cause flicker when a change happens."
|
||||
msgstr ""
|
||||
"Ölçülen uygulama performansına göre yenileme hızını seçin.\n"
|
||||
"Değişiklik olduğunda titremeye neden olabilir."
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:806
|
||||
msgid "Minimum refresh rate"
|
||||
msgstr "Minimum tazeleme oranı"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:829
|
||||
msgid "Resolution scale"
|
||||
msgstr "Çözünürlük ölçeği"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:833 client/scenes/lobby_gui.cpp:1072
|
||||
#, c-format, c++-format
|
||||
msgid "%d%% - {}x{} per eye"
|
||||
msgstr "göz başına %d%% - {}x{}"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:844 client/scenes/lobby_gui.cpp:1083
|
||||
#, c++-format
|
||||
msgid "Resolution larger than {}x{} may not be supported by the headset"
|
||||
msgstr ""
|
||||
"{}x{} 'den daha büyük çözünürlükler gözlük tarafından desteklenmeyebilir."
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:850
|
||||
msgid "Enable microphone"
|
||||
msgstr "Mikrofonu aktif et"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:859
|
||||
msgid "Unprocessed Microphone Audio"
|
||||
msgstr "İşlenmemiş Mikrofon Sesi"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:865
|
||||
msgid "Force disable audio filters, such as noise cancellation"
|
||||
msgstr "Gürültü engelleme gibi ses filtrelerini zorla devre dışı bırak"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:872
|
||||
msgid "Enable hand tracking"
|
||||
msgstr "El izlemeyi etkinleştir"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:878 client/scenes/lobby_gui.cpp:890
|
||||
#: client/scenes/lobby_gui.cpp:902 client/scenes/lobby_gui.cpp:918
|
||||
#: client/scenes/lobby_gui.cpp:968
|
||||
msgid "This feature is not supported by your headset"
|
||||
msgstr "Bu özellik gözlüğünüz tarafından desteklenmemektedir."
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:884
|
||||
msgid "Enable eye tracking"
|
||||
msgstr "Göz takibi aktif et"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:896
|
||||
msgid "Enable face tracking"
|
||||
msgstr "Yüz takibi aktif et"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:909
|
||||
msgid "Enable body tracking"
|
||||
msgstr "Vücut takibi aktif et"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:925
|
||||
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 ""
|
||||
"Quest hareket izleme ayarlarında 'El ve vücut izleme' özelliğinin "
|
||||
"etkinleştirilmesi gerekir,\n"
|
||||
"aksi takdirde vücut verileri kontrol cihazı ve başlık konumlarından tahmin "
|
||||
"edilecektir."
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:938
|
||||
msgid "Enable lower body tracking"
|
||||
msgstr "Alt vücut izlemeyi etkinleştir"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:944
|
||||
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 ""
|
||||
"Generative Legs kullanarak alt vücut eklem pozisyonlarını tahmin edin\n"
|
||||
"Quest hareket izleme ayarlarında 'El ve vücut izleme' özelliğinin "
|
||||
"etkinleştirilmesi gerekir"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:947
|
||||
msgid "Enable hip tracking"
|
||||
msgstr "Kalça izlemeyi etkinleştir"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:953
|
||||
msgid ""
|
||||
"Only takes affect with lower body tracking enabled\n"
|
||||
"May be desired when using another source of hip tracking"
|
||||
msgstr ""
|
||||
"Sadece alt vücut izleme etkinleştirildiğinde geçerlidir\n"
|
||||
"Başka bir kalça izleme kaynağı kullanıldığında tercih edilebilir"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:961
|
||||
msgid "Enable video passthrough in lobby"
|
||||
msgstr "Lobide video geçişini etkinleştir"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:982 client/scenes/stream_gui.cpp:434
|
||||
msgid "OpenXR post-processing"
|
||||
msgstr "OpenXR işlem sonrası"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:986 client/scenes/stream_gui.cpp:438
|
||||
msgid "Supersampling"
|
||||
msgstr "Süper örnekleme"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1006 client/scenes/stream_gui.cpp:459
|
||||
msgid ""
|
||||
"Reduce flicker for high contrast edges.\n"
|
||||
"Useful when the input resolution is high compared to the headset display"
|
||||
msgstr ""
|
||||
"Yüksek kontrastlı kenarlarda titremeyi azaltın.\n"
|
||||
"Giriş çözünürlüğü kulaklık ekranına kıyasla yüksek olduğunda kullanışlıdır."
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1011 client/scenes/stream_gui.cpp:464
|
||||
msgid "Sharpening"
|
||||
msgstr "Keskinleştirme"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1031 client/scenes/stream_gui.cpp:485
|
||||
msgid ""
|
||||
"Improve clarity of high contrast edges and counteract blur.\n"
|
||||
"Useful when the input resolution is low compared to the headset display"
|
||||
msgstr ""
|
||||
"Yüksek kontrastlı kenarların netliğini artırın ve bulanıklığı giderin.\n"
|
||||
"Giriş çözünürlüğü kulaklık ekranına kıyasla düşük olduğunda kullanışlıdır."
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1040
|
||||
msgid "Enable Snapdragon Game Super Resolution"
|
||||
msgstr "Snapdragon Oyun Süper Çözünürlüğü'nü etkinleştirin"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1048
|
||||
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 ""
|
||||
"Bu kulaklıkta, bu ayar yukarıdaki yerel Keskinleştirme ayarı ile tamamen "
|
||||
"değiştirilmiştir.\n"
|
||||
"Ne yaptığınızı biliyorsanız etkinleştirin."
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1050
|
||||
msgid ""
|
||||
"Client-side upscaling and sharpening, adds a performance cost on the headset"
|
||||
msgstr ""
|
||||
"İstemci tarafında yükseltme ve keskinleştirme, kulaklıkta performans "
|
||||
"düşüşüne neden olur."
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1068
|
||||
msgid "Upscaling factor"
|
||||
msgstr "Yükseltme faktörü"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1087
|
||||
msgid "Use edge direction"
|
||||
msgstr "Kenar yönünü kullan"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1093
|
||||
msgid "Adds an additional performance cost"
|
||||
msgstr "Ek bir performans düşüşü ekler"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1098
|
||||
msgid "Edge threshold"
|
||||
msgstr "Kenar eşiği"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1105 client/scenes/lobby_gui.cpp:1114
|
||||
#, c++-format
|
||||
msgid "Recommended: {:.1f}"
|
||||
msgstr "Önerilen: {:.1f}"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1108
|
||||
msgid "Edge sharpness"
|
||||
msgstr "Kenar keskinliği"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1210 client/scenes/lobby_gui.cpp:1218
|
||||
#: client/scenes/stream_gui.cpp:222 client/scenes/stream_gui.cpp:418
|
||||
msgid "CPU time"
|
||||
msgstr "CPU zamanı"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1214
|
||||
msgid "CPU time [ms]"
|
||||
msgstr "CPU zamanı [ms]"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1224 client/scenes/lobby_gui.cpp:1232
|
||||
#: client/scenes/stream_gui.cpp:224 client/scenes/stream_gui.cpp:419
|
||||
msgid "GPU time"
|
||||
msgstr "GPU zamanı"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1228
|
||||
msgid "GPU time [ms]"
|
||||
msgstr "GPU zamanı [ms]"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1271
|
||||
msgid "Enable the microphone?"
|
||||
msgstr "Mikrofonu aktif et?"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1276
|
||||
msgid "Enable eye tracking?"
|
||||
msgstr "Göz takibi aktif et?"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1281
|
||||
msgid "Enable face tracking?"
|
||||
msgstr "Yüz takibi aktif et?"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1286
|
||||
msgid "Enable body tracking?"
|
||||
msgstr "Vücut takibi aktif et?"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1294
|
||||
msgid "Welcome to WiVRn"
|
||||
msgstr "WiVRn'e hoş geldiniz"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1318
|
||||
msgid "Yes"
|
||||
msgstr "Evet"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1325
|
||||
msgid "No"
|
||||
msgstr "Hayır"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1344 client/scenes/lobby_gui.cpp:1983
|
||||
msgid "Licenses"
|
||||
msgstr "Lisanslar"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1658
|
||||
msgid "Microphone is enabled"
|
||||
msgstr "Mikrofon aktif"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1659
|
||||
msgid "Microphone is disabled"
|
||||
msgstr "Mikrofon devre dışı"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1668
|
||||
msgid "Hand tracking is enabled"
|
||||
msgstr "El takibi aktif"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1669
|
||||
msgid "Hand tracking is disabled"
|
||||
msgstr "El takibi devre dışı"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1678
|
||||
msgid "Eye tracking is enabled"
|
||||
msgstr "Göz takibi aktif"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1679
|
||||
msgid "Eye tracking is disabled"
|
||||
msgstr "Göz takibi devre dışı"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1692
|
||||
msgid "Face tracking is enabled"
|
||||
msgstr "Yüz takibi aktif"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1693
|
||||
msgid "Face tracking is disabled"
|
||||
msgstr "Yüz takibi devre dışı"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1703
|
||||
msgid "Body tracking is enabled"
|
||||
msgstr "Vücut takibi aktif"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1704
|
||||
msgid "Body tracking is disabled"
|
||||
msgstr "Vücut takibi devre dışı"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1720
|
||||
msgid "Add server"
|
||||
msgstr "Sunucu ekle"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1965
|
||||
msgid "Server list"
|
||||
msgstr "Sunucu listesi"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1968 client/scenes/stream_gui.cpp:796
|
||||
msgid "Settings"
|
||||
msgstr "Ayarlar"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1971
|
||||
msgid "Post-processing"
|
||||
msgstr "İşlem sonrası"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1975
|
||||
msgid "Debug"
|
||||
msgstr "Hata ayıklama"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1980
|
||||
msgid "About"
|
||||
msgstr "Hakkında"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1986
|
||||
msgid "Exit"
|
||||
msgstr "Çıkış"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:2003
|
||||
msgid ""
|
||||
"Press the grip button or put your palm up\n"
|
||||
"to move the main window"
|
||||
msgstr ""
|
||||
"Ana pencereyi hareket ettirmek için tutma düğmesine basın\n"
|
||||
"veya avucunuzu yukarı kaldırın"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:2005
|
||||
msgid "Press the grip button to move the main window"
|
||||
msgstr "Ana pencereyi hareket ettirmek için tutma düğmesine basın"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:224
|
||||
msgid "Reproject"
|
||||
msgstr "Yeniden yansıt"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:225
|
||||
msgid "Blit"
|
||||
msgstr "Blit"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:227
|
||||
msgid "Network"
|
||||
msgstr "Ağ"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:227 client/scenes/stream_gui.cpp:416
|
||||
msgid "Download"
|
||||
msgstr "İndir"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:228 client/scenes/stream_gui.cpp:417
|
||||
msgid "Upload"
|
||||
msgstr "Gönder"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:297
|
||||
#, c++-format
|
||||
msgid "Decoder {}"
|
||||
msgstr "Decoder {}"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:309
|
||||
msgid "Timings [ms]"
|
||||
msgstr "Zaman [ms]"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:369
|
||||
msgid "Encode"
|
||||
msgstr "Encode"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:370
|
||||
msgid "Send"
|
||||
msgstr "Gönder"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:371
|
||||
msgid "Receive"
|
||||
msgstr "Al"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:372
|
||||
msgid "Decode"
|
||||
msgstr "Decode"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:373
|
||||
msgid "Blitted"
|
||||
msgstr "Blitted"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:374
|
||||
msgid "Displayed"
|
||||
msgstr "Görüntülenen"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:375
|
||||
msgid "Predicted"
|
||||
msgstr "Tahmin edilen"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:393
|
||||
#, c++-format
|
||||
msgid "Estimated motion to photons latency: {}ms"
|
||||
msgstr "Fotonlara tahmini hareket gecikmesi: {}ms"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:396
|
||||
msgid "Press the grip button to move the window"
|
||||
msgstr "Pencereyi hareket ettirmek için tutma düğmesine basın"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:398 client/scenes/stream_gui.cpp:750
|
||||
msgid "Press both thumbsticks to display the WiVRn window"
|
||||
msgstr ""
|
||||
"WiVRn penceresini görüntülemek için her iki başparmak çubuklarınıda basın"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:420
|
||||
msgid "Motion to photon latency"
|
||||
msgstr "Hareketin fotona ulaşma gecikmesi"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:492
|
||||
msgid "Foveation center override"
|
||||
msgstr "Foveasyon merkezi geçersiz kılma"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:495
|
||||
msgid "Enable"
|
||||
msgstr "Aktif et"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:503 client/scenes/stream_gui.cpp:550
|
||||
#, c++-format
|
||||
msgid "Height {:.1f} deg"
|
||||
msgstr "Boy {:.1f} deg"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:504 client/scenes/stream_gui.cpp:551
|
||||
#, c++-format
|
||||
msgid "Distance {:.2f} m"
|
||||
msgstr "Uzaklık {:.2f} m"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:505
|
||||
msgid "Default"
|
||||
msgstr "Varsayılan"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:516
|
||||
msgid "Change"
|
||||
msgstr "Değiştir"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:548
|
||||
msgid "Use the thumbsticks to move the foveation center"
|
||||
msgstr "Başparmak çubuklarını kullanarak odak merkezini hareket ettirin"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:549
|
||||
msgid "Press A to save or B to cancel"
|
||||
msgstr "Kaydetmek için A tuşuna, iptal etmek için B tuşuna basın"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:793
|
||||
msgid "Stats"
|
||||
msgstr "İstatistikler"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:802
|
||||
msgid "Statistics overlay"
|
||||
msgstr "İstatistik katmanı"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:805
|
||||
msgid "Compact view"
|
||||
msgstr "Kompakt görünüm"
|
||||
|
||||
#: client/wivrn_client.cpp:98 client/wivrn_client.cpp:202
|
||||
msgid "Timeout"
|
||||
msgstr "Zaman aşımı"
|
||||
|
||||
#: client/wivrn_client.cpp:149
|
||||
msgid "Incorrect PIN"
|
||||
msgstr "Geçersiz PIN"
|
||||
|
||||
#: client/wivrn_client.cpp:153
|
||||
msgid "Unable to check PIN"
|
||||
msgstr "PIN kontrol edilemiyor"
|
||||
|
||||
#: client/wivrn_client.cpp:182
|
||||
msgid "Pairing is disabled on server"
|
||||
msgstr "Bu sunucuda eşleşme devre dışı"
|
||||
@@ -9,11 +9,6 @@ if [ -d ".git" ] ; then
|
||||
exec git am --committer-date-is-author-date "$@"
|
||||
fi
|
||||
|
||||
if ! type patch 2> /dev/null ; then
|
||||
echo "patch command not found" >&1
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# There is no reliable way to apply a patch and succeed if it was
|
||||
# already applied. Just ignore errors...
|
||||
for f in "$@" ; do
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
From 483ce192460569020fa57522ee2bea99198dac2e Mon Sep 17 00:00:00 2001
|
||||
From 18e184e504d9f55dbba3f02c87f96410b2ce04ab Mon Sep 17 00:00:00 2001
|
||||
From: Patrick Nicolas <patricknicolas@laposte.net>
|
||||
Date: Tue, 22 Oct 2024 15:23:19 +0200
|
||||
Subject: [PATCH 01/13] c/multi: early wake of compositor
|
||||
Subject: [PATCH 01/10] c/multi: early wake of compositor
|
||||
|
||||
---
|
||||
.../compositor/multi/comp_multi_compositor.c | 14 +++++++++
|
||||
@@ -10,10 +10,10 @@ Subject: [PATCH 01/13] c/multi: early wake of compositor
|
||||
3 files changed, 41 insertions(+), 7 deletions(-)
|
||||
|
||||
diff --git a/src/xrt/compositor/multi/comp_multi_compositor.c b/src/xrt/compositor/multi/comp_multi_compositor.c
|
||||
index 94cea110e..88347a092 100644
|
||||
index 553565db4..789a2d042 100644
|
||||
--- a/src/xrt/compositor/multi/comp_multi_compositor.c
|
||||
+++ b/src/xrt/compositor/multi/comp_multi_compositor.c
|
||||
@@ -236,7 +236,21 @@ wait_for_scheduled_free(struct multi_compositor *mc)
|
||||
@@ -232,7 +232,21 @@ wait_for_scheduled_free(struct multi_compositor *mc)
|
||||
os_mutex_lock(&mc->slot_lock);
|
||||
slot_move_and_clear_locked(mc, &mc->scheduled, &mc->progress);
|
||||
os_mutex_unlock(&mc->slot_lock);
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
From 642f328ff08872289082f591b393aa72cdfffe0a Mon Sep 17 00:00:00 2001
|
||||
From b31b5aa4e7e890ae079ae2953a1ce3fc2e47b954 Mon Sep 17 00:00:00 2001
|
||||
From: Patrick Nicolas <patricknicolas@laposte.net>
|
||||
Date: Tue, 2 Apr 2024 17:14:42 +0200
|
||||
Subject: [PATCH 02/13] ipc/server: Always listen to stdin
|
||||
Subject: [PATCH 02/10] ipc/server: Always listen to stdin
|
||||
|
||||
---
|
||||
src/xrt/ipc/server/ipc_server_mainloop_linux.c | 2 +-
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
From a06da2ceeddf3f7760501114efa35bd168ba74bc Mon Sep 17 00:00:00 2001
|
||||
From 46cacda03c5552ffb70601dd89e0abe38e97c1d3 Mon Sep 17 00:00:00 2001
|
||||
From: Patrick Nicolas <patricknicolas@laposte.net>
|
||||
Date: Tue, 8 Oct 2024 22:13:15 +0200
|
||||
Subject: [PATCH 03/13] Use extern socket fd
|
||||
Subject: [PATCH 03/10] Use extern socket fd
|
||||
|
||||
---
|
||||
src/xrt/ipc/server/ipc_server_mainloop_linux.c | 8 ++++++++
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
From 4efe5b0e12a92284e46fdeb225102dc63a7eda51 Mon Sep 17 00:00:00 2001
|
||||
From 90c3842f38985e0f8f06bb51d0e58cccf437526f Mon Sep 17 00:00:00 2001
|
||||
From: galister <3123227-galister@users.noreply.gitlab.com>
|
||||
Date: Mon, 19 Aug 2024 18:51:45 +0900
|
||||
Subject: [PATCH 04/13] c/render: Add storage usage to distortion mesh
|
||||
Subject: [PATCH 04/10] c/render: Add storage usage to distortion mesh
|
||||
|
||||
---
|
||||
src/xrt/compositor/render/render_distortion.c | 2 +-
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
From a28d3e6a3e85b7c04392137b30958e8b1d13c591 Mon Sep 17 00:00:00 2001
|
||||
From 9e2288bc85a5be9bb0228a42dc5a9419c4357eb8 Mon Sep 17 00:00:00 2001
|
||||
From: galister <85970-galister@users.noreply.gitlab.freedesktop.org>
|
||||
Date: Sat, 23 Nov 2024 02:42:12 +0900
|
||||
Subject: [PATCH 05/13] change environment blend mode selection logic
|
||||
Subject: [PATCH 05/10] change environment blend mode selection logic
|
||||
|
||||
---
|
||||
src/xrt/compositor/multi/comp_multi_system.c | 26 +++++++++++++-------
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
From ec28b5726922e300dc05085a30150223c6a2183a Mon Sep 17 00:00:00 2001
|
||||
From 437469e6a4de72ab69719cce92b841e4de19156f Mon Sep 17 00:00:00 2001
|
||||
From: Patrick Nicolas <patricknicolas@laposte.net>
|
||||
Date: Wed, 11 Sep 2024 22:56:29 +0200
|
||||
Subject: [PATCH 06/13] Convert to YCbCr in Monado
|
||||
Subject: [PATCH 06/10] Convert to YCbCr in Monado
|
||||
|
||||
---
|
||||
src/xrt/compositor/main/comp_renderer.c | 6 +-
|
||||
@@ -17,10 +17,10 @@ Subject: [PATCH 06/13] Convert to YCbCr in Monado
|
||||
10 files changed, 184 insertions(+), 86 deletions(-)
|
||||
|
||||
diff --git a/src/xrt/compositor/main/comp_renderer.c b/src/xrt/compositor/main/comp_renderer.c
|
||||
index e45d33e22..d2518585c 100644
|
||||
index c6f589466..0895ff694 100644
|
||||
--- a/src/xrt/compositor/main/comp_renderer.c
|
||||
+++ b/src/xrt/compositor/main/comp_renderer.c
|
||||
@@ -936,7 +936,8 @@ dispatch_compute(struct comp_renderer *r,
|
||||
@@ -933,7 +933,8 @@ dispatch_compute(struct comp_renderer *r,
|
||||
|
||||
// Target Vulkan resources..
|
||||
VkImage target_image = r->c->target->images[r->acquired_buffer].handle;
|
||||
@@ -30,7 +30,7 @@ index e45d33e22..d2518585c 100644
|
||||
|
||||
// Target view information.
|
||||
struct render_viewport_data target_viewport_datas[XRT_MAX_VIEWS];
|
||||
@@ -952,7 +953,8 @@ dispatch_compute(struct comp_renderer *r,
|
||||
@@ -949,7 +950,8 @@ dispatch_compute(struct comp_renderer *r,
|
||||
eye_poses, //
|
||||
fovs, //
|
||||
target_image, //
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
From 022835847793c2b97df20a1dc823512a36533d53 Mon Sep 17 00:00:00 2001
|
||||
From 5a791919ce1e01f2cb0034e4055bf22767a41121 Mon Sep 17 00:00:00 2001
|
||||
From: Patrick Nicolas <patricknicolas@laposte.net>
|
||||
Date: Sun, 3 Nov 2024 13:40:00 +0100
|
||||
Subject: [PATCH 07/13] store alpha channel in layer 1
|
||||
Subject: [PATCH 07/10] store alpha channel in layer 1
|
||||
|
||||
---
|
||||
src/xrt/compositor/shaders/clear.comp | 4 ++--
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
From 0d2ae2efb84f1479151c096e26f3295eded3b170 Mon Sep 17 00:00:00 2001
|
||||
From 877709160be24c4bd504b8d8cd04197cc2bf2b69 Mon Sep 17 00:00:00 2001
|
||||
From: Patrick Nicolas <patricknicolas@laposte.net>
|
||||
Date: Thu, 27 Feb 2025 22:45:36 +0100
|
||||
Subject: [PATCH 08/13] c/main: allow custom pacing app factory
|
||||
Subject: [PATCH 08/10] c/main: allow custom pacing app factory
|
||||
|
||||
---
|
||||
src/xrt/compositor/main/comp_compositor.c | 10 ++++++----
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
From 1a9b288475830fc1caf9bbf340ea370677b239a5 Mon Sep 17 00:00:00 2001
|
||||
From 53d8509dff69caccecdc38b443864b1a755486dd Mon Sep 17 00:00:00 2001
|
||||
From: Patrick Nicolas <patricknicolas@laposte.net>
|
||||
Date: Sat, 15 Mar 2025 22:19:48 +0100
|
||||
Subject: [PATCH 09/13] st/oxr: forward 0 refresh rate
|
||||
Subject: [PATCH 09/10] st/oxr: forward 0 refresh rate
|
||||
|
||||
---
|
||||
src/xrt/state_trackers/oxr/oxr_api_session.c | 6 +-----
|
||||
|
||||
@@ -1,30 +1,21 @@
|
||||
From 624849b80a893d073f2315eca909afa823c0a345 Mon Sep 17 00:00:00 2001
|
||||
From 1bc74f74b613cce9d32c0f4bf16de70ddb7fb482 Mon Sep 17 00:00:00 2001
|
||||
From: Patrick Nicolas <patricknicolas@laposte.net>
|
||||
Date: Mon, 2 Jun 2025 14:51:11 +0200
|
||||
Subject: [PATCH 10/13] Replace distortion with pixel-aligned foveation
|
||||
Subject: [PATCH 10/10] Replace distortion with pixel-aligned foveation
|
||||
|
||||
---
|
||||
src/xrt/compositor/CMakeLists.txt | 4 +-
|
||||
src/xrt/compositor/render/render_compute.c | 185 ++-----------------
|
||||
src/xrt/compositor/CMakeLists.txt | 2 +-
|
||||
src/xrt/compositor/render/render_compute.c | 181 ++-----------------
|
||||
src/xrt/compositor/render/render_interface.h | 33 ++--
|
||||
src/xrt/compositor/render/render_resources.c | 71 +------
|
||||
src/xrt/compositor/shaders/distortion.comp | 167 ++++++-----------
|
||||
src/xrt/compositor/render/render_resources.c | 71 +-------
|
||||
src/xrt/compositor/shaders/distortion.comp | 134 ++++----------
|
||||
src/xrt/compositor/util/comp_render_cs.c | 33 +---
|
||||
6 files changed, 101 insertions(+), 392 deletions(-)
|
||||
6 files changed, 76 insertions(+), 378 deletions(-)
|
||||
|
||||
diff --git a/src/xrt/compositor/CMakeLists.txt b/src/xrt/compositor/CMakeLists.txt
|
||||
index 1ba5ec438..eb068f5fc 100644
|
||||
index 1ba5ec438..f1defe77a 100644
|
||||
--- a/src/xrt/compositor/CMakeLists.txt
|
||||
+++ b/src/xrt/compositor/CMakeLists.txt
|
||||
@@ -105,7 +105,7 @@ if(XRT_HAVE_VULKAN)
|
||||
spirv_shaders(
|
||||
SHADER_HEADERS
|
||||
SPIRV_VERSION
|
||||
- 1.0 # Currently targeting Vulkan 1.0
|
||||
+ 1.3 # Currently targeting Vulkan 1.3
|
||||
SOURCES
|
||||
${SHADERS}
|
||||
)
|
||||
@@ -115,7 +115,7 @@ if(XRT_HAVE_VULKAN)
|
||||
${SHADER_HEADERS}
|
||||
render/render_buffer.c
|
||||
@@ -35,20 +26,9 @@ index 1ba5ec438..eb068f5fc 100644
|
||||
render/render_interface.h
|
||||
render/render_resources.c
|
||||
diff --git a/src/xrt/compositor/render/render_compute.c b/src/xrt/compositor/render/render_compute.c
|
||||
index fd04801d4..44c3f0aee 100644
|
||||
index fd04801d4..5cd5a1726 100644
|
||||
--- a/src/xrt/compositor/render/render_compute.c
|
||||
+++ b/src/xrt/compositor/render/render_compute.c
|
||||
@@ -66,8 +66,8 @@ calc_dispatch_dims_views(const struct render_viewport_data views[XRT_MAX_VIEWS],
|
||||
#undef IMAX
|
||||
|
||||
// Power of two divide and round up.
|
||||
- w = uint_divide_and_round_up(w, 16);
|
||||
- h = uint_divide_and_round_up(h, 16);
|
||||
+ w = uint_divide_and_round_up(w, 8);
|
||||
+ h = uint_divide_and_round_up(h, 8);
|
||||
|
||||
*out_w = w;
|
||||
*out_h = h;
|
||||
@@ -167,8 +167,8 @@ update_compute_shared_descriptor_set(struct vk_bundle *vk,
|
||||
VkSampler src_samplers[XRT_MAX_VIEWS],
|
||||
VkImageView src_image_views[XRT_MAX_VIEWS],
|
||||
@@ -498,15 +478,10 @@ index 5b9addd59..7d4d9cddb 100644
|
||||
|
||||
D(Pipeline, r->compute.clear.pipeline);
|
||||
diff --git a/src/xrt/compositor/shaders/distortion.comp b/src/xrt/compositor/shaders/distortion.comp
|
||||
index 9ce46fe6f..cd1828ac9 100644
|
||||
index 9ce46fe6f..f3be617bd 100644
|
||||
--- a/src/xrt/compositor/shaders/distortion.comp
|
||||
+++ b/src/xrt/compositor/shaders/distortion.comp
|
||||
@@ -4,20 +4,22 @@
|
||||
|
||||
#version 460
|
||||
#extension GL_GOOGLE_include_directive : require
|
||||
+#extension GL_KHR_shader_subgroup_basic: require
|
||||
+#extension GL_KHR_shader_subgroup_shuffle: require
|
||||
@@ -7,17 +7,17 @@
|
||||
|
||||
#include "srgb.inc.glsl"
|
||||
|
||||
@@ -532,7 +507,7 @@ index 9ce46fe6f..cd1828ac9 100644
|
||||
layout(set = 0, binding = 2) uniform writeonly restrict image2DArray luma;
|
||||
layout(set = 0, binding = 3, std140) uniform restrict Config
|
||||
{
|
||||
@@ -41,122 +43,59 @@ vec3 rgb_to_ycbcr(vec3 color)
|
||||
@@ -41,109 +41,40 @@ vec3 rgb_to_ycbcr(vec3 color)
|
||||
return transpose(color_space) * color + vec3(0, 0.5, 0.5);
|
||||
}
|
||||
|
||||
@@ -618,13 +593,24 @@ index 9ce46fe6f..cd1828ac9 100644
|
||||
ivec2 extent = ivec2(ubo.views[iz].zw);
|
||||
- vec2 cbcrs[4];
|
||||
- vec4 alpha;
|
||||
- for (int k = 0; k < 2; k += 1) {
|
||||
- uint iy = gl_GlobalInvocationID.y * 2 + k;
|
||||
- for (int j = 0; j < 2; j += 1) {
|
||||
- uint ix = gl_GlobalInvocationID.x * 2 + j;
|
||||
-
|
||||
+ vec3 cbcra = vec3(0);
|
||||
for (int k = 0; k < 2; k += 1) {
|
||||
uint iy = gl_GlobalInvocationID.y * 2 + k;
|
||||
+ uint ymin = foveation.y[MAX_DIM * iz + iy];
|
||||
+ uint ymax = foveation.y[MAX_DIM * iz + iy + 1];
|
||||
+ if (ymin > ymax)
|
||||
+ {
|
||||
+ uint tmp = ymin;
|
||||
+ ymin = ymax;
|
||||
+ ymax = tmp;
|
||||
+ }
|
||||
for (int j = 0; j < 2; j += 1) {
|
||||
uint ix = gl_GlobalInvocationID.x * 2 + j;
|
||||
|
||||
- vec2 dist_uv = position_to_uv(extent, ix, iy);
|
||||
-
|
||||
+ uint xmin = foveation.x[MAX_DIM * iz + ix];
|
||||
+ uint xmax = foveation.x[MAX_DIM * iz + ix + 1];
|
||||
|
||||
- vec2 uv = texture(distortion[iz + 0], dist_uv).xy;
|
||||
- vec2 lod = texture(distortion[iz + 2], dist_uv).xy;
|
||||
-
|
||||
@@ -635,68 +621,35 @@ index 9ce46fe6f..cd1828ac9 100644
|
||||
- vec4 colour = textureLod(source[iz], uv, mix(lod.x, lod.y, 0.5));
|
||||
-
|
||||
- colour.rgb = rgb_to_ycbcr(from_linear_to_srgb(colour.rgb));
|
||||
+ uint iy = gl_GlobalInvocationID.y;
|
||||
+ uint ymin = foveation.y[MAX_DIM * iz + iy];
|
||||
+ uint ymax = foveation.y[MAX_DIM * iz + iy + 1];
|
||||
+ if (ymin == ymax)
|
||||
+ return;
|
||||
+ if (ymin > ymax)
|
||||
+ {
|
||||
+ uint tmp = ymin;
|
||||
+ ymin = ymax;
|
||||
+ ymax = tmp;
|
||||
+ }
|
||||
+ uint ix = gl_GlobalInvocationID.x;
|
||||
+ vec4 colour = vec4(0);
|
||||
+ for (uint y = ymin ; y < ymax; y += 1) {
|
||||
+ for (uint x = xmin ; x < xmax; x += 1) {
|
||||
+ colour += texelFetch(source[iz], ivec2(x, y), 0);
|
||||
+ }
|
||||
+ }
|
||||
+ colour /= (xmax - xmin) * (ymax - ymin);
|
||||
+ colour.xyz = rgb_to_ycbcr(from_linear_to_srgb(colour.rgb));
|
||||
|
||||
- int i = k * 2 + j;
|
||||
- cbcrs[i] = colour.yz;
|
||||
- alpha[i] = colour.a;
|
||||
+ uint xmin = foveation.x[MAX_DIM * iz + ix];
|
||||
+ uint xmax = foveation.x[MAX_DIM * iz + ix + 1];
|
||||
+ if (xmin == xmax)
|
||||
+ return;
|
||||
+ cbcra.xy += colour.yz;
|
||||
+ cbcra.z += colour.a;
|
||||
|
||||
- if (ix < extent.x && iy < extent.y) {
|
||||
- imageStore(luma, ivec3(offset.x + ix, offset.y + iy, 0), vec4(colour.x));
|
||||
- }
|
||||
+ vec4 colour = vec4(0);
|
||||
+ for (uint y = ymin ; y < ymax; y += 1) {
|
||||
+ for (uint x = xmin ; x < xmax; x += 1) {
|
||||
+ colour += texelFetch(source[iz], ivec2(x, y), 0);
|
||||
}
|
||||
}
|
||||
- if (gl_GlobalInvocationID.x >= extent.x || gl_GlobalInvocationID.y >= extent.y) {
|
||||
- return;
|
||||
+ colour /= (xmax - xmin) * (ymax - ymin);
|
||||
+ colour.xyz = rgb_to_ycbcr(from_linear_to_srgb(colour.rgb));
|
||||
+
|
||||
+ imageStore(luma, ivec3(offset.x + ix, offset.y + iy, 0), vec4(colour.x));
|
||||
+
|
||||
+ vec4 sum = colour;
|
||||
+ for (uint i = 0 ; i < gl_SubgroupSize; ++i)
|
||||
+ {
|
||||
+ uvec3 other = subgroupShuffle(gl_GlobalInvocationID, i);
|
||||
+ vec4 c = subgroupShuffle(colour, i);
|
||||
+ if (
|
||||
+ other == gl_GlobalInvocationID + uvec3(1, 0, 0)
|
||||
+ || other == gl_GlobalInvocationID + uvec3(0, 1, 0)
|
||||
+ || other == gl_GlobalInvocationID + uvec3(1, 1, 0))
|
||||
+ {
|
||||
+ sum += c;
|
||||
+ }
|
||||
if (ix < extent.x && iy < extent.y) {
|
||||
imageStore(luma, ivec3(offset.x + ix, offset.y + iy, 0), vec4(colour.x));
|
||||
@@ -153,10 +84,7 @@ void main()
|
||||
if (gl_GlobalInvocationID.x >= extent.x || gl_GlobalInvocationID.y >= extent.y) {
|
||||
return;
|
||||
}
|
||||
- vec2 cbcr = mix(mix(cbcrs[0], cbcrs[1], 0.5), mix(cbcrs[2], cbcrs[3], 0.5), 0.5);
|
||||
- imageStore(chroma, ivec3(offset.xy/2 + gl_GlobalInvocationID.xy, 0), vec4(cbcr.x, cbcr.y, 0, 0));
|
||||
|
||||
- imageStore(chroma, ivec3(offset.xy/2 + gl_GlobalInvocationID.xy, 1), vec4(0.5, 0.5, 0, 0));
|
||||
-
|
||||
+ imageStore(chroma, ivec3(offset.xy/2 + gl_GlobalInvocationID.xy, 0), vec4(cbcra.x, cbcra.y, 0, 0) / 4);
|
||||
+ imageStore(luma, ivec3(offset.xy/2 + gl_GlobalInvocationID.xy, 1), vec4(cbcra.z, 0, 0, 0) / 4);
|
||||
imageStore(chroma, ivec3(offset.xy/2 + gl_GlobalInvocationID.xy, 1), vec4(0.5, 0.5, 0, 0));
|
||||
- alpha = vec4(mix(mix(alpha[0], alpha[1], 0.5), mix(alpha[2], alpha[3], 0.5), 0.5));
|
||||
- imageStore(luma, ivec3(offset.xy/2 + gl_GlobalInvocationID.xy, 1), alpha);
|
||||
+ if (ix %2 == 0 && iy %2 == 0)
|
||||
+ {
|
||||
+ imageStore(chroma, ivec3(offset.xy/2 + gl_GlobalInvocationID.xy/2, 0), vec4(sum.y, sum.z, 0, 0) / 4);
|
||||
+ imageStore(luma, ivec3(offset.xy/2 + gl_GlobalInvocationID.xy/2, 1), vec4(sum.w, 0, 0, 0) / 4);
|
||||
+ imageStore(chroma, ivec3(offset.xy/2 + gl_GlobalInvocationID.xy/2, 1), vec4(0.5, 0.5, 0, 0));
|
||||
+ }
|
||||
}
|
||||
diff --git a/src/xrt/compositor/util/comp_render_cs.c b/src/xrt/compositor/util/comp_render_cs.c
|
||||
index b2d3ce10d..69429dc97 100644
|
||||
|
||||
@@ -1,64 +0,0 @@
|
||||
From 34699c38c4ebb5c968b4e1053ddbf48b31dbe72d Mon Sep 17 00:00:00 2001
|
||||
From: Patrick Nicolas <patricknicolas@laposte.net>
|
||||
Date: Tue, 5 Aug 2025 15:51:48 +0200
|
||||
Subject: [PATCH 11/13] a/vk: Track VK_KHR_video_maintenance1
|
||||
|
||||
---
|
||||
scripts/generate_vk_helpers.py | 1 +
|
||||
src/xrt/auxiliary/vk/vk_bundle_init.c | 8 ++++++++
|
||||
src/xrt/auxiliary/vk/vk_helpers.h | 1 +
|
||||
3 files changed, 10 insertions(+)
|
||||
|
||||
diff --git a/scripts/generate_vk_helpers.py b/scripts/generate_vk_helpers.py
|
||||
index 330b1b05e..80902193a 100755
|
||||
--- a/scripts/generate_vk_helpers.py
|
||||
+++ b/scripts/generate_vk_helpers.py
|
||||
@@ -307,6 +307,7 @@ DEVICE_EXTENSIONS_TO_CHECK = [
|
||||
"VK_KHR_present_wait",
|
||||
"VK_KHR_synchronization2",
|
||||
"VK_KHR_timeline_semaphore",
|
||||
+ "VK_KHR_video_maintenance1",
|
||||
"VK_EXT_calibrated_timestamps",
|
||||
"VK_EXT_display_control",
|
||||
"VK_EXT_external_memory_dma_buf",
|
||||
diff --git a/src/xrt/auxiliary/vk/vk_bundle_init.c b/src/xrt/auxiliary/vk/vk_bundle_init.c
|
||||
index f28f7591f..b435d73dd 100644
|
||||
--- a/src/xrt/auxiliary/vk/vk_bundle_init.c
|
||||
+++ b/src/xrt/auxiliary/vk/vk_bundle_init.c
|
||||
@@ -754,6 +754,7 @@ fill_in_has_device_extensions(struct vk_bundle *vk, struct u_string_list *ext_li
|
||||
vk->has_KHR_present_wait = false;
|
||||
vk->has_KHR_synchronization2 = false;
|
||||
vk->has_KHR_timeline_semaphore = false;
|
||||
+ vk->has_KHR_video_maintenance1 = false;
|
||||
vk->has_EXT_calibrated_timestamps = false;
|
||||
vk->has_EXT_display_control = false;
|
||||
vk->has_EXT_external_memory_dma_buf = false;
|
||||
@@ -868,6 +869,13 @@ fill_in_has_device_extensions(struct vk_bundle *vk, struct u_string_list *ext_li
|
||||
}
|
||||
#endif // defined(VK_KHR_timeline_semaphore)
|
||||
|
||||
+#if defined(VK_KHR_video_maintenance1)
|
||||
+ if (strcmp(ext, VK_KHR_VIDEO_MAINTENANCE_1_EXTENSION_NAME) == 0) {
|
||||
+ vk->has_KHR_video_maintenance1 = true;
|
||||
+ continue;
|
||||
+ }
|
||||
+#endif // defined(VK_KHR_video_maintenance1)
|
||||
+
|
||||
#if defined(VK_EXT_calibrated_timestamps)
|
||||
if (strcmp(ext, VK_EXT_CALIBRATED_TIMESTAMPS_EXTENSION_NAME) == 0) {
|
||||
vk->has_EXT_calibrated_timestamps = true;
|
||||
diff --git a/src/xrt/auxiliary/vk/vk_helpers.h b/src/xrt/auxiliary/vk/vk_helpers.h
|
||||
index 896b597d4..3b5cbb9c8 100644
|
||||
--- a/src/xrt/auxiliary/vk/vk_helpers.h
|
||||
+++ b/src/xrt/auxiliary/vk/vk_helpers.h
|
||||
@@ -142,6 +142,7 @@ struct vk_bundle
|
||||
bool has_KHR_present_wait;
|
||||
bool has_KHR_synchronization2;
|
||||
bool has_KHR_timeline_semaphore;
|
||||
+ bool has_KHR_video_maintenance1;
|
||||
bool has_EXT_calibrated_timestamps;
|
||||
bool has_EXT_display_control;
|
||||
bool has_EXT_external_memory_dma_buf;
|
||||
--
|
||||
2.50.1
|
||||
|
||||
@@ -1,134 +0,0 @@
|
||||
From 2300c7509699db2a59e4bd0eee33890a2d906156 Mon Sep 17 00:00:00 2001
|
||||
From: Patrick Nicolas <patricknicolas@laposte.net>
|
||||
Date: Tue, 5 Aug 2025 16:00:59 +0200
|
||||
Subject: [PATCH 12/13] a/vk: Expose video_maintenance_1 device feature
|
||||
|
||||
---
|
||||
src/xrt/auxiliary/vk/vk_bundle_init.c | 40 +++++++++++++++++++++++++--
|
||||
src/xrt/auxiliary/vk/vk_helpers.h | 4 +++
|
||||
2 files changed, 42 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/src/xrt/auxiliary/vk/vk_bundle_init.c b/src/xrt/auxiliary/vk/vk_bundle_init.c
|
||||
index b435d73dd..501cd6f3c 100644
|
||||
--- a/src/xrt/auxiliary/vk/vk_bundle_init.c
|
||||
+++ b/src/xrt/auxiliary/vk/vk_bundle_init.c
|
||||
@@ -1098,6 +1098,13 @@ filter_device_features(struct vk_bundle *vk,
|
||||
};
|
||||
#endif
|
||||
|
||||
+#ifdef VK_KHR_video_maintenance1
|
||||
+ VkPhysicalDeviceVideoMaintenance1FeaturesKHR video_maintenance_1_info = {
|
||||
+ .sType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VIDEO_MAINTENANCE_1_FEATURES_KHR,
|
||||
+ .pNext = NULL,
|
||||
+ };
|
||||
+#endif
|
||||
+
|
||||
#ifdef VK_ANDROID_external_format_resolve
|
||||
VkPhysicalDeviceExternalFormatResolveFeaturesANDROID ext_fmt_resolve_info = {
|
||||
.sType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTERNAL_FORMAT_RESOLVE_FEATURES_ANDROID,
|
||||
@@ -1148,6 +1155,13 @@ filter_device_features(struct vk_bundle *vk,
|
||||
}
|
||||
#endif
|
||||
|
||||
+#ifdef VK_KHR_video_maintenance1
|
||||
+ if (vk->has_KHR_video_maintenance1) {
|
||||
+ vk_append_to_pnext_chain((VkBaseInStructure *)&physical_device_features,
|
||||
+ (VkBaseInStructure *)&video_maintenance_1_info);
|
||||
+ }
|
||||
+#endif
|
||||
+
|
||||
#ifdef VK_ANDROID_external_format_resolve
|
||||
if (vk->has_ANDROID_external_format_resolve) {
|
||||
vk_append_to_pnext_chain((VkBaseInStructure *)&physical_device_features,
|
||||
@@ -1187,6 +1201,10 @@ filter_device_features(struct vk_bundle *vk,
|
||||
CHECK(synchronization_2, synchronization_2_info.synchronization2);
|
||||
#endif
|
||||
|
||||
+#ifdef VK_KHR_video_maintenance1
|
||||
+ CHECK(video_maintenance_1, video_maintenance_1_info.videoMaintenance1);
|
||||
+#endif
|
||||
+
|
||||
#ifdef VK_ANDROID_external_format_resolve
|
||||
CHECK(ext_fmt_resolve, ext_fmt_resolve_info.externalFormatResolve);
|
||||
#endif
|
||||
@@ -1207,14 +1225,16 @@ filter_device_features(struct vk_bundle *vk,
|
||||
"\n\tshader_storage_image_write_without_format: %i"
|
||||
"\n\tstorage_buffer_8bit_access: %i"
|
||||
"\n\tsynchronization_2: %i"
|
||||
- "\n\ttimeline_semaphore: %i", //
|
||||
+ "\n\ttimeline_semaphore: %i"
|
||||
+ "\n\tvideo_maintenance_1: %i", //
|
||||
device_features->ext_fmt_resolve, //
|
||||
device_features->null_descriptor, //
|
||||
device_features->shader_image_gather_extended, //
|
||||
device_features->shader_storage_image_write_without_format, //
|
||||
device_features->storage_buffer_8bit_access, //
|
||||
device_features->synchronization_2, //
|
||||
- device_features->timeline_semaphore); //
|
||||
+ device_features->timeline_semaphore, //
|
||||
+ device_features->video_maintenance_1); //
|
||||
}
|
||||
|
||||
|
||||
@@ -1262,6 +1282,7 @@ vk_create_device(struct vk_bundle *vk,
|
||||
vk->features.timeline_semaphore = device_features.timeline_semaphore;
|
||||
vk->features.synchronization_2 = device_features.synchronization_2;
|
||||
vk->features.present_wait = device_features.present_wait;
|
||||
+ vk->features.video_maintenance_1 = device_features.video_maintenance_1;
|
||||
|
||||
|
||||
/*
|
||||
@@ -1384,6 +1405,14 @@ vk_create_device(struct vk_bundle *vk,
|
||||
};
|
||||
#endif
|
||||
|
||||
+#ifdef VK_KHR_video_maintenance1
|
||||
+ VkPhysicalDeviceVideoMaintenance1FeaturesKHR video_maintenance_1_info = {
|
||||
+ .sType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VIDEO_MAINTENANCE_1_FEATURES_KHR,
|
||||
+ .pNext = NULL,
|
||||
+ .videoMaintenance1 = device_features.video_maintenance_1,
|
||||
+ };
|
||||
+#endif
|
||||
+
|
||||
#ifdef VK_ANDROID_external_format_resolve
|
||||
VkPhysicalDeviceExternalFormatResolveFeaturesANDROID ext_fmt_resolve_info = {
|
||||
.sType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTERNAL_FORMAT_RESOLVE_FEATURES_ANDROID,
|
||||
@@ -1444,6 +1473,13 @@ vk_create_device(struct vk_bundle *vk,
|
||||
}
|
||||
#endif
|
||||
|
||||
+#ifdef VK_KHR_video_maintenance1
|
||||
+ if (vk->has_KHR_video_maintenance1) {
|
||||
+ vk_append_to_pnext_chain((VkBaseInStructure *)&device_create_info,
|
||||
+ (VkBaseInStructure *)&video_maintenance_1_info);
|
||||
+ }
|
||||
+#endif
|
||||
+
|
||||
#ifdef VK_ANDROID_external_format_resolve
|
||||
if (vk->has_ANDROID_external_format_resolve) {
|
||||
vk_append_to_pnext_chain((VkBaseInStructure *)&device_create_info,
|
||||
diff --git a/src/xrt/auxiliary/vk/vk_helpers.h b/src/xrt/auxiliary/vk/vk_helpers.h
|
||||
index 3b5cbb9c8..748c06dac 100644
|
||||
--- a/src/xrt/auxiliary/vk/vk_helpers.h
|
||||
+++ b/src/xrt/auxiliary/vk/vk_helpers.h
|
||||
@@ -179,6 +179,9 @@ struct vk_bundle
|
||||
|
||||
//! Was KHR_present_wait requested, available, and enabled?
|
||||
bool present_wait;
|
||||
+
|
||||
+ //! Was KHR_video_maintenance1 requested, available, and enabled?
|
||||
+ bool video_maintenance_1;
|
||||
} features;
|
||||
|
||||
//! Is the GPU a tegra device.
|
||||
@@ -1030,6 +1033,7 @@ struct vk_device_features
|
||||
bool ext_fmt_resolve;
|
||||
bool storage_buffer_8bit_access;
|
||||
bool present_wait;
|
||||
+ bool video_maintenance_1;
|
||||
};
|
||||
|
||||
/*!
|
||||
--
|
||||
2.50.1
|
||||
|
||||
@@ -1,26 +0,0 @@
|
||||
From 8c874368dfaa363e088e91c05adf2a96f921671d Mon Sep 17 00:00:00 2001
|
||||
From: Patrick Nicolas <patricknicolas@laposte.net>
|
||||
Date: Tue, 5 Aug 2025 16:01:59 +0200
|
||||
Subject: [PATCH 13/13] c/util: Request video_maintenance_1 feature
|
||||
|
||||
This will only be enabled if the VK_KHR_maintenance1 extension was
|
||||
requested.
|
||||
---
|
||||
src/xrt/compositor/util/comp_vulkan.c | 1 +
|
||||
1 file changed, 1 insertion(+)
|
||||
|
||||
diff --git a/src/xrt/compositor/util/comp_vulkan.c b/src/xrt/compositor/util/comp_vulkan.c
|
||||
index 5618f4f78..9c719275c 100644
|
||||
--- a/src/xrt/compositor/util/comp_vulkan.c
|
||||
+++ b/src/xrt/compositor/util/comp_vulkan.c
|
||||
@@ -282,6 +282,7 @@ create_device(struct vk_bundle *vk, const struct comp_vulkan_arguments *vk_args)
|
||||
.timeline_semaphore = vk_args->timeline_semaphore,
|
||||
.synchronization_2 = true,
|
||||
.present_wait = true,
|
||||
+ .video_maintenance_1 = true,
|
||||
};
|
||||
|
||||
ret = vk_init_mutex(vk);
|
||||
--
|
||||
2.50.1
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,200 @@
|
||||
From a0c03b2f602311a8c4299e250ecb64be9528194b Mon Sep 17 00:00:00 2001
|
||||
From: rcelyte <rcelyte@battletrains.org>
|
||||
Date: Fri, 23 Aug 2024 20:54:53 +0000
|
||||
Subject: [PATCH] t/common: Load SolarXR driver
|
||||
|
||||
---
|
||||
src/xrt/drivers/qwerty/qwerty_device.c | 4 ++++
|
||||
.../targets/common/target_builder_lighthouse.c | 14 ++++++++++++++
|
||||
src/xrt/targets/common/target_builder_qwerty.c | 14 ++++++++++++++
|
||||
src/xrt/targets/common/target_builder_rift_s.c | 15 +++++++++++++++
|
||||
src/xrt/targets/common/target_builder_steamvr.c | 15 +++++++++++++++
|
||||
src/xrt/targets/common/target_builder_wmr.c | 14 ++++++++++++++
|
||||
6 files changed, 76 insertions(+)
|
||||
|
||||
diff --git a/src/xrt/drivers/qwerty/qwerty_device.c b/src/xrt/drivers/qwerty/qwerty_device.c
|
||||
index b390af901..fc60c869c 100644
|
||||
--- a/src/xrt/drivers/qwerty/qwerty_device.c
|
||||
+++ b/src/xrt/drivers/qwerty/qwerty_device.c
|
||||
@@ -317,6 +317,8 @@ qwerty_hmd_create(void)
|
||||
|
||||
xd->inputs[0].name = XRT_INPUT_GENERIC_HEAD_POSE;
|
||||
|
||||
+ xd->supported.orientation_tracking = true;
|
||||
+ xd->supported.position_tracking = true;
|
||||
xd->update_inputs = u_device_noop_update_inputs;
|
||||
xd->get_tracked_pose = qwerty_get_tracked_pose;
|
||||
xd->get_view_poses = u_device_get_view_poses;
|
||||
@@ -369,6 +371,8 @@ qwerty_controller_create(bool is_left, struct qwerty_hmd *qhmd)
|
||||
xd->binding_profiles = binding_profiles;
|
||||
xd->binding_profile_count = ARRAY_SIZE(binding_profiles);
|
||||
|
||||
+ xd->supported.orientation_tracking = true;
|
||||
+ xd->supported.position_tracking = true;
|
||||
xd->update_inputs = qwerty_update_inputs;
|
||||
xd->get_tracked_pose = qwerty_get_tracked_pose;
|
||||
xd->set_output = qwerty_set_output;
|
||||
diff --git a/src/xrt/targets/common/target_builder_lighthouse.c b/src/xrt/targets/common/target_builder_lighthouse.c
|
||||
index 78fe52ab4..da68c0b4a 100644
|
||||
--- a/src/xrt/targets/common/target_builder_lighthouse.c
|
||||
+++ b/src/xrt/targets/common/target_builder_lighthouse.c
|
||||
@@ -58,6 +58,10 @@
|
||||
#include "opengloves/opengloves_interface.h"
|
||||
#endif
|
||||
|
||||
+#ifdef XRT_BUILD_DRIVER_SOLARXR
|
||||
+#include "solarxr/solarxr_interface.h"
|
||||
+#endif
|
||||
+
|
||||
#if defined(XRT_BUILD_DRIVER_SURVIVE)
|
||||
#define DEFAULT_DRIVER "survive"
|
||||
#else
|
||||
@@ -740,6 +744,16 @@ end_valve_index:
|
||||
try_add_opengloves(left, right, &unobstructed_left_ht, &unobstructed_right_ht);
|
||||
}
|
||||
|
||||
+#ifdef XRT_BUILD_DRIVER_SOLARXR
|
||||
+ const uint32_t count = solarxr_device_create_xdevs(head->tracking_origin, &xsysd->xdevs[xsysd->xdev_count],
|
||||
+ ARRAY_SIZE(xsysd->xdevs) - xsysd->xdev_count);
|
||||
+ if (count != 0) {
|
||||
+ xsysd->static_roles.body = xsysd->xdevs[xsysd->xdev_count];
|
||||
+ solarxr_device_set_feeder_devices(xsysd->static_roles.body, xsysd->xdevs, xsysd->xdev_count);
|
||||
+ }
|
||||
+ xsysd->xdev_count += count;
|
||||
+#endif
|
||||
+
|
||||
// Assign to role(s).
|
||||
ubrh->head = head;
|
||||
ubrh->left = left;
|
||||
diff --git a/src/xrt/targets/common/target_builder_qwerty.c b/src/xrt/targets/common/target_builder_qwerty.c
|
||||
index 2c66ad303..76444147e 100644
|
||||
--- a/src/xrt/targets/common/target_builder_qwerty.c
|
||||
+++ b/src/xrt/targets/common/target_builder_qwerty.c
|
||||
@@ -18,6 +18,10 @@
|
||||
|
||||
#include "qwerty/qwerty_interface.h"
|
||||
|
||||
+#ifdef XRT_BUILD_DRIVER_SOLARXR
|
||||
+#include "solarxr/solarxr_interface.h"
|
||||
+#endif
|
||||
+
|
||||
#include <assert.h>
|
||||
|
||||
|
||||
@@ -100,6 +104,16 @@ qwerty_open_system_impl(struct xrt_builder *xb,
|
||||
ubrh->left = left;
|
||||
ubrh->right = right;
|
||||
|
||||
+#ifdef XRT_BUILD_DRIVER_SOLARXR
|
||||
+ const uint32_t count = solarxr_device_create_xdevs(head->tracking_origin, &xsysd->xdevs[xsysd->xdev_count],
|
||||
+ ARRAY_SIZE(xsysd->xdevs) - xsysd->xdev_count);
|
||||
+ if (count != 0) {
|
||||
+ xsysd->static_roles.body = xsysd->xdevs[xsysd->xdev_count];
|
||||
+ solarxr_device_set_feeder_devices(xsysd->static_roles.body, xsysd->xdevs, xsysd->xdev_count);
|
||||
+ }
|
||||
+ xsysd->xdev_count += count;
|
||||
+#endif
|
||||
+
|
||||
return XRT_SUCCESS;
|
||||
}
|
||||
|
||||
diff --git a/src/xrt/targets/common/target_builder_rift_s.c b/src/xrt/targets/common/target_builder_rift_s.c
|
||||
index fb284d77b..f48eebe35 100644
|
||||
--- a/src/xrt/targets/common/target_builder_rift_s.c
|
||||
+++ b/src/xrt/targets/common/target_builder_rift_s.c
|
||||
@@ -28,6 +28,10 @@
|
||||
#include "ht_ctrl_emu/ht_ctrl_emu_interface.h"
|
||||
#endif
|
||||
|
||||
+#ifdef XRT_BUILD_DRIVER_SOLARXR
|
||||
+#include "solarxr/solarxr_interface.h"
|
||||
+#endif
|
||||
+
|
||||
#include "rift_s/rift_s_interface.h"
|
||||
#include "rift_s/rift_s.h"
|
||||
|
||||
@@ -200,6 +204,17 @@ rift_s_open_system_impl(struct xrt_builder *xb,
|
||||
}
|
||||
#endif
|
||||
|
||||
+#ifdef XRT_BUILD_DRIVER_SOLARXR
|
||||
+ const uint32_t count =
|
||||
+ solarxr_device_create_xdevs((hmd_xdev != NULL) ? hmd_xdev->tracking_origin : NULL,
|
||||
+ &xsysd->xdevs[xsysd->xdev_count], ARRAY_SIZE(xsysd->xdevs) - xsysd->xdev_count);
|
||||
+ if (count != 0) {
|
||||
+ xsysd->static_roles.body = xsysd->xdevs[xsysd->xdev_count];
|
||||
+ solarxr_device_set_feeder_devices(xsysd->static_roles.body, xsysd->xdevs, xsysd->xdev_count);
|
||||
+ }
|
||||
+ xsysd->xdev_count += count;
|
||||
+#endif
|
||||
+
|
||||
// Assign to role(s).
|
||||
ubrh->head = hmd_xdev;
|
||||
ubrh->left = left_xdev;
|
||||
diff --git a/src/xrt/targets/common/target_builder_steamvr.c b/src/xrt/targets/common/target_builder_steamvr.c
|
||||
index a603eeaf5..171ad0d9a 100644
|
||||
--- a/src/xrt/targets/common/target_builder_steamvr.c
|
||||
+++ b/src/xrt/targets/common/target_builder_steamvr.c
|
||||
@@ -34,6 +34,10 @@
|
||||
#include "xrt/xrt_space.h"
|
||||
#include "util/u_space_overseer.h"
|
||||
|
||||
+#ifdef XRT_BUILD_DRIVER_SOLARXR
|
||||
+#include "solarxr/solarxr_interface.h"
|
||||
+#endif
|
||||
+
|
||||
#ifndef XRT_BUILD_DRIVER_STEAMVR_LIGHTHOUSE
|
||||
#error "This builder requires the SteamVR Lighthouse driver"
|
||||
#endif
|
||||
@@ -166,6 +170,17 @@ steamvr_open_system(struct xrt_builder *xb,
|
||||
SET_HT_ROLES(conforming)
|
||||
#undef SET_HT_ROLES
|
||||
|
||||
+#ifdef XRT_BUILD_DRIVER_SOLARXR
|
||||
+ const uint32_t count =
|
||||
+ solarxr_device_create_xdevs(xsysd->static_roles.head->tracking_origin, &xsysd->xdevs[xsysd->xdev_count],
|
||||
+ ARRAY_SIZE(xsysd->xdevs) - xsysd->xdev_count);
|
||||
+ if (count != 0) {
|
||||
+ xsysd->static_roles.body = xsysd->xdevs[xsysd->xdev_count];
|
||||
+ solarxr_device_set_feeder_devices(xsysd->static_roles.body, xsysd->xdevs, xsysd->xdev_count);
|
||||
+ }
|
||||
+ xsysd->xdev_count += count;
|
||||
+#endif
|
||||
+
|
||||
/*
|
||||
* Space overseer.
|
||||
*/
|
||||
diff --git a/src/xrt/targets/common/target_builder_wmr.c b/src/xrt/targets/common/target_builder_wmr.c
|
||||
index 57c3bfd7e..c0564c2a8 100644
|
||||
--- a/src/xrt/targets/common/target_builder_wmr.c
|
||||
+++ b/src/xrt/targets/common/target_builder_wmr.c
|
||||
@@ -26,6 +26,10 @@
|
||||
|
||||
#include <assert.h>
|
||||
|
||||
+#ifdef XRT_BUILD_DRIVER_SOLARXR
|
||||
+#include "solarxr/solarxr_interface.h"
|
||||
+#endif
|
||||
+
|
||||
#ifndef XRT_BUILD_DRIVER_WMR
|
||||
#error "Must only be built with XRT_BUILD_DRIVER_WMR set"
|
||||
#endif
|
||||
@@ -296,6 +300,16 @@ wmr_open_system_impl(struct xrt_builder *xb,
|
||||
right = ht_right;
|
||||
}
|
||||
|
||||
+#ifdef XRT_BUILD_DRIVER_SOLARXR
|
||||
+ const uint32_t count = solarxr_device_create_xdevs(head->tracking_origin, &xsysd->xdevs[xsysd->xdev_count],
|
||||
+ ARRAY_SIZE(xsysd->xdevs) - xsysd->xdev_count);
|
||||
+ if (count != 0) {
|
||||
+ xsysd->static_roles.body = xsysd->xdevs[xsysd->xdev_count];
|
||||
+ solarxr_device_set_feeder_devices(xsysd->static_roles.body, xsysd->xdevs, xsysd->xdev_count);
|
||||
+ }
|
||||
+ xsysd->xdev_count += count;
|
||||
+#endif
|
||||
+
|
||||
|
||||
// Assign to role(s).
|
||||
ubrh->head = head;
|
||||
--
|
||||
2.50.1
|
||||
@@ -16,6 +16,7 @@ set(XRT_BUILD_DRIVER_RIFT_S OFF)
|
||||
set(XRT_BUILD_DRIVER_ROKID OFF)
|
||||
set(XRT_BUILD_DRIVER_SIMULATED OFF)
|
||||
set(XRT_BUILD_DRIVER_STEAMVR_LIGHTHOUSE ${WIVRN_FEATURE_STEAMVR_LIGHTHOUSE})
|
||||
set(XRT_BUILD_DRIVER_SOLARXR ${WIVRN_FEATURE_SOLARXR})
|
||||
set(XRT_BUILD_DRIVER_TWRAP OFF)
|
||||
set(XRT_BUILD_DRIVER_VF OFF)
|
||||
set(XRT_BUILD_DRIVER_VIVE OFF)
|
||||
@@ -33,6 +34,7 @@ set(XRT_FEATURE_WINDOW_PEEK OFF)
|
||||
set(XRT_FEATURE_OPENXR_ACTIVE_ACTION_SET_PRIORITY ON)
|
||||
set(XRT_FEATURE_RENDERDOC ${WIVRN_FEATURE_RENDERDOC})
|
||||
|
||||
set(XRT_FEATURE_OPENXR_BODY_TRACKING_FB ON)
|
||||
set(XRT_FEATURE_OPENXR_FACE_TRACKING2_FB ON)
|
||||
set(XRT_FEATURE_OPENXR_FACIAL_TRACKING_HTC ON)
|
||||
set(XRT_FEATURE_OPENXR_HAND_TRACKING_EXT ON)
|
||||
|
||||
@@ -57,7 +57,7 @@ std::filesystem::path active_runtime::openvr_compat_path()
|
||||
std::optional<std::filesystem::path> flatpak_root = flatpak_key(flatpak::section::instance, "app-path");
|
||||
// flatpak default
|
||||
if (flatpak_root)
|
||||
return *flatpak_root / "xrizer";
|
||||
return *flatpak_root / "OpenComposite";
|
||||
|
||||
for (auto path: std::ranges::split_view(std::string_view(OVR_COMPAT_SEARCH_PATH), std::string_view(":")))
|
||||
{
|
||||
|
||||
@@ -23,14 +23,12 @@
|
||||
#include "encoder/video_encoder.h"
|
||||
#include "util/u_logging.h"
|
||||
#include "utils/scoped_lock.h"
|
||||
#include "wivrn_config.h"
|
||||
#include "wivrn_foveation.h"
|
||||
|
||||
#include "main/comp_compositor.h"
|
||||
#include "math/m_space.h"
|
||||
#include "xrt_cast.h"
|
||||
|
||||
#include <algorithm>
|
||||
#include <vector>
|
||||
#include <vulkan/vulkan.hpp>
|
||||
#include <vulkan/vulkan_core.h>
|
||||
@@ -60,9 +58,6 @@ std::vector<const char *> wivrn_comp_target::wanted_device_extensions = {
|
||||
#ifdef VK_KHR_video_encode_queue
|
||||
VK_KHR_VIDEO_ENCODE_QUEUE_EXTENSION_NAME,
|
||||
#endif
|
||||
#ifdef VK_KHR_video_maintenance1
|
||||
VK_KHR_VIDEO_MAINTENANCE_1_EXTENSION_NAME,
|
||||
#endif
|
||||
#ifdef VK_KHR_video_encode_h264
|
||||
VK_KHR_VIDEO_ENCODE_H264_EXTENSION_NAME,
|
||||
#endif
|
||||
@@ -193,46 +188,54 @@ static VkResult create_images(struct wivrn_comp_target * cn, vk::ImageUsageFlags
|
||||
|
||||
cn->images = U_TYPED_ARRAY_CALLOC(struct comp_target_image, cn->image_count);
|
||||
|
||||
vk::StructureChain image_info{
|
||||
vk::ImageCreateInfo{
|
||||
.flags = vk::ImageCreateFlagBits::eExtendedUsage | vk::ImageCreateFlagBits::eMutableFormat,
|
||||
.imageType = vk::ImageType::e2D,
|
||||
.format = format,
|
||||
.extent = {
|
||||
.width = cn->width,
|
||||
.height = cn->height,
|
||||
.depth = 1,
|
||||
},
|
||||
.mipLevels = 1,
|
||||
.arrayLayers = 2, // colour then alpha
|
||||
.samples = vk::SampleCountFlagBits::e1,
|
||||
.tiling = vk::ImageTiling::eOptimal,
|
||||
.usage = flags | vk::ImageUsageFlagBits::eStorage | vk::ImageUsageFlagBits::eTransferSrc,
|
||||
.sharingMode = vk::SharingMode::eExclusive,
|
||||
},
|
||||
vk::ImageFormatListCreateInfo{
|
||||
.viewFormatCount = formats.size(),
|
||||
.pViewFormats = formats.data(),
|
||||
},
|
||||
};
|
||||
#if WIVRN_USE_VULKAN_ENCODE
|
||||
if (
|
||||
vk->features.video_maintenance_1 and
|
||||
std::ranges::any_of(
|
||||
cn->settings,
|
||||
[](const auto & item) { return item.encoder_name == encoder_vulkan //
|
||||
and item.offset_x == 0 and item.offset_y == 0; }))
|
||||
{
|
||||
image_info.get().flags |= vk::ImageCreateFlagBits::eVideoProfileIndependentKHR;
|
||||
image_info.get().usage |= vk::ImageUsageFlagBits::eVideoEncodeSrcKHR;
|
||||
}
|
||||
auto [video_profiles, encoder_flags] = video_encoder::get_create_image_info(cn->settings);
|
||||
|
||||
vk::VideoProfileListInfoKHR video_profile_list{
|
||||
.profileCount = uint32_t(video_profiles.size()),
|
||||
.pProfiles = video_profiles.data(),
|
||||
};
|
||||
#endif
|
||||
|
||||
cn->psc.images.resize(cn->image_count);
|
||||
for (uint32_t i = 0; i < cn->image_count; i++)
|
||||
{
|
||||
vk::ImageFormatListCreateInfo formats_info{
|
||||
.viewFormatCount = formats.size(),
|
||||
.pViewFormats = formats.data(),
|
||||
};
|
||||
|
||||
#if WIVRN_USE_VULKAN_ENCODE
|
||||
if (video_profile_list.profileCount)
|
||||
formats_info.pNext = &video_profile_list;
|
||||
#endif
|
||||
|
||||
auto & image = cn->psc.images[i].image;
|
||||
image = image_allocation(device, image_info.get(), {.usage = VMA_MEMORY_USAGE_AUTO});
|
||||
image = image_allocation(
|
||||
device, {
|
||||
.pNext = &formats_info,
|
||||
.flags = vk::ImageCreateFlagBits::eExtendedUsage | vk::ImageCreateFlagBits::eMutableFormat,
|
||||
.imageType = vk::ImageType::e2D,
|
||||
.format = format,
|
||||
.extent = {
|
||||
.width = cn->width,
|
||||
.height = cn->height,
|
||||
.depth = 1,
|
||||
},
|
||||
.mipLevels = 1,
|
||||
.arrayLayers = 2, // colour then alpha
|
||||
.samples = vk::SampleCountFlagBits::e1,
|
||||
.tiling = vk::ImageTiling::eOptimal,
|
||||
.usage = flags
|
||||
#if WIVRN_USE_VULKAN_ENCODE
|
||||
| encoder_flags
|
||||
#endif
|
||||
| vk::ImageUsageFlagBits::eStorage | vk::ImageUsageFlagBits::eTransferSrc,
|
||||
.sharingMode = vk::SharingMode::eExclusive,
|
||||
},
|
||||
{
|
||||
.usage = VMA_MEMORY_USAGE_AUTO,
|
||||
});
|
||||
cn->images[i].handle = image;
|
||||
cn->wivrn_bundle->name(vk::Image(image), "comp target image");
|
||||
}
|
||||
|
||||
@@ -18,6 +18,7 @@
|
||||
*/
|
||||
|
||||
#include "render/render_interface.h"
|
||||
#include "vk/vk_mini_helpers.h"
|
||||
|
||||
#include "wivrn_foveation.h"
|
||||
|
||||
@@ -43,13 +44,22 @@ bool render_distortion_images_ensure(struct render_resources * r,
|
||||
bool pre_rotate)
|
||||
{
|
||||
if (r->distortion.buffer == VK_NULL_HANDLE)
|
||||
r->distortion.buffer = wivrn::wivrn_foveation::instance().get_gpu_buffer();
|
||||
{
|
||||
return vk_buffer_init(vk,
|
||||
sizeof(render_compute_distortion_foveation_data),
|
||||
VK_BUFFER_USAGE_TRANSFER_DST_BIT | VK_BUFFER_USAGE_STORAGE_BUFFER_BIT,
|
||||
VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT,
|
||||
&r->distortion.buffer,
|
||||
&r->distortion.device_memory);
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
void render_distortion_images_fini(struct render_resources * r)
|
||||
{
|
||||
r->distortion.buffer = VK_NULL_HANDLE;
|
||||
auto * vk = r->vk;
|
||||
D(Buffer, r->distortion.buffer);
|
||||
DF(Memory, r->distortion.device_memory);
|
||||
}
|
||||
|
||||
// a, b: parameters computed by solve_foveation
|
||||
@@ -310,35 +320,20 @@ wivrn_foveation::wivrn_foveation(wivrn_vk_bundle & bundle, const xrt_hmd_parts &
|
||||
.commandPool = *command_pool,
|
||||
.commandBufferCount = 1,
|
||||
})[0])),
|
||||
gpu_buffer(
|
||||
host_buffer(
|
||||
bundle.device,
|
||||
{
|
||||
.size = sizeof(render_compute_distortion_foveation_data),
|
||||
.usage = vk::BufferUsageFlagBits::eTransferDst | vk::BufferUsageFlagBits::eStorageBuffer,
|
||||
.usage = vk::BufferUsageFlagBits::eTransferSrc,
|
||||
},
|
||||
VmaAllocationCreateInfo{
|
||||
.flags = VMA_ALLOCATION_CREATE_HOST_ACCESS_RANDOM_BIT | VMA_ALLOCATION_CREATE_HOST_ACCESS_ALLOW_TRANSFER_INSTEAD_BIT,
|
||||
.flags = VMA_ALLOCATION_CREATE_HOST_ACCESS_RANDOM_BIT,
|
||||
.usage = VMA_MEMORY_USAGE_AUTO,
|
||||
},
|
||||
"foveation storage buffer")
|
||||
})
|
||||
{
|
||||
if (not(gpu_buffer.properties() & VK_MEMORY_PROPERTY_HOST_VISIBLE_BIT))
|
||||
{
|
||||
host_buffer = buffer_allocation(
|
||||
bundle.device,
|
||||
{
|
||||
.size = gpu_buffer.info().size,
|
||||
.usage = vk::BufferUsageFlagBits::eTransferSrc,
|
||||
},
|
||||
{
|
||||
.flags = VMA_ALLOCATION_CREATE_HOST_ACCESS_RANDOM_BIT,
|
||||
.usage = VMA_MEMORY_USAGE_AUTO_PREFER_HOST,
|
||||
},
|
||||
"foveation staging buffer");
|
||||
bundle.name(vk::Buffer(host_buffer), "foveation staging buffer");
|
||||
}
|
||||
bundle.name(command_pool, "foveation command pool");
|
||||
bundle.name(cmd, "foveation command buffer");
|
||||
bundle.name(vk::Buffer(host_buffer), "foveation staging buffer");
|
||||
}
|
||||
|
||||
void wivrn_foveation::update_tracking(const from_headset::tracking & tracking, const clock_offset & offset)
|
||||
@@ -394,7 +389,7 @@ std::array<to_headset::foveation_parameter, 2> wivrn_foveation::get_parameters()
|
||||
}
|
||||
|
||||
static void fill_ubo(
|
||||
std::span<uint32_t> ubo,
|
||||
uint32_t * ubo,
|
||||
const std::vector<uint16_t> & params,
|
||||
bool flip,
|
||||
size_t offset,
|
||||
@@ -403,9 +398,9 @@ static void fill_ubo(
|
||||
{
|
||||
assert(params.size() % 2 == 1);
|
||||
const int n_ratio = (params.size() - 1) / 2;
|
||||
ubo[0] = offset;
|
||||
*ubo = offset;
|
||||
if (flip)
|
||||
ubo[0] += size;
|
||||
*ubo += size;
|
||||
for (auto [i, n]: std::ranges::enumerate_view(params))
|
||||
{
|
||||
const int n_source = std::abs(n_ratio - int(i)) + 1;
|
||||
@@ -416,12 +411,12 @@ static void fill_ubo(
|
||||
ubo[1] = ubo[0] - n_source;
|
||||
else
|
||||
ubo[1] = ubo[0] + n_source;
|
||||
ubo = ubo.subspan(1);
|
||||
++ubo;
|
||||
--count;
|
||||
}
|
||||
}
|
||||
if (not ubo.empty())
|
||||
std::ranges::fill(ubo, ubo[0]);
|
||||
if (count > 0)
|
||||
std::fill(ubo + 1, ubo + count + 1, *ubo);
|
||||
}
|
||||
|
||||
template <typename T>
|
||||
@@ -439,11 +434,6 @@ static 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;
|
||||
}
|
||||
|
||||
vk::Buffer wivrn_foveation::get_gpu_buffer()
|
||||
{
|
||||
return gpu_buffer;
|
||||
}
|
||||
|
||||
vk::CommandBuffer wivrn_foveation::update_foveation_buffer(
|
||||
vk::Buffer target,
|
||||
bool flip_y,
|
||||
@@ -453,6 +443,14 @@ vk::CommandBuffer wivrn_foveation::update_foveation_buffer(
|
||||
if (not target)
|
||||
return nullptr;
|
||||
|
||||
if (target != gpu_buffer)
|
||||
{
|
||||
command_pool.reset();
|
||||
cmd.begin({});
|
||||
cmd.copyBuffer(host_buffer, target, vk::BufferCopy{.size = sizeof(render_compute_distortion_foveation_data)});
|
||||
cmd.end();
|
||||
}
|
||||
|
||||
// Check if the last value is still valid
|
||||
std::lock_guard lock(mutex);
|
||||
if (last.flip_y == flip_y //
|
||||
@@ -469,15 +467,6 @@ vk::CommandBuffer wivrn_foveation::update_foveation_buffer(
|
||||
)
|
||||
return nullptr;
|
||||
|
||||
assert(target == gpu_buffer);
|
||||
if (host_buffer)
|
||||
{
|
||||
command_pool.reset();
|
||||
cmd.begin({});
|
||||
cmd.copyBuffer(host_buffer, target, vk::BufferCopy{.size = sizeof(render_compute_distortion_foveation_data)});
|
||||
cmd.end();
|
||||
}
|
||||
|
||||
last = {
|
||||
.gaze = gaze,
|
||||
.flip_y = flip_y,
|
||||
@@ -489,7 +478,7 @@ vk::CommandBuffer wivrn_foveation::update_foveation_buffer(
|
||||
|
||||
compute_params(source, fovs);
|
||||
|
||||
auto ubo = host_buffer ? host_buffer.data<render_compute_distortion_foveation_data>() : gpu_buffer.data<render_compute_distortion_foveation_data>();
|
||||
auto ubo = (render_compute_distortion_foveation_data *)host_buffer.map();
|
||||
for (size_t view = 0; view < 2; ++view)
|
||||
{
|
||||
bool flip = false;
|
||||
@@ -506,7 +495,7 @@ vk::CommandBuffer wivrn_foveation::update_foveation_buffer(
|
||||
offset = source[view].offset.w;
|
||||
extent = source[view].extent.w;
|
||||
}
|
||||
fill_ubo(std::span(ubo->x + view * RENDER_FOVEATION_BUFFER_DIMENSIONS, RENDER_FOVEATION_BUFFER_DIMENSIONS), params[view].x, flip, offset, extent, foveated_width);
|
||||
fill_ubo(ubo->x + view * RENDER_FOVEATION_BUFFER_DIMENSIONS, params[view].x, flip, offset, extent, foveated_width);
|
||||
|
||||
if (source[view].extent.h < 0)
|
||||
{
|
||||
@@ -520,10 +509,8 @@ vk::CommandBuffer wivrn_foveation::update_foveation_buffer(
|
||||
offset = source[view].offset.h;
|
||||
extent = source[view].extent.h;
|
||||
}
|
||||
fill_ubo(std::span(ubo->y + view * RENDER_FOVEATION_BUFFER_DIMENSIONS, RENDER_FOVEATION_BUFFER_DIMENSIONS), params[view].y, flip, offset, extent, foveated_height);
|
||||
fill_ubo(ubo->y + view * RENDER_FOVEATION_BUFFER_DIMENSIONS, params[view].y, flip, offset, extent, foveated_height);
|
||||
}
|
||||
if (host_buffer)
|
||||
return *cmd;
|
||||
return nullptr;
|
||||
return *cmd;
|
||||
}
|
||||
} // namespace wivrn
|
||||
|
||||
@@ -24,7 +24,6 @@
|
||||
#include "xrt/xrt_defines.h"
|
||||
#include "xrt/xrt_device.h"
|
||||
|
||||
#include "utils/singleton.h"
|
||||
#include <vulkan/vulkan_raii.hpp>
|
||||
|
||||
struct render_resources;
|
||||
@@ -35,7 +34,7 @@ namespace wivrn
|
||||
struct clock_offset;
|
||||
struct wivrn_vk_bundle;
|
||||
|
||||
class wivrn_foveation : public singleton<wivrn_foveation>
|
||||
class wivrn_foveation
|
||||
{
|
||||
std::mutex mutex;
|
||||
|
||||
@@ -54,8 +53,8 @@ class wivrn_foveation : public singleton<wivrn_foveation>
|
||||
|
||||
vk::raii::CommandPool command_pool;
|
||||
vk::raii::CommandBuffer cmd;
|
||||
buffer_allocation gpu_buffer;
|
||||
buffer_allocation host_buffer;
|
||||
vk::Buffer gpu_buffer = nullptr;
|
||||
|
||||
// parameters used for last computation
|
||||
struct P
|
||||
@@ -82,8 +81,6 @@ public:
|
||||
void update_foveation_center_override(const from_headset::override_foveation_center &);
|
||||
std::array<to_headset::foveation_parameter, 2> get_parameters();
|
||||
|
||||
vk::Buffer get_gpu_buffer();
|
||||
|
||||
vk::CommandBuffer update_foveation_buffer(
|
||||
vk::Buffer target,
|
||||
bool flip_y,
|
||||
|
||||
@@ -147,12 +147,6 @@ static xrt_binding_input_pair hand_interaction_input_binding[] = {
|
||||
{XRT_INPUT_HAND_GRASP_READY, XRT_INPUT_HAND_GRASP_READY},
|
||||
};
|
||||
|
||||
static xrt_binding_input_pair simple_input_binding[] = {
|
||||
{XRT_INPUT_SIMPLE_SELECT_CLICK, XRT_INPUT_HAND_PINCH_VALUE},
|
||||
{XRT_INPUT_SIMPLE_GRIP_POSE, XRT_INPUT_HAND_GRIP_POSE},
|
||||
{XRT_INPUT_SIMPLE_AIM_POSE, XRT_INPUT_HAND_AIM_POSE},
|
||||
};
|
||||
|
||||
static xrt_binding_profile wivrn_binding_profiles[] = {
|
||||
{
|
||||
.name = XRT_DEVICE_EXT_HAND_INTERACTION,
|
||||
@@ -161,13 +155,6 @@ static xrt_binding_profile wivrn_binding_profiles[] = {
|
||||
.outputs = nullptr,
|
||||
.output_count = 0,
|
||||
},
|
||||
{
|
||||
.name = XRT_DEVICE_SIMPLE_CONTROLLER,
|
||||
.inputs = simple_input_binding,
|
||||
.input_count = std::size(simple_input_binding),
|
||||
.outputs = nullptr,
|
||||
.output_count = 0,
|
||||
},
|
||||
};
|
||||
|
||||
namespace
|
||||
|
||||
@@ -42,13 +42,6 @@ class wivrn_hmd : public xrt_device
|
||||
.name = XRT_INPUT_GENERIC_HEAD_POSE,
|
||||
};
|
||||
xrt_hmd_parts hmd_parts{};
|
||||
xrt_tracking_origin tracking_origin{
|
||||
.name = "WiVRn origin",
|
||||
.type = XRT_TRACKING_TYPE_OTHER,
|
||||
.initial_offset = {
|
||||
.orientation = {0, 0, 0, 1},
|
||||
},
|
||||
};
|
||||
|
||||
view_list views;
|
||||
from_headset::battery battery{};
|
||||
@@ -66,6 +59,15 @@ class wivrn_hmd : public xrt_device
|
||||
|
||||
public:
|
||||
using base = xrt_device;
|
||||
|
||||
xrt_tracking_origin tracking_origin{
|
||||
.name = "WiVRn origin",
|
||||
.type = XRT_TRACKING_TYPE_OTHER,
|
||||
.initial_offset = {
|
||||
.orientation = {0, 0, 0, 1},
|
||||
},
|
||||
};
|
||||
|
||||
wivrn_hmd(wivrn::wivrn_session * cnx,
|
||||
const from_headset::headset_info_packet & info);
|
||||
|
||||
|
||||
@@ -28,7 +28,6 @@
|
||||
#include "util/u_builders.h"
|
||||
#include "util/u_logging.h"
|
||||
#include "util/u_system.h"
|
||||
#include "utils/load_icon.h"
|
||||
#include "utils/scoped_lock.h"
|
||||
|
||||
#include "audio/audio_setup.h"
|
||||
@@ -58,7 +57,7 @@
|
||||
#endif
|
||||
|
||||
#if WIVRN_FEATURE_SOLARXR
|
||||
#include "solarxr_device.h"
|
||||
#include "solarxr_interface.h"
|
||||
#endif
|
||||
|
||||
namespace wivrn
|
||||
@@ -172,12 +171,6 @@ wivrn::wivrn_session::wivrn_session(std::unique_ptr<wivrn_connection> connection
|
||||
throw;
|
||||
}
|
||||
|
||||
(*this)(from_headset::get_application_list{
|
||||
.language = get_info().language,
|
||||
.country = get_info().country,
|
||||
.variant = get_info().variant,
|
||||
});
|
||||
|
||||
static_roles.head = xdevs[xdev_count++] = &hmd;
|
||||
|
||||
if (hmd.supported.face_tracking)
|
||||
@@ -262,15 +255,13 @@ wivrn::wivrn_session::wivrn_session(std::unique_ptr<wivrn_connection> connection
|
||||
}
|
||||
|
||||
#if WIVRN_FEATURE_SOLARXR
|
||||
xrt_device * solar_devs[XRT_SYSTEM_MAX_DEVICES];
|
||||
uint32_t solar_devs_cap = XRT_SYSTEM_MAX_DEVICES - xdev_count;
|
||||
uint32_t num_devs = solarxr_device_create_xdevs(&hmd, solar_devs, XRT_SYSTEM_MAX_DEVICES - xdev_count);
|
||||
for (int i = 0; i < num_devs; i++)
|
||||
uint32_t num_devs = solarxr_device_create_xdevs(&hmd.tracking_origin, &xdevs[xdev_count], ARRAY_SIZE(xdevs) - xdev_count);
|
||||
if (num_devs != 0)
|
||||
{
|
||||
xdevs[xdev_count++] = solar_devs[i];
|
||||
if (i == 0)
|
||||
static_roles.body = solar_devs[i];
|
||||
static_roles.body = xdevs[xdev_count];
|
||||
solarxr_device_set_feeder_devices(static_roles.body, xdevs, xdev_count);
|
||||
}
|
||||
xdev_count += num_devs;
|
||||
#endif
|
||||
|
||||
if (roles.left >= 0)
|
||||
@@ -289,6 +280,10 @@ wivrn::wivrn_session::wivrn_session(std::unique_ptr<wivrn_connection> connection
|
||||
|
||||
wivrn_session::~wivrn_session()
|
||||
{
|
||||
#if WIVRN_FEATURE_SOLARXR
|
||||
solarxr_device_set_feeder_devices(static_roles.body, nullptr, 0);
|
||||
#endif
|
||||
|
||||
for (size_t i = 0; i < ARRAY_SIZE(xdevs); i++)
|
||||
{
|
||||
xrt_device_destroy(&xdevs[i]);
|
||||
@@ -741,37 +736,15 @@ void wivrn_session::operator()(from_headset::get_application_list && request)
|
||||
.country = std::move(request.country),
|
||||
.variant = std::move(request.variant),
|
||||
};
|
||||
|
||||
auto apps = list_applications();
|
||||
|
||||
for (const auto & [id, app]: apps)
|
||||
for (auto && [id, app]: list_applications())
|
||||
{
|
||||
response.applications.emplace_back(
|
||||
std::move(id),
|
||||
// FIXME: use locale
|
||||
app.name.at(""));
|
||||
app.name.at(""),
|
||||
app.image);
|
||||
}
|
||||
send_control(std::move(response));
|
||||
|
||||
for (const auto & [id, app]: apps)
|
||||
{
|
||||
if (app.icon_path)
|
||||
{
|
||||
try
|
||||
{
|
||||
auto icon = load_icon(*app.icon_path, 256);
|
||||
|
||||
send_control(to_headset::application_icon{
|
||||
.id = id,
|
||||
.image = std::move(icon),
|
||||
});
|
||||
}
|
||||
catch (std::exception & e)
|
||||
{
|
||||
U_LOG_W("Error loading icon %s: %s", app.icon_path->c_str(), e.what());
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
void wivrn_session::operator()(const from_headset::start_app & request)
|
||||
|
||||
@@ -180,6 +180,32 @@ std::unique_ptr<video_encoder> video_encoder::create(
|
||||
return res;
|
||||
}
|
||||
|
||||
#if WIVRN_USE_VULKAN_ENCODE
|
||||
std::pair<std::vector<vk::VideoProfileInfoKHR>, vk::ImageUsageFlags> video_encoder::get_create_image_info(const std::vector<encoder_settings> & settings)
|
||||
{
|
||||
std::pair<std::vector<vk::VideoProfileInfoKHR>, vk::ImageUsageFlags> result;
|
||||
for (const auto & item: settings)
|
||||
{
|
||||
if (item.encoder_name == encoder_vulkan)
|
||||
{
|
||||
result.second |= vk::ImageUsageFlagBits::eVideoEncodeSrcKHR;
|
||||
switch (item.codec)
|
||||
{
|
||||
case h264:
|
||||
result.first.push_back(video_encoder_vulkan_h264::video_profile_info.get());
|
||||
break;
|
||||
case h265:
|
||||
// result.first.push_back(video_encoder_vulkan_h265::video_profile_info.get());
|
||||
break;
|
||||
case av1:
|
||||
throw std::runtime_error("av1 not supported for vulkan video encode");
|
||||
}
|
||||
}
|
||||
}
|
||||
return result;
|
||||
}
|
||||
#endif
|
||||
|
||||
static const uint64_t idr_throttle = 100;
|
||||
|
||||
video_encoder::video_encoder(uint8_t stream_idx, to_headset::video_stream_description::channels_t channels, double bitrate_multiplier, bool async_send) :
|
||||
|
||||
@@ -20,6 +20,7 @@
|
||||
#pragma once
|
||||
|
||||
#include "driver/clock_offset.h"
|
||||
#include "wivrn_config.h"
|
||||
#include "wivrn_packets.h"
|
||||
|
||||
#include <atomic>
|
||||
@@ -113,6 +114,10 @@ public:
|
||||
int input_height,
|
||||
float fps);
|
||||
|
||||
#if WIVRN_USE_VULKAN_ENCODE
|
||||
static std::pair<std::vector<vk::VideoProfileInfoKHR>, vk::ImageUsageFlags> get_create_image_info(const std::vector<encoder_settings> &);
|
||||
#endif
|
||||
|
||||
video_encoder(uint8_t stream_idx, to_headset::video_stream_description::channels_t channels, double bitrate_multiplier, bool async_send);
|
||||
virtual ~video_encoder();
|
||||
|
||||
|
||||
@@ -15,8 +15,6 @@
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
#include "vk/vk_helpers.h"
|
||||
|
||||
#include "video_encoder_vulkan.h"
|
||||
|
||||
#include "encoder/encoder_settings.h"
|
||||
@@ -268,7 +266,7 @@ void wivrn::video_encoder_vulkan::init(const vk::VideoCapabilitiesKHR & video_ca
|
||||
.layerCount = 1},
|
||||
};
|
||||
|
||||
if (rect.offset != vk::Offset2D{0, 0} or not vk.vk.features.video_maintenance_1)
|
||||
if (rect.offset != vk::Offset2D{0, 0})
|
||||
{
|
||||
image_view_template.subresourceRange.baseArrayLayer = 0;
|
||||
for (size_t i = 0; i < num_slots; ++i)
|
||||
@@ -480,7 +478,7 @@ std::pair<bool, vk::Semaphore> wivrn::video_encoder_vulkan::present_image(vk::Im
|
||||
video_cmd_buf.begin({.flags = vk::CommandBufferUsageFlagBits::eOneTimeSubmit});
|
||||
|
||||
// If we encode from top left corner, encode from the source image directly
|
||||
bool encode_direct = not slot_item.tmp_image;
|
||||
bool encode_direct = rect.offset == vk::Offset2D{0, 0};
|
||||
|
||||
vk::ImageView image_view;
|
||||
|
||||
|
||||
@@ -80,9 +80,10 @@ class video_encoder_vulkan : public video_encoder
|
||||
bool session_initialized = false;
|
||||
const vk::Rect2D rect;
|
||||
|
||||
vk::VideoEncodeRateControlLayerInfoKHR rate_control_layer;
|
||||
|
||||
protected:
|
||||
const uint8_t num_dpb_slots;
|
||||
vk::VideoEncodeRateControlLayerInfoKHR rate_control_layer;
|
||||
std::optional<vk::VideoEncodeRateControlInfoKHR> rate_control;
|
||||
|
||||
video_encoder_vulkan(wivrn_vk_bundle & vk,
|
||||
|
||||
@@ -169,47 +169,6 @@ std::vector<void *> wivrn::video_encoder_vulkan_h264::setup_slot_info(size_t dpb
|
||||
return res;
|
||||
}
|
||||
|
||||
auto get_video_caps(vk::raii::PhysicalDevice & phys_dev)
|
||||
{
|
||||
vk::StructureChain video_profile_info{
|
||||
vk::VideoProfileInfoKHR{
|
||||
.videoCodecOperation =
|
||||
vk::VideoCodecOperationFlagBitsKHR::eEncodeH264,
|
||||
.chromaSubsampling = vk::VideoChromaSubsamplingFlagBitsKHR::e420,
|
||||
.lumaBitDepth = vk::VideoComponentBitDepthFlagBitsKHR::e8,
|
||||
.chromaBitDepth = vk::VideoComponentBitDepthFlagBitsKHR::e8,
|
||||
},
|
||||
vk::VideoEncodeH264ProfileInfoKHR{
|
||||
.stdProfileIdc = STD_VIDEO_H264_PROFILE_IDC_BASELINE,
|
||||
},
|
||||
vk::VideoEncodeUsageInfoKHR{
|
||||
.videoUsageHints = vk::VideoEncodeUsageFlagBitsKHR::eStreaming,
|
||||
.videoContentHints = vk::VideoEncodeContentFlagBitsKHR::eRendered,
|
||||
.tuningMode = vk::VideoEncodeTuningModeKHR::eUltraLowLatency,
|
||||
}};
|
||||
|
||||
try
|
||||
{
|
||||
auto [video_caps, encode_caps, encode_h264_caps] =
|
||||
phys_dev.getVideoCapabilitiesKHR<
|
||||
vk::VideoCapabilitiesKHR,
|
||||
vk::VideoEncodeCapabilitiesKHR,
|
||||
vk::VideoEncodeH264CapabilitiesKHR>(video_profile_info.get());
|
||||
|
||||
return std::make_tuple(video_caps, encode_caps, encode_h264_caps, video_profile_info);
|
||||
}
|
||||
catch (...)
|
||||
{}
|
||||
// NVIDIA fails if the structure is there
|
||||
video_profile_info.unlink<vk::VideoEncodeUsageInfoKHR>();
|
||||
auto [video_caps, encode_caps, encode_h264_caps] =
|
||||
phys_dev.getVideoCapabilitiesKHR<
|
||||
vk::VideoCapabilitiesKHR,
|
||||
vk::VideoEncodeCapabilitiesKHR,
|
||||
vk::VideoEncodeH264CapabilitiesKHR>(video_profile_info.get());
|
||||
return std::make_tuple(video_caps, encode_caps, encode_h264_caps, video_profile_info);
|
||||
}
|
||||
|
||||
std::unique_ptr<wivrn::video_encoder_vulkan_h264> wivrn::video_encoder_vulkan_h264::create(
|
||||
wivrn_vk_bundle & vk,
|
||||
encoder_settings & settings,
|
||||
@@ -227,11 +186,15 @@ std::unique_ptr<wivrn::video_encoder_vulkan_h264> wivrn::video_encoder_vulkan_h2
|
||||
},
|
||||
};
|
||||
|
||||
auto [video_caps, encode_caps, encode_h264_caps] =
|
||||
vk.physical_device.getVideoCapabilitiesKHR<
|
||||
vk::VideoCapabilitiesKHR,
|
||||
vk::VideoEncodeCapabilitiesKHR,
|
||||
vk::VideoEncodeH264CapabilitiesKHR>(video_profile_info.get());
|
||||
|
||||
if (settings.bit_depth != 8)
|
||||
throw std::runtime_error("h264 codec only supports 8-bit encoding");
|
||||
|
||||
auto [video_caps, encode_caps, encode_h264_caps, video_profile_info] = get_video_caps(vk.physical_device);
|
||||
|
||||
std::unique_ptr<video_encoder_vulkan_h264> self(new video_encoder_vulkan_h264(vk, rect, video_caps, encode_caps, fps, stream_idx, settings));
|
||||
|
||||
vk::VideoEncodeH264SessionParametersAddInfoKHR h264_add_info{};
|
||||
@@ -264,8 +227,6 @@ std::unique_ptr<wivrn::video_encoder_vulkan_h264> wivrn::video_encoder_vulkan_h2
|
||||
self->rate_control->pNext = &self->rate_control_h264;
|
||||
}
|
||||
|
||||
self->rate_control_layer.pNext = &self->rate_control_layer_h264;
|
||||
|
||||
self->init(video_caps, video_profile_info.get(), &session_create_info, &h264_session_params);
|
||||
|
||||
return self;
|
||||
@@ -398,3 +359,20 @@ vk::ExtensionProperties wivrn::video_encoder_vulkan_h264::std_header_version()
|
||||
VK_STD_VULKAN_VIDEO_CODEC_H264_ENCODE_EXTENSION_NAME);
|
||||
return std_header_version;
|
||||
}
|
||||
|
||||
decltype(wivrn::video_encoder_vulkan_h264::video_profile_info) wivrn::video_encoder_vulkan_h264::video_profile_info = vk::StructureChain{
|
||||
vk::VideoProfileInfoKHR{
|
||||
.videoCodecOperation =
|
||||
vk::VideoCodecOperationFlagBitsKHR::eEncodeH264,
|
||||
.chromaSubsampling = vk::VideoChromaSubsamplingFlagBitsKHR::e420,
|
||||
.lumaBitDepth = vk::VideoComponentBitDepthFlagBitsKHR::e8,
|
||||
.chromaBitDepth = vk::VideoComponentBitDepthFlagBitsKHR::e8,
|
||||
},
|
||||
vk::VideoEncodeH264ProfileInfoKHR{
|
||||
.stdProfileIdc = STD_VIDEO_H264_PROFILE_IDC_BASELINE,
|
||||
},
|
||||
vk::VideoEncodeUsageInfoKHR{
|
||||
.videoUsageHints = vk::VideoEncodeUsageFlagBitsKHR::eStreaming,
|
||||
.videoContentHints = vk::VideoEncodeContentFlagBitsKHR::eRendered,
|
||||
.tuningMode = vk::VideoEncodeTuningModeKHR::eUltraLowLatency,
|
||||
}};
|
||||
|
||||
@@ -46,7 +46,6 @@ class video_encoder_vulkan_h264 : public video_encoder_vulkan
|
||||
|
||||
vk::VideoEncodeH264GopRemainingFrameInfoKHR gop_info;
|
||||
vk::VideoEncodeH264RateControlInfoKHR rate_control_h264;
|
||||
vk::VideoEncodeH264RateControlLayerInfoKHR rate_control_layer_h264;
|
||||
|
||||
video_encoder_vulkan_h264(wivrn_vk_bundle & vk,
|
||||
vk::Rect2D rect,
|
||||
@@ -71,5 +70,7 @@ public:
|
||||
uint8_t stream_idx);
|
||||
|
||||
std::vector<uint8_t> get_sps_pps();
|
||||
|
||||
static const vk::StructureChain<vk::VideoProfileInfoKHR, vk::VideoEncodeH264ProfileInfoKHR, vk::VideoEncodeUsageInfoKHR> video_profile_info;
|
||||
};
|
||||
} // namespace wivrn
|
||||
|
||||
+32
-34
@@ -18,6 +18,7 @@
|
||||
#include "hostname.h"
|
||||
#include "protocol_version.h"
|
||||
#include "start_application.h"
|
||||
#include "utils/flatpak.h"
|
||||
#include "utils/overloaded.h"
|
||||
#include "version.h"
|
||||
#include "wivrn_config.h"
|
||||
@@ -127,37 +128,46 @@ int create_listen_socket()
|
||||
return fd;
|
||||
}
|
||||
|
||||
static bool pressure_vessel_openxr_support()
|
||||
static std::filesystem::path flatpak_app_path()
|
||||
{
|
||||
auto pv_var = std::getenv("PRESSURE_VESSEL_IMPORT_OPENXR_1_RUNTIMES");
|
||||
return pv_var and pv_var == std::string_view("1");
|
||||
}
|
||||
if (auto value = flatpak_key(flatpak::section::instance, "app-path"))
|
||||
{
|
||||
std::filesystem::path path = *value;
|
||||
while (path != "" and path != path.parent_path() and path.filename() != "io.github.wivrn.wivrn")
|
||||
path = path.parent_path();
|
||||
|
||||
static void append_delim(std::string & to, std::string_view what, char delim)
|
||||
{
|
||||
if (not to.empty())
|
||||
to += delim;
|
||||
to += what;
|
||||
return path;
|
||||
}
|
||||
|
||||
return "/";
|
||||
}
|
||||
|
||||
static std::string steam_command()
|
||||
{
|
||||
std::string command;
|
||||
std::string pressure_vessel_filesystems_rw = "$XDG_RUNTIME_DIR/" XRT_IPC_MSG_SOCK_FILENAME;
|
||||
std::string vr_override;
|
||||
|
||||
if (not pressure_vessel_openxr_support())
|
||||
command = "PRESSURE_VESSEL_IMPORT_OPENXR_1_RUNTIMES=1";
|
||||
|
||||
if (auto p = active_runtime::openvr_compat_path().string(); not p.empty())
|
||||
// Check if in a flatpak
|
||||
if (is_flatpak())
|
||||
{
|
||||
std::string app_path = flatpak_app_path().string();
|
||||
// /usr and /var are remapped by steam
|
||||
if (app_path.starts_with("/var"))
|
||||
pressure_vessel_filesystems_rw += ":" + app_path;
|
||||
}
|
||||
else if (auto p = active_runtime::openvr_compat_path().string(); not p.empty())
|
||||
{
|
||||
// /usr cannot be shared in pressure vessel container
|
||||
if (p.starts_with("/usr"))
|
||||
append_delim(command, " VR_OVERRIDE=/run/host" + p, ' ');
|
||||
vr_override = " VR_OVERRIDE=/run/host" + p;
|
||||
else if (p.starts_with("/var"))
|
||||
append_delim(command, "PRESSURE_VESSEL_FILESYSTEMS_RW=" + p, ' ');
|
||||
pressure_vessel_filesystems_rw += ":" + p;
|
||||
}
|
||||
|
||||
if (not command.empty())
|
||||
command += " %command%";
|
||||
std::string command = "PRESSURE_VESSEL_FILESYSTEMS_RW=" + pressure_vessel_filesystems_rw + vr_override + " %command%";
|
||||
|
||||
if (auto p = active_runtime::manifest_path().string(); p.starts_with("/usr"))
|
||||
command = "XR_RUNTIME_JSON=/run/host" + p + " " + command;
|
||||
|
||||
return command;
|
||||
}
|
||||
@@ -425,7 +435,7 @@ gboolean headset_connected_success(void *)
|
||||
}
|
||||
catch (std::exception & e)
|
||||
{
|
||||
std::cerr << "Failed to start application: " << e.what() << std::endl;
|
||||
std::cerr << "Failed to start application: " << e.what();
|
||||
}
|
||||
|
||||
delay_next_try = default_delay_next_try;
|
||||
@@ -678,18 +688,14 @@ void on_json_configuration(WivrnServer * server, const GParamSpec * pspec, gpoin
|
||||
std::filesystem::path config_new = config;
|
||||
config_new += ".new";
|
||||
|
||||
{
|
||||
std::ofstream file(config_new);
|
||||
file.write(json, strlen(json));
|
||||
}
|
||||
std::ofstream file(config_new);
|
||||
file.write(json, strlen(json));
|
||||
|
||||
std::error_code ec;
|
||||
std::filesystem::rename(config_new, config, ec);
|
||||
|
||||
if (ec)
|
||||
std::cerr << "Failed to save configuration: " << ec.message() << std::endl;
|
||||
|
||||
wivrn_server_set_steam_command(dbus_server, steam_command().c_str());
|
||||
}
|
||||
|
||||
void expose_known_keys_on_dbus()
|
||||
@@ -878,8 +884,7 @@ int inner_main(int argc, char * argv[], bool show_instructions)
|
||||
std::cerr << "WiVRn " << wivrn::git_version << " starting" << std::endl;
|
||||
if (show_instructions)
|
||||
{
|
||||
if (auto command = steam_command(); not command.empty())
|
||||
std::cerr << "For Steam games, set command to " << command << std::endl;
|
||||
std::cerr << "For Steam games, set command to " << steam_command() << std::endl;
|
||||
}
|
||||
|
||||
std::filesystem::create_directories(socket_path().parent_path());
|
||||
@@ -969,7 +974,6 @@ int main(int argc, char * argv[])
|
||||
|
||||
std::string config_file;
|
||||
app.add_option("-f", config_file, "configuration file")->option_text("FILE")->check(CLI::ExistingFile);
|
||||
auto version_flag = app.add_flag("--version")->description("print version and exit");
|
||||
auto no_active_runtime = app.add_flag("--no-manage-active-runtime")->description("don't set the active runtime on connection");
|
||||
auto early_active_runtime = app.add_flag("--early-active-runtime")->description("forcibly manages the active runtime even if no headset present");
|
||||
auto no_instructions = app.add_flag("--no-instructions")->group("");
|
||||
@@ -982,12 +986,6 @@ int main(int argc, char * argv[])
|
||||
|
||||
CLI11_PARSE(app, argc, argv);
|
||||
|
||||
if (*version_flag)
|
||||
{
|
||||
std::cout << "WiVRn version " << wivrn::git_version << std::endl;
|
||||
return 0;
|
||||
}
|
||||
|
||||
if (not config_file.empty())
|
||||
configuration::set_config_file(config_file);
|
||||
|
||||
|
||||
@@ -19,7 +19,6 @@
|
||||
#include "start_systemd_unit.h"
|
||||
#include "systemd_manager.h"
|
||||
#include "systemd_unit.h"
|
||||
#include "utils/strings.h"
|
||||
#include <gio/gio.h>
|
||||
#include <glib-object.h>
|
||||
#include <iostream>
|
||||
@@ -212,10 +211,11 @@ void systemd_units_manager::start_application(const std::vector<std::string> & a
|
||||
variant_builder argv(G_VARIANT_TYPE("as"));
|
||||
for (const auto & arg: args)
|
||||
g_variant_builder_add(&argv, "s", arg.c_str());
|
||||
auto exec_start = g_variant_new("(s@asb)",
|
||||
args.front().c_str(),
|
||||
g_variant_new("as", &argv),
|
||||
false);
|
||||
auto exec_start =
|
||||
g_variant_new("(s@asb)",
|
||||
args.front().c_str(),
|
||||
g_variant_new("as", &argv),
|
||||
false);
|
||||
g_variant_builder_add(&b,
|
||||
"(sv)",
|
||||
"ExecStart",
|
||||
@@ -224,17 +224,6 @@ void systemd_units_manager::start_application(const std::vector<std::string> & a
|
||||
&exec_start,
|
||||
1));
|
||||
|
||||
if (auto path = std::getenv("PATH"))
|
||||
{
|
||||
variant_builder pathv(G_VARIANT_TYPE("as"));
|
||||
for (auto item: utils::split(path, ":"))
|
||||
g_variant_builder_add(&pathv, "s", item.c_str());
|
||||
g_variant_builder_add(&b,
|
||||
"(sv)",
|
||||
"ExecSearchPath",
|
||||
g_variant_new("as", &pathv));
|
||||
}
|
||||
|
||||
auto properties = b.end();
|
||||
auto aux = g_variant_new_array(G_VARIANT_TYPE("(sa(sv))"), nullptr, 0);
|
||||
|
||||
|
||||
Executable
+56
@@ -0,0 +1,56 @@
|
||||
#!/bin/bash
|
||||
|
||||
cd $(dirname $0)/..
|
||||
|
||||
WIVRN_CLIENT_POT=$(mktemp)
|
||||
WIVRN_DASHBOARD_POT=$(mktemp)
|
||||
|
||||
xgettext \
|
||||
--c++ --from-code=UTF-8 \
|
||||
--keyword=_:1,1t \
|
||||
--keyword=_S:1,1t \
|
||||
--keyword=_cS:1c,2,2t \
|
||||
--keyword=_F:1,1t \
|
||||
--output=$WIVRN_CLIENT_POT \
|
||||
--package-name=WiVRn \
|
||||
$(find client/ -name "*.cpp" | sort)
|
||||
|
||||
xgettext \
|
||||
--c++ --kde --from-code=UTF-8 \
|
||||
--keyword=i18n:1 \
|
||||
--keyword=i18nc:1c,2 \
|
||||
--keyword=i18np:1,2 \
|
||||
--keyword=i18ncp:1c,2,3 \
|
||||
--output=$WIVRN_DASHBOARD_POT \
|
||||
--package-name=WiVRn-dashboard \
|
||||
$(find dashboard/ -name "*.qml" -o -name "*.cpp" | sort)
|
||||
|
||||
sed -i 's/charset=CHARSET/charset=UTF-8/g' $WIVRN_CLIENT_POT $WIVRN_DASHBOARD_POT
|
||||
|
||||
RC=0
|
||||
|
||||
for i in locale/*
|
||||
do
|
||||
if [ -f $i/wivrn.po ]
|
||||
then
|
||||
tools/check_po.py $WIVRN_CLIENT_POT $i/wivrn.po $(basename $i)
|
||||
if [ $? != 0 ]
|
||||
then
|
||||
RC=1
|
||||
fi
|
||||
fi
|
||||
|
||||
if [ -f $i/wivrn-dashboard.po ]
|
||||
then
|
||||
tools/check_po.py $WIVRN_DASHBOARD_POT $i/wivrn-dashboard.po $(basename $i)
|
||||
|
||||
if [ $? != 0 ]
|
||||
then
|
||||
RC=1
|
||||
fi
|
||||
fi
|
||||
done
|
||||
|
||||
rm $WIVRN_CLIENT_POT $WIVRN_DASHBOARD_POT
|
||||
|
||||
exit $RC
|
||||
+36
-117
@@ -1,132 +1,51 @@
|
||||
#!/usr/bin/env python
|
||||
|
||||
import sys
|
||||
import polib
|
||||
import argparse
|
||||
import os
|
||||
import pathlib
|
||||
import subprocess
|
||||
import tempfile
|
||||
|
||||
def list_files(base: str, exts: str|list[str]):
|
||||
if type(exts) == str:
|
||||
exts = [exts]
|
||||
for root, dirs, files in os.walk(base):
|
||||
for f in files:
|
||||
for ext in exts:
|
||||
if f.endswith(ext):
|
||||
yield os.path.join(root, f)
|
||||
parser = argparse.ArgumentParser(
|
||||
prog='check_po.py',
|
||||
description='Check that all strings are translated in a .po file')
|
||||
|
||||
def flag(lang: str):
|
||||
# Map language code to a country flag
|
||||
countries = {
|
||||
'es': 'es',
|
||||
'fr': 'fr',
|
||||
'it': 'it',
|
||||
'ja': 'jp',
|
||||
'zh_TW': 'tw',
|
||||
'pt_BR': 'br'
|
||||
}
|
||||
parser.add_argument('ref', type=pathlib.Path)
|
||||
parser.add_argument('file', type=pathlib.Path)
|
||||
parser.add_argument('lang', type=str)
|
||||
|
||||
country = countries.get(lang, lang)
|
||||
args = parser.parse_args()
|
||||
|
||||
res = ''
|
||||
for i in country.upper():
|
||||
res += chr(ord(i) + ord('🇦') - ord('A'))
|
||||
return res
|
||||
po_ref = polib.pofile(args.ref)
|
||||
|
||||
ISSUE_LABEL="localisation"
|
||||
ISSUE_TITLE="[{lang}] Missing translations"
|
||||
po_file = polib.pofile(args.file)
|
||||
entries = [i.msgid for i in po_file.translated_entries()]
|
||||
|
||||
if __name__ == "__main__":
|
||||
root = os.path.dirname(os.path.dirname(__file__))
|
||||
locale_dir = os.path.join(root, "locale")
|
||||
cwd = os.getcwd()
|
||||
# Map language code to a country flag
|
||||
countries = {
|
||||
'es': 'es',
|
||||
'fr': 'fr',
|
||||
'it': 'it',
|
||||
'ja': 'jp',
|
||||
'zh_TW': 'tw',
|
||||
'pt_BR': 'br'
|
||||
}
|
||||
|
||||
parser = argparse.ArgumentParser(
|
||||
prog='check_po.py',
|
||||
description='Check that all strings are translated in a .po file')
|
||||
if args.lang in countries:
|
||||
country = countries[args.lang]
|
||||
else:
|
||||
country = args.lang
|
||||
|
||||
parser.add_argument('lang', type=str, nargs="*")
|
||||
parser.add_argument('--github-repository')
|
||||
parser.add_argument('--github-token')
|
||||
parser.add_argument('--manage-issues', action="store_true")
|
||||
flag = ''
|
||||
for i in country.upper():
|
||||
flag += chr(ord(i) + ord('🇦') - ord('A'))
|
||||
|
||||
args = parser.parse_args()
|
||||
missing = 0
|
||||
for i in po_ref:
|
||||
if not i.obsolete:
|
||||
if not i.msgid in entries:
|
||||
missing = missing + 1
|
||||
print(f"::notice file={args.file}::{flag} Translation for {repr(i.msgid)} is missing")
|
||||
|
||||
if len(args.lang) == 0:
|
||||
for d in sorted(os.listdir(locale_dir)):
|
||||
if os.path.isdir(os.path.join(locale_dir, d)):
|
||||
args.lang.append(d)
|
||||
|
||||
if args.manage_issues:
|
||||
from github import Github, Auth
|
||||
gh = Github(auth=Auth.Token(args.github_token))
|
||||
repo = gh.get_repo(args.github_repository)
|
||||
|
||||
with tempfile.TemporaryDirectory() as tmpdir:
|
||||
client_pot = os.path.join(tmpdir, "client.pot")
|
||||
dashboard_pot = os.path.join(tmpdir, "dashboard.pot")
|
||||
|
||||
subprocess.check_call(
|
||||
["xgettext",
|
||||
"--c++", "--from-code=UTF-8",
|
||||
"--keyword=_:1,1t",
|
||||
"--keyword=_S:1,1t",
|
||||
"--keyword=_cS:1c,2,2t",
|
||||
"--keyword=_F:1,1t",
|
||||
"--output", client_pot,
|
||||
"--package-name=WiVRn",
|
||||
] + sorted(list_files(os.path.join(root, "client"), ".cpp"))
|
||||
)
|
||||
|
||||
subprocess.check_call(
|
||||
["xgettext",
|
||||
"--c++", "--kde", "--from-code=UTF-8",
|
||||
"--keyword=i18n:1",
|
||||
"--keyword=i18nc:1c,2",
|
||||
"--keyword=i18np:1,2",
|
||||
"--keyword=i18ncp:1c,2,3",
|
||||
"--output", dashboard_pot,
|
||||
"--package-name=WiVRn-dashboard",
|
||||
] + sorted(list_files(os.path.join(root, "dashboard"), [".cpp", ".qml"]))
|
||||
)
|
||||
|
||||
client_ref = polib.pofile(client_pot)
|
||||
dashboard_ref = polib.pofile(dashboard_pot)
|
||||
|
||||
for lang in args.lang:
|
||||
lang_issues = 0
|
||||
for po_ref, po in ((client_ref, os.path.join(locale_dir, lang, "wivrn.po")),
|
||||
(dashboard_ref, os.path.join(locale_dir, lang, "wivrn-dashboard.po"))):
|
||||
if not os.path.exists(po):
|
||||
continue
|
||||
po_file = polib.pofile(po)
|
||||
po = os.path.relpath(po, cwd)
|
||||
entries = [i.msgid for i in po_file.translated_entries()]
|
||||
|
||||
missing = 0
|
||||
for i in po_ref:
|
||||
if not i.obsolete:
|
||||
if not i.msgid in entries:
|
||||
missing = missing + 1
|
||||
print(f"::notice file={po}::{flag(lang)} Translation for {repr(i.msgid)} is missing")
|
||||
lang_issues += missing
|
||||
|
||||
if missing > 0:
|
||||
print(f"::warning file={po}::{flag(lang)} {missing} translations missing")
|
||||
|
||||
if args.manage_issues:
|
||||
issues = [i for i in repo.get_issues(state="all", labels = [ISSUE_LABEL]) if i.title == ISSUE_TITLE.format(lang=lang)]
|
||||
if lang_issues > 0:
|
||||
if issues:
|
||||
for issue in issues:
|
||||
if issue.state != "open":
|
||||
issue.edit(state="open")
|
||||
else:
|
||||
issue = repo.create_issue(
|
||||
title=ISSUE_TITLE.format(lang=lang),
|
||||
labels=[ISSUE_LABEL]
|
||||
)
|
||||
else:
|
||||
for issue in issues:
|
||||
issue.edit(state="closed")
|
||||
if missing > 0:
|
||||
print(f"::warning file={args.file}::{flag} {missing} translations missing")
|
||||
sys.exit(1)
|
||||
|
||||
Reference in New Issue
Block a user