Fix XR rendering in 'opengl3' driver and expose true size via the Viewport node #65800
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR supercedes #65524 which superceded PR #64513
Yesterday, @BastiaanOlij and I had a call, and decided to return to the same basic approach as PR #64513, but adding in the improvements to Viewport nodes when using XR from PR #65524
It does 3 things:
I've tested this with the 'opengl3' renderer outside of XR, and in XR with both the
MobileVRInterface
andWebXRInterface
(needs PR #64514 on top of this one), as well as with the mobile vulkan renderer in XR with theOpenXRInterface
(Oculus Link with a Quest 2). Everything seemed to work fine!Fixing this bug is necessary to start getting WebXR working again on Godot 4