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_composition_layer_secure_content #117

Merged

Conversation

dsnopek
Copy link
Collaborator

@dsnopek dsnopek commented Apr 5, 2024

This depends on PR godotengine/godot#90237

It adds a new "External Output" property to OpenXRCompositionLayer nodes, which can be used to set the flags used by XR_FB_composition_layer_secure_content to configure the given composition layer:

Selection_138

I've tested this on the Meta Quest 3 and it works!

When casting to the web, setting the composition layer to "Replace" will display it blacked out in the cast, and setting to "Exclude" will remove it from the cast entirely. As expected, the setting has no effect in the headset.

Marking as draft until the Godot PR is merged.

@dsnopek dsnopek added the enhancement New feature or request label Apr 5, 2024
@dsnopek dsnopek requested a review from m4gr3d April 5, 2024 04:20
@dsnopek dsnopek marked this pull request as draft April 5, 2024 04:23
@m4gr3d m4gr3d added this to the 3.0.0 milestone Apr 5, 2024
@m4gr3d m4gr3d requested a review from BastiaanOlij April 5, 2024 04:34
@dsnopek dsnopek force-pushed the xr-fb-composition-layer-secure-content branch from 006982e to ca0d89d Compare April 5, 2024 12:14
@dsnopek dsnopek requested a review from m4gr3d April 5, 2024 12:15
@dsnopek dsnopek force-pushed the xr-fb-composition-layer-secure-content branch from ca0d89d to 0561c9b Compare April 5, 2024 13:28
@dsnopek dsnopek requested a review from m4gr3d April 5, 2024 13:29
@dsnopek dsnopek marked this pull request as ready for review April 8, 2024 13:38
@dsnopek
Copy link
Collaborator Author

dsnopek commented Apr 8, 2024

The Godot PR was merged, so taking this out of draft

@m4gr3d
Copy link
Collaborator

m4gr3d commented Apr 19, 2024

@dsnopek Can you rebase this PR for merging.

@dsnopek dsnopek force-pushed the xr-fb-composition-layer-secure-content branch from 0561c9b to 1d8fdeb Compare April 19, 2024 16:21
@dsnopek
Copy link
Collaborator Author

dsnopek commented Apr 19, 2024

Rebased!

@m4gr3d m4gr3d merged commit 7f91bd9 into GodotVR:master Apr 19, 2024
7 checks passed
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.

2 participants