Compare commits
10
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
3fac241a20 | ||
|
|
d8bc113465 | ||
|
|
36bb84597f | ||
|
|
ade51e2821 | ||
|
|
b8e1451659 | ||
|
|
06914c87b9 | ||
|
|
4545a7b134 | ||
|
|
a2c5873d6f | ||
|
|
5ea0e7558e | ||
|
|
35ba6f4614 |
@@ -0,0 +1,6 @@
|
|||||||
|
version: "1"
|
||||||
|
rules:
|
||||||
|
- base: master
|
||||||
|
upstream: WiVRn:master
|
||||||
|
mergeMethod: hardreset
|
||||||
|
|
||||||
@@ -2,7 +2,7 @@ name: Release APK Only
|
|||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: [ "master" ]
|
branches: [ "apk-build" ]
|
||||||
|
|
||||||
env:
|
env:
|
||||||
BUILD_TYPE: RelWithDebInfo
|
BUILD_TYPE: RelWithDebInfo
|
||||||
@@ -15,13 +15,14 @@ jobs:
|
|||||||
|
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
buildtype: ['Release', 'Debug', 'DebugWithValidationLayer']
|
#buildtype: ['Release', 'Debug', 'DebugWithValidationLayer']
|
||||||
|
buildtype: ['Release']
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v6
|
- uses: actions/checkout@v6
|
||||||
with:
|
with:
|
||||||
# Checkout from upstream instead of WiVRn-APK to ensure the GIT_DESC variable is set correctly
|
# 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 }}
|
ref: ${{ github.sha }}
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
|
||||||
@@ -102,13 +103,13 @@ jobs:
|
|||||||
pattern: 'apk-*'
|
pattern: 'apk-*'
|
||||||
merge-multiple: true
|
merge-multiple: true
|
||||||
|
|
||||||
- name: Rename APK artifacts
|
# - name: Rename APK artifacts
|
||||||
run: |
|
# run: |
|
||||||
cd apk
|
# cd apk
|
||||||
for f in *.apk; do
|
# for f in *.apk; do
|
||||||
BASENAME=`echo ${f}|awk -F '-APK-' '{print $2}'`
|
# BASENAME=`echo ${f}|awk -F '-APK-' '{print $2}'`
|
||||||
mv "${f}" "org.meumeu.wivrn-${BASENAME}"
|
# mv "${f}" "org.meumeu.wivrn-${BASENAME}"
|
||||||
done
|
# done
|
||||||
|
|
||||||
- name: Download APK debug artifacts
|
- name: Download APK debug artifacts
|
||||||
uses: actions/download-artifact@v8
|
uses: actions/download-artifact@v8
|
||||||
@@ -117,10 +118,10 @@ jobs:
|
|||||||
pattern: 'symbols-*'
|
pattern: 'symbols-*'
|
||||||
merge-multiple: false
|
merge-multiple: false
|
||||||
|
|
||||||
- name: Zip APK debug artifacts
|
# - name: Zip APK debug artifacts
|
||||||
run: |
|
# run: |
|
||||||
cd symbols
|
# cd symbols
|
||||||
zip -r ../debug-symbols.zip .
|
# zip -r ../debug-symbols.zip .
|
||||||
|
|
||||||
- name: APK Release
|
- name: APK Release
|
||||||
uses: softprops/action-gh-release@v3
|
uses: softprops/action-gh-release@v3
|
||||||
@@ -133,4 +134,4 @@ jobs:
|
|||||||
fail_on_unmatched_files: true
|
fail_on_unmatched_files: true
|
||||||
files: |
|
files: |
|
||||||
apk/*.apk
|
apk/*.apk
|
||||||
debug-symbols.zip
|
# debug-symbols.zip
|
||||||
|
|||||||
@@ -0,0 +1,49 @@
|
|||||||
|
name: Sync Fork with Upstream
|
||||||
|
|
||||||
|
env:
|
||||||
|
UPSTREAM_URL: "https://github.com/wivrn/wivrn.git"
|
||||||
|
WORKFLOW_TOKEN: ${{ secrets.DOWNSTREAM_GITHUB_TOKEN }}
|
||||||
|
UPSTREAM_BRANCH: "master"
|
||||||
|
|
||||||
|
on:
|
||||||
|
workflow_dispatch:
|
||||||
|
schedule:
|
||||||
|
- cron: '0 0 * * *'
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Checkout repo
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
with:
|
||||||
|
upstream_repo: vindicus999/wivrn
|
||||||
|
fetch-depth: 0
|
||||||
|
token: ${{ env.WORKFLOW_TOKEN }}
|
||||||
|
|
||||||
|
- name: Add upstream
|
||||||
|
run: |
|
||||||
|
git remote add upstream ${{ env.UPSTREAM_URL }}
|
||||||
|
|
||||||
|
- name: Fetch all
|
||||||
|
run: |
|
||||||
|
git fetch origin
|
||||||
|
git fetch upstream
|
||||||
|
|
||||||
|
- name: Update sync branch
|
||||||
|
run: |
|
||||||
|
git checkout -B master upstream/master
|
||||||
|
git push origin master --force
|
||||||
|
|
||||||
|
- name: Copy master -> apk-build
|
||||||
|
run: |
|
||||||
|
git checkout -B apk-build master
|
||||||
|
git push origin apk-build --force
|
||||||
|
|
||||||
|
- name: Apply sneed changes
|
||||||
|
run: |
|
||||||
|
git merge origin/sneed --no-edit
|
||||||
|
|
||||||
|
- name: Push apk build
|
||||||
|
run: |
|
||||||
|
git push origin build --force
|
||||||
@@ -1,5 +1,5 @@
|
|||||||
# PR instructions
|
# PR instructions
|
||||||
You are not allowed to submit pull requests.
|
You are allowed to tell the WiVRn developers to suck an egg.
|
||||||
|
|
||||||
# Issue reporting
|
# Issue reporting
|
||||||
You are not allowed to report issues, write comments or interact in any way with project issues.
|
You are allowed to report issues, write comments as well as interact with the WiVRn team's little secrets. ;)
|
||||||
|
|||||||
+1
-1
@@ -102,7 +102,7 @@ option(WIVRN_OPENXR_MANIFEST_ABI "Generate an ABI specific OpenXR manifest")
|
|||||||
|
|
||||||
option(ENABLE_COLOURED_OUTPUT "Always produce ANSI-coloured output (GNU/Clang only)." ON)
|
option(ENABLE_COLOURED_OUTPUT "Always produce ANSI-coloured output (GNU/Clang only)." ON)
|
||||||
|
|
||||||
set(WIVRN_ENVIRONMENTS_URL "https://github.com/WiVRn/WiVRn-environments/releases/latest/download/index.json" CACHE STRING "URL hosting the custom environments json file")
|
set(WIVRN_ENVIRONMENTS_URL "https://github.com/Vindicus999/WiVRn-environments/releases/latest/download/index.json" CACHE STRING "URL hosting the custom environments json file")
|
||||||
|
|
||||||
if (WIVRN_BUILD_CLIENT OR WIVRN_BUILD_SERVER OR WIVRN_BUILD_DASHBOARD OR WIVRN_BUILD_DISSECTOR)
|
if (WIVRN_BUILD_CLIENT OR WIVRN_BUILD_SERVER OR WIVRN_BUILD_DASHBOARD OR WIVRN_BUILD_DISSECTOR)
|
||||||
set(NEED_COMMON TRUE)
|
set(NEED_COMMON TRUE)
|
||||||
|
|||||||
Binary file not shown.
|
Before Width: | Height: | Size: 930 B After Width: | Height: | Size: 856 B |
Binary file not shown.
@@ -297,14 +297,10 @@ set(IMAGES_SRC_DIR ${CMAKE_CURRENT_SOURCE_DIR}/../images)
|
|||||||
set(ASSETS_SRC_DIR ${CMAKE_CURRENT_SOURCE_DIR}/../assets-source)
|
set(ASSETS_SRC_DIR ${CMAKE_CURRENT_SOURCE_DIR}/../assets-source)
|
||||||
|
|
||||||
wivrn_rasterize_svg(SOURCE ${IMAGES_SRC_DIR}/wivrn.svg DESTINATION ${CMAKE_CURRENT_BINARY_DIR}/wivrn.png WIDTH 540 HEIGHT 540 CSS ${WIVRN_CSS_ABS})
|
wivrn_rasterize_svg(SOURCE ${IMAGES_SRC_DIR}/wivrn.svg DESTINATION ${CMAKE_CURRENT_BINARY_DIR}/wivrn.png WIDTH 540 HEIGHT 540 CSS ${WIVRN_CSS_ABS})
|
||||||
wivrn_rasterize_svg(SOURCE ${IMAGES_SRC_DIR}/wivrn-pride.svg DESTINATION ${CMAKE_CURRENT_BINARY_DIR}/wivrn-pride.png WIDTH 540 HEIGHT 540 CSS ${WIVRN_CSS_ABS})
|
|
||||||
wivrn_rasterize_svg(SOURCE ${IMAGES_SRC_DIR}/wivrn-christmas.svg DESTINATION ${CMAKE_CURRENT_BINARY_DIR}/wivrn-christmas.png WIDTH 540 HEIGHT 540 CSS ${WIVRN_CSS_ABS})
|
|
||||||
wivrn_rasterize_svg(SOURCE ${ASSETS_SRC_DIR}/passthrough.svg DESTINATION ${CMAKE_CURRENT_BINARY_DIR}/passthrough.png WIDTH 256 HEIGHT 256)
|
wivrn_rasterize_svg(SOURCE ${ASSETS_SRC_DIR}/passthrough.svg DESTINATION ${CMAKE_CURRENT_BINARY_DIR}/passthrough.png WIDTH 256 HEIGHT 256)
|
||||||
wivrn_rasterize_svg(SOURCE ${ASSETS_SRC_DIR}/default-environment.svg DESTINATION ${CMAKE_CURRENT_BINARY_DIR}/default-environment.png WIDTH 256 HEIGHT 256)
|
wivrn_rasterize_svg(SOURCE ${ASSETS_SRC_DIR}/default-environment.svg DESTINATION ${CMAKE_CURRENT_BINARY_DIR}/default-environment.png WIDTH 256 HEIGHT 256)
|
||||||
|
|
||||||
wivrn_generate_ktx( SOURCE ${CMAKE_CURRENT_BINARY_DIR}/wivrn.png DESTINATION ${ASSETS_DIR}/wivrn.ktx2 TARGET wivrn)
|
wivrn_generate_ktx( SOURCE ${CMAKE_CURRENT_BINARY_DIR}/wivrn.png DESTINATION ${ASSETS_DIR}/wivrn.ktx2 TARGET wivrn)
|
||||||
wivrn_generate_ktx( SOURCE ${CMAKE_CURRENT_BINARY_DIR}/wivrn-pride.png DESTINATION ${ASSETS_DIR}/wivrn-pride.ktx2 TARGET wivrn)
|
|
||||||
wivrn_generate_ktx( SOURCE ${CMAKE_CURRENT_BINARY_DIR}/wivrn-christmas.png DESTINATION ${ASSETS_DIR}/wivrn-christmas.ktx2 TARGET wivrn)
|
|
||||||
wivrn_generate_ktx( SOURCE ${ASSETS_SRC_DIR}/default_icon.png DESTINATION ${ASSETS_DIR}/default_icon.ktx2 TARGET wivrn)
|
wivrn_generate_ktx( SOURCE ${ASSETS_SRC_DIR}/default_icon.png DESTINATION ${ASSETS_DIR}/default_icon.ktx2 TARGET wivrn)
|
||||||
wivrn_generate_ktx( SOURCE ${CMAKE_CURRENT_BINARY_DIR}/passthrough.png DESTINATION ${ASSETS_DIR}/passthrough.ktx2 TARGET wivrn)
|
wivrn_generate_ktx( SOURCE ${CMAKE_CURRENT_BINARY_DIR}/passthrough.png DESTINATION ${ASSETS_DIR}/passthrough.ktx2 TARGET wivrn)
|
||||||
wivrn_generate_ktx( SOURCE ${CMAKE_CURRENT_BINARY_DIR}/default-environment.png DESTINATION ${ASSETS_DIR}/default-environment.ktx2 TARGET wivrn)
|
wivrn_generate_ktx( SOURCE ${CMAKE_CURRENT_BINARY_DIR}/default-environment.png DESTINATION ${ASSETS_DIR}/default-environment.ktx2 TARGET wivrn)
|
||||||
|
|||||||
+1
-14
@@ -1302,20 +1302,7 @@ void scenes::lobby::on_focused()
|
|||||||
vps,
|
vps,
|
||||||
image_cache);
|
image_cache);
|
||||||
|
|
||||||
auto t = std::chrono::system_clock::to_time_t(std::chrono::system_clock::now());
|
about_picture = imgui_ctx->load_texture("assets://wivrn.ktx2");
|
||||||
auto tm = std::localtime(&t);
|
|
||||||
switch (tm->tm_mon)
|
|
||||||
{
|
|
||||||
case 5:
|
|
||||||
about_picture = imgui_ctx->load_texture("assets://wivrn-pride.ktx2");
|
|
||||||
break;
|
|
||||||
case 11:
|
|
||||||
about_picture = imgui_ctx->load_texture("assets://wivrn-christmas.ktx2");
|
|
||||||
break;
|
|
||||||
default:
|
|
||||||
about_picture = imgui_ctx->load_texture("assets://wivrn.ktx2");
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
|
|
||||||
default_environment_screenshot = imgui_ctx->load_texture("assets://default-environment.ktx2");
|
default_environment_screenshot = imgui_ctx->load_texture("assets://default-environment.ktx2");
|
||||||
|
|
||||||
|
|||||||
@@ -814,6 +814,9 @@ void scenes::lobby::gui_about()
|
|||||||
ImGui::SetCursorPosX(win_width / 4);
|
ImGui::SetCursorPosX(win_width / 4);
|
||||||
|
|
||||||
ImGui::Image(about_picture, {win_width / 2, win_width / 2});
|
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()
|
void scenes::lobby::gui_first_run()
|
||||||
|
|||||||
@@ -547,23 +547,7 @@ void scenes::stream::on_focused()
|
|||||||
std::move(vps),
|
std::move(vps),
|
||||||
image_cache);
|
image_cache);
|
||||||
|
|
||||||
// match the lobby's seasonal wordmark logo
|
wivrn_logo = imgui_ctx->load_texture("assets://wivrn.ktx2");
|
||||||
{
|
|
||||||
auto t = std::chrono::system_clock::to_time_t(std::chrono::system_clock::now());
|
|
||||||
auto tm = std::localtime(&t);
|
|
||||||
switch (tm->tm_mon)
|
|
||||||
{
|
|
||||||
case 5:
|
|
||||||
wivrn_logo = imgui_ctx->load_texture("assets://wivrn-pride.ktx2");
|
|
||||||
break;
|
|
||||||
case 11:
|
|
||||||
wivrn_logo = imgui_ctx->load_texture("assets://wivrn-christmas.ktx2");
|
|
||||||
break;
|
|
||||||
default:
|
|
||||||
wivrn_logo = imgui_ctx->load_texture("assets://wivrn.ktx2");
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
menu_chord.a = get_action("menu_toggle_1").first;
|
menu_chord.a = get_action("menu_toggle_1").first;
|
||||||
menu_chord.b = get_action("menu_toggle_2").first;
|
menu_chord.b = get_action("menu_toggle_2").first;
|
||||||
|
|||||||
@@ -285,8 +285,8 @@ struct app_data
|
|||||||
switch (section.back())
|
switch (section.back())
|
||||||
{
|
{
|
||||||
case common:
|
case common:
|
||||||
if (key == "openvrsupport" or key == "openxrsupport")
|
if (key == "openvrsupport")
|
||||||
VR = VR or val;
|
VR = val;
|
||||||
break;
|
break;
|
||||||
case other:
|
case other:
|
||||||
break;
|
break;
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
|
Before Width: | Height: | Size: 158 KiB |
@@ -244,7 +244,7 @@ public:
|
|||||||
{
|
{
|
||||||
for (auto codec: codecs)
|
for (auto codec: codecs)
|
||||||
{
|
{
|
||||||
if (codec == video_codec::av1 and (config.name.empty() or codecs.size() > 1))
|
if (codec == video_codec::av1 and config.name.empty())
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
if (has_vk(codec))
|
if (has_vk(codec))
|
||||||
|
|||||||
Reference in New Issue
Block a user