Hello_XR(OpenGL) : how is the framebuffer rendered to in RenderView getting to the display?

#1

In graphicsplugin_opengl.cpp : InitializeResources a local framebuffer is created into which is rendered in the function RenderView.

I miss the link with OpenXR?
In other words how does this framebuffer contents get to the display?

Kind Regards

#2

The frame is submitted with xrEndFrame. It’s then the responsibility of the runtime’s compositor to actually display that buffer on the display.

Does that help?

#3

Hello Ryan,

Thanks for your response!

Does the xrEndFrame use OpenGL : glGetIntegerv(GL_FRAMEBUFFER_BINDING,…)
to determine the framebuffer from which to render?

Kind Regards