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

Add support for XR_FB_android_surface_swapchain_create #208

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dsnopek
Copy link
Collaborator

@dsnopek dsnopek commented Sep 20, 2024

This adds support for XR_FB_android_surface_swapchain_create which gives two new flags that can be used to customize the creation of Android surface swapchains.

It depends on Godot PR godotengine/godot#97252 (so setting as a draft for now)

That means that this will require Godot 4.4, which is why it is also updating the extension_api.json and godot-cpp. After this is merged, then the master branch will only work with Godot 4.4 (relating to our discussion from the last XR team meeting).

@dsnopek dsnopek added the enhancement New feature or request label Sep 20, 2024
@dsnopek dsnopek added this to the 4.x milestone Sep 20, 2024
@dsnopek dsnopek marked this pull request as draft September 20, 2024 21:38
@dsnopek dsnopek force-pushed the fb-android-surface-swapchain-create branch 2 times, most recently from 74d2333 to bfeacca Compare September 20, 2024 22:30
@dsnopek dsnopek marked this pull request as ready for review September 23, 2024 14:07
@dsnopek
Copy link
Collaborator Author

dsnopek commented Sep 23, 2024

Taking this out of draft now that the Godot PR has been merged. However, this actually won't pass tests on the XR Simulator until after 4.4-dev3 is released and I change the CI to point to that, so I guess this will still need to wait a bit before we can merge it.

Copy link
Collaborator

@devloglogan devloglogan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Minus my one little nit.

@dsnopek dsnopek force-pushed the fb-android-surface-swapchain-create branch from bfeacca to 2166ac9 Compare September 25, 2024 11:09
@dsnopek dsnopek force-pushed the fb-android-surface-swapchain-create branch from 2166ac9 to 027116e Compare October 2, 2024 13:36
@dsnopek
Copy link
Collaborator Author

dsnopek commented Oct 29, 2024

FYI, this one is failing testing because of a bug in Godot 4.4-dev3 - see godotengine/godot#98102

It was fixed in PR godotengine/godot#98187 which is already merged and should be included in Godot 4.4-dev4.

I'll update the CI to use 4.4-dev4 once it's released!

@dsnopek dsnopek force-pushed the fb-android-surface-swapchain-create branch from 027116e to 858ac5f Compare November 18, 2024 22:58
@dsnopek dsnopek force-pushed the fb-android-surface-swapchain-create branch from 858ac5f to 83687e5 Compare November 25, 2024 21:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants