Commit graph

49 commits

Author SHA1 Message Date
Jules Blok
c00ac63639 Revive: Update to Oculus SDK 1.20 2017-12-02 14:11:59 -08:00
Jules Blok
7a67c65442 GetPerfStats: Refactor performance data.
Some parameters were calculated incorrectly and potentially slowed down frame submission.
2017-10-25 22:19:10 +02:00
Jules Blok
f5af16ec66 CompositorBase: Refactor layer submission. 2017-10-25 19:03:25 +02:00
Jules Blok
f97748585f CompositorBase: Allow the texture bounds beyond 0..1
This fixes the "Vary Fov" sample.
2017-10-19 18:43:06 +02:00
Jules Blok
2310acb57d CompositorBase: Only submit overlay textures when they are committed.
This fixes overlay quad flashing on/off and is more efficient in general.
2017-09-03 18:51:01 +02:00
Jules Blok
474c998fcb CompositorBase: Move partial submission calls to the compositor.
This allows the compiler to optimize stack usage, which fixes Dying Light.
2017-09-01 15:27:53 +02:00
Jules Blok
ea290fd776 SessionDetails: Cache the render descriptors. 2017-08-28 18:16:39 +02:00
Jules Blok
87618a481f CompositorBase: Add extra profiler data. 2017-08-28 00:00:30 +02:00
Jules Blok
3fab77188e CompositorBase: Fix OpenGL flickering with async reprojection. 2017-08-28 00:00:29 +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
076b0d1c70 CompositorBase: Move tracking origin back to session. 2017-08-21 02:58:14 +02:00
Jules Blok
3b2b019737 CompositorBase: Account for the seated tracking origin when submitting the render pose. 2017-08-20 14:29:19 +02:00
Jules Blok
6cdfd8b720 CompositorBase: Support submitting scene textures with pose data. 2017-07-26 21:17:55 +02:00
Jules Blok
1861b57dff CompositorBase: Flush draw calls on submit. 2017-07-23 15:19:39 +02:00
Jules Blok
dd67fa456e CompositorBase: Fix swapchain not being correctly submitted. 2017-07-07 13:04:56 +02:00
Jules Blok
595b37fdff Cosmetics. 2017-07-05 16:36:22 +02:00
Jules Blok
af09222fec TextureBase: Use a proper ring buffer for swapchains. 2017-07-05 16:16:08 +02:00
Jules Blok
b57640a99a CompositorBase: If the right eye isn't set used the left eye for both. 2017-07-05 11:28:03 +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
0182a02610 Added REV_Math for conversion operators. 2017-04-13 02:41:41 +02:00
Jules Blok
5ef9dd1361 Common: Move FovPortToTextureBounds() to CompositorBase. 2017-04-13 01:10:04 +02:00
Jules Blok
e6177b086b InputManager: Move LoadSettings() to the session struct. 2017-04-12 18:47:51 +02:00
Jules Blok
00a7c45850 Revert "CompositorBase: Enable high-quality overlay support."
This reverts commit 4ac6535046.
2017-04-12 18:17:50 +02:00
Jules Blok
cab210cb35 CompositorBase: Set the overlay sort order instead of applying a depth bias. 2017-04-12 18:01:13 +02:00
Jules Blok
4ac6535046 CompositorBase: Enable high-quality overlay support. 2017-04-12 17:59:27 +02:00
Jules Blok
0a9c061988 Update to OpenVR 1.0.6 2017-04-11 19:07:19 +02:00
Jules Blok
5f86a8925f CompositorBase: Don't call PostPresentHandoff() on frame submission. 2017-02-17 12:29:11 +01:00
LibreVR
8d65a984ba Common: Add rev_FovPortToTextureBounds() with sanitized output. 2016-12-06 16:52:43 +01:00
LibreVR
0f94e69682 CompositorBase: Remove unused parameter. 2016-12-02 18:02:32 +01:00
LibreVR
75a76fa0fd CompositorBase: Fix potentially uninitialized variable. 2016-11-15 01:08:26 +01:00
LibreVR
f867bebc38 Compositor: Use PostPresentHandoff() to postpone waiting on the running start. 2016-10-26 18:35:29 +02: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
8b213fb80b SubmitSceneLayer: Return success. 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
a79b770569 CompositorBase: Update comment. 2016-09-12 22:57: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
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
9c3dc14329 Compositor: Make sure WaitGetPoses() is always called, even after a failure. 2016-09-07 02:40:36 +02:00
LibreVR
829059b29b Compositor: Move WaitGetPoses() into the compositor.
Call GetLastPoses() where we need to actually access the posses.
2016-09-06 22:31:39 +02:00
LibreVR
b413ad108d CompositorBase: Add SubmitFovLayer() to reduce code duplication.
Also move ViewportToTextureBounds() to CompositorBase.
2016-09-06 22:14:25 +02:00
LibreVR
fd5f95b27d Revive: Add InputManager to refactor input handling. 2016-09-05 23:49:14 +02:00
LibreVR
6b991ec65c Revive: Add CompositorBase to refactor the graphics APIs. 2016-09-05 22:07:41 +02:00