Commit graph

21 commits

Author SHA1 Message Date
Jules Blok
65e055d129 CompositorGL: Rebind the application framebuffer. 2017-08-27 22:39:27 +02:00
Jules Blok
5600b15426 CompositorBase: Reduce code duplication for texture creation. 2017-08-22 18:02:48 +02:00
Jules Blok
3c8e418ebe CompositorGL: Use the OpenVR mirror textures to render the mirror. 2017-08-22 17:08:29 +02:00
Jules Blok
af09222fec TextureBase: Use a proper ring buffer for swapchains. 2017-07-05 16:16:08 +02:00
Jules Blok
94d2e6c0cd Compositor: Set the first texture as submitted by default.
Fixes a crash when Giant Cop calls SubmitFrame without committing the swaphcain first.
2017-06-02 14:12:59 +02:00
Jules Blok
f3f6112c73 CompositorBase: Add profiling data. 2017-04-15 18:09:17 +02:00
Jules Blok
08df8fd600 Rename Common to Session.
All declarations not related to the session have been cleaned up.
2017-04-13 03:53:35 +02:00
Jules Blok
0a9c061988 Update to OpenVR 1.0.6 2017-04-11 19:07:19 +02:00
LibreVR
83d32e798a Revive: Update glew to version 2.0. 2016-12-05 23:02:06 +01:00
LibreVR
f5815d8c70 Revive: Restructure project files. 2016-09-24 13:22:26 +02:00
LibreVR
c0fd5302bb Compositor: Refactor texture handling into a separate class. 2016-09-24 02:03:48 +02:00
LibreVR
20077084e6 Compositor: Account for scene layer viewport. 2016-09-24 02:03:48 +02:00
LibreVR
4fd42f9910 Compositor: Composite layers directly without a staging buffer. 2016-09-24 02:03:48 +02:00
LibreVR
7d7de2c9a5 Compositor: Invert the bounds for OpenGL.
This ensures we consistently handle this inversion for both overlays and scene layers.
2016-09-15 17:51:53 +02:00
LibreVR
0a53eb0ac1 CompositorD3D: No need to clear the screen. 2016-09-10 22:40:20 +02:00
LibreVR
73ee0c930f CompositorGL: Implement support for mirror textures.
We still can't get these from OpenVR, but at least we can
show our own textures now.
2016-09-10 22:34:06 +02:00
LibreVR
60adb8bf0f CompositorGL: Implement RenderTextureSwapChain().
No multi-scene layer support for OpenGL yet.
2016-09-10 21:46:34 +02:00
LibreVR
600379e2b5 CompositorD3D: Support composition of multiple scene layers.
This method should be further optimized to eleminate the redundant
composition of the first scene layer.
2016-09-10 21:45:29 +02:00
LibreVR
09b1814125 Compositor: Render swapchains to a compositor texture.
This will allow us to merge multiple scene layers before they're submitted to OpenVR.
2016-09-08 23:07:43 +02:00
LibreVR
14ce00b86b Compositor: Move compositor creation to a static function. 2016-09-06 16:48:15 +02:00
LibreVR
6b991ec65c Revive: Add CompositorBase to refactor the graphics APIs. 2016-09-05 22:07:41 +02:00