Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hello_xr: Make Vulkan's mirror window optional #395

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

utzcoz
Copy link
Contributor

@utzcoz utzcoz commented Apr 5, 2023

I decide to disable it default.

Fixes: #392.

@utzcoz utzcoz changed the title hello_xr: Disable USE_MIRROR_WINDOW for Vulkan version default Disable USE_MIRROR_WINDOW for Vulkan version default Apr 5, 2023
@utzcoz utzcoz changed the title Disable USE_MIRROR_WINDOW for Vulkan version default Disable USE_MIRROR_WINDOW for Vulkan version of hello_xr default Apr 5, 2023
@rpavlik-bot rpavlik-bot added the synced to gitlab Synchronized to OpenXR internal GitLab label Apr 5, 2023
@rpavlik-bot
Copy link
Collaborator

An issue (number 1984) has been filed to correspond to this pull request in the internal Khronos GitLab (Khronos members only: KHR:openxr/openxr#1984 ), to facilitate working group processes.

This GitHub pull request will continue to be the main site of discussion.

@rpavlik
Copy link
Contributor

rpavlik commented Apr 6, 2023

The WG would prefer having it as a command-line argument, suspecting that the next person who wants to use it will submit a PR re-enabling it 🤣

Making it a configuration option in CMake might be a useful halfway point I forgot to raise during the call.

@utzcoz
Copy link
Contributor Author

utzcoz commented Apr 8, 2023

Making it a configuration option in CMake might be a useful halfway point I forgot to raise during the call.

Do I need to support it at this PR or next PR. It is all fine to me.

@rpavlik
Copy link
Contributor

rpavlik commented Apr 8, 2023

I think they didn't want to merge this one, so probably either keep this patch locally or try a Cmake or runtime option.

@utzcoz
Copy link
Contributor Author

utzcoz commented Apr 9, 2023

I think they didn't want to merge this one, so probably either keep this patch locally or try a Cmake or runtime option.

No problem. I will try to improve this PR with cmake or runtime option.

@utzcoz utzcoz force-pushed the disable-USE_MIRROR_WINDOW-default branch 2 times, most recently from 87efbef to 6289fde Compare July 2, 2023 05:40
@utzcoz utzcoz changed the title Disable USE_MIRROR_WINDOW for Vulkan version of hello_xr default hello_xr: Make Vulkan's mirror window optional Jul 2, 2023
@utzcoz utzcoz force-pushed the disable-USE_MIRROR_WINDOW-default branch 2 times, most recently from 4aace6c to 8d3ab5e Compare July 2, 2023 05:49
The Vulkan's mirror window is disabled default, and we use
"--mirrorwindow|-mw true" to enable it.

Signed-off-by: utzcoz <utzcoz@outlook.com>
Signed-off-by: utzcoz <utzcoz@outlook.com>
@utzcoz utzcoz force-pushed the disable-USE_MIRROR_WINDOW-default branch from 8d3ab5e to 11b0a24 Compare July 2, 2023 09:01
@utzcoz
Copy link
Contributor Author

utzcoz commented Jul 3, 2023

Hi @rpavlik , I updated the patch to make mirror window optional with new command argument: --mirrorwindow|-mw. Please help review new patch to check what extra things that I need to do to meet requirements. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
synced to gitlab Synchronized to OpenXR internal GitLab
Projects
None yet
Development

Successfully merging this pull request may close these issues.

HelloXR Vulkan version enables USE_MIRROR_WINDOW default, and it is annoying when testing it on Windows
3 participants