Forum Discussion
jfeh
11 years agoHonored Guest
OpenGL : retrieving the framebuffer of an attached window
Hi, As I mentioned in the midst of another topic, I would like to know if and how it is possible to retrieve the framebuffer's content currently displayed in the Rift at every frame (e.g. using glR...
lamour42
11 years agoExpert Protege
Hi,
I am a DirectX programmer, so I don't know what is different in OpenGL mode. But in my code window size has nothing to do at all with the rift: in client distortion rendering with direct mode you have full control of back buffers - especially their size. Also I have full control of content rendered to the rift, which is the whole point of doing client rendering. The desktop window is just a regular window. I can give it any size, even fullscreen works. In DX11 the connection from the drawing pipeline to the window is made during Direct3D device and swap chain creation. From that point on the content of the window is filled with every flip of the swap chain (Present() call in DX11). This is no difference from Rift rendering to regular DX11 rendering without rift.
I am a DirectX programmer, so I don't know what is different in OpenGL mode. But in my code window size has nothing to do at all with the rift: in client distortion rendering with direct mode you have full control of back buffers - especially their size. Also I have full control of content rendered to the rift, which is the whole point of doing client rendering. The desktop window is just a regular window. I can give it any size, even fullscreen works. In DX11 the connection from the drawing pipeline to the window is made during Direct3D device and swap chain creation. From that point on the content of the window is filled with every flip of the swap chain (Present() call in DX11). This is no difference from Rift rendering to regular DX11 rendering without rift.
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device
Other Meta Support
Related Content
- 1 year ago