Merge remote-tracking branch 'upstream/master'
This commit is contained in:
@@ -510,10 +510,21 @@ jobs:
|
|||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
path: wivrn
|
path: wivrn
|
||||||
|
|
||||||
|
- name: Check for FLATHUB_TOKEN
|
||||||
|
id: flathub-token-check
|
||||||
|
shell: bash
|
||||||
|
run: |
|
||||||
|
if [[ "${{ secrets.FLATHUB_TOKEN}}" != '' ]]; then
|
||||||
|
echo "available=true" >> $GITHUB_OUTPUT;
|
||||||
|
else
|
||||||
|
echo "available=false" >> $GITHUB_OUTPUT;
|
||||||
|
fi
|
||||||
|
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
if: ${{ steps.flathub-token-check.outputs.available == 'true' }}
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
repository: WiVRn/io.github.wivrn.wivrn
|
repository: ${{ github.repository_owner }}/io.github.wivrn.wivrn
|
||||||
path: flathub
|
path: flathub
|
||||||
token: ${{ secrets.FLATHUB_TOKEN }}
|
token: ${{ secrets.FLATHUB_TOKEN }}
|
||||||
|
|
||||||
@@ -541,13 +552,14 @@ jobs:
|
|||||||
flatpak/*.flatpak
|
flatpak/*.flatpak
|
||||||
|
|
||||||
- name: Update flatpak manifest for flathub
|
- name: Update flatpak manifest for flathub
|
||||||
|
if: ${{ steps.flathub-token-check.outputs.available == 'true' }}
|
||||||
run: |
|
run: |
|
||||||
WIVRN_TAG=$(echo $GITHUB_REF | sed -E -e "s,refs/[^/]*/v?,,")
|
WIVRN_TAG=$(echo $GITHUB_REF | sed -E -e "s,refs/[^/]*/v?,,")
|
||||||
|
|
||||||
git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com"
|
git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com"
|
||||||
git config --global user.name "github-actions[bot]"
|
git config --global user.name "github-actions[bot]"
|
||||||
|
|
||||||
apt install python-toml python-aiohttp
|
sudo apt-get install python-toml python-aiohttp
|
||||||
|
|
||||||
cd flathub
|
cd flathub
|
||||||
git remote add upstream https://github.com/flathub/io.github.wivrn.wivrn.git
|
git remote add upstream https://github.com/flathub/io.github.wivrn.wivrn.git
|
||||||
@@ -568,8 +580,9 @@ jobs:
|
|||||||
- name: Update release branch
|
- name: Update release branch
|
||||||
run: |
|
run: |
|
||||||
cd wivrn
|
cd wivrn
|
||||||
git fetch origin release
|
if git fetch origin release; then
|
||||||
git push origin HEAD:release
|
git push origin HEAD:release
|
||||||
|
fi
|
||||||
|
|
||||||
sync_fork_downstream:
|
sync_fork_downstream:
|
||||||
name: Sync fork downstream
|
name: Sync fork downstream
|
||||||
|
|||||||
@@ -69,6 +69,16 @@
|
|||||||
<content_rating type="oars-1.1" />
|
<content_rating type="oars-1.1" />
|
||||||
|
|
||||||
<releases>
|
<releases>
|
||||||
|
<release version="0.25" date="2025-05-18">
|
||||||
|
<url type="details">https://github.com/WiVRn/WiVRn/releases/tag/v0.25</url>
|
||||||
|
<description>
|
||||||
|
<ul>
|
||||||
|
<li>Client-side post-processing (sharpening)</li>
|
||||||
|
<li>Configurable OpenVR compatibility library and path to adb</li>
|
||||||
|
<li>Include xrizer in flatpak release</li>
|
||||||
|
</ul>
|
||||||
|
</description>
|
||||||
|
</release>
|
||||||
<release version="0.24.1" date="2025-04-10">
|
<release version="0.24.1" date="2025-04-10">
|
||||||
<url type="details">https://github.com/WiVRn/WiVRn/releases/tag/v0.24.1</url>
|
<url type="details">https://github.com/WiVRn/WiVRn/releases/tag/v0.24.1</url>
|
||||||
<description>
|
<description>
|
||||||
|
|||||||
@@ -312,7 +312,7 @@ video_encoder_va::video_encoder_va(wivrn_vk_bundle & vk,
|
|||||||
auto & image = (i == 0 ? luma : chroma);
|
auto & image = (i == 0 ? luma : chroma);
|
||||||
image = vk.device.createImage(image_create_info.get());
|
image = vk.device.createImage(image_create_info.get());
|
||||||
|
|
||||||
auto [req, ded_req] = vk.device.getImageMemoryRequirements2<vk::MemoryRequirements2, vk::MemoryDedicatedRequirements>({.image = image});
|
auto [req, ded_req] = vk.device.getImageMemoryRequirements2<vk::MemoryRequirements2, vk::MemoryDedicatedRequirements>({.image = *image});
|
||||||
|
|
||||||
const auto & object = desc->objects[desc->layers[i].planes[0].object_index];
|
const auto & object = desc->objects[desc->layers[i].planes[0].object_index];
|
||||||
auto memory_props = vk.device.getMemoryFdPropertiesKHR(vk::ExternalMemoryHandleTypeFlagBits::eDmaBufEXT, object.fd);
|
auto memory_props = vk.device.getMemoryFdPropertiesKHR(vk::ExternalMemoryHandleTypeFlagBits::eDmaBufEXT, object.fd);
|
||||||
@@ -327,7 +327,7 @@ video_encoder_va::video_encoder_va(wivrn_vk_bundle & vk,
|
|||||||
.fd = dup(object.fd),
|
.fd = dup(object.fd),
|
||||||
},
|
},
|
||||||
vk::MemoryDedicatedAllocateInfo{
|
vk::MemoryDedicatedAllocateInfo{
|
||||||
.image = image,
|
.image = *image,
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
if (not(ded_req.prefersDedicatedAllocation or ded_req.requiresDedicatedAllocation))
|
if (not(ded_req.prefersDedicatedAllocation or ded_req.requiresDedicatedAllocation))
|
||||||
|
|||||||
@@ -51,7 +51,7 @@ def main():
|
|||||||
tree = ET.parse(args.metainfo)
|
tree = ET.parse(args.metainfo)
|
||||||
|
|
||||||
if args.nightly:
|
if args.nightly:
|
||||||
version = subprocess.check_output(["git", "describe", "--tags"]).decode().strip()
|
version = subprocess.check_output(["git", "describe", "--tags", "--always"]).decode().strip()
|
||||||
version = version[1:] # remove the initial "v"
|
version = version[1:] # remove the initial "v"
|
||||||
write_entry(
|
write_entry(
|
||||||
out=args.out,
|
out=args.out,
|
||||||
|
|||||||
Reference in New Issue
Block a user