Jules Blok
295b09577f
SettingsManager: Implement settings reloading using events.
2017-12-07 03:57:00 +01:00
Jules Blok
1db97bf7ae
Revive: Use a LUA script for touch controller mapping.
2017-12-06 18:24:07 +01:00
Jules Blok
a38bf704ba
Hotfix for Windows Mixed Reality sensors errors.
2017-12-02 18:38:05 -08:00
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
41d8ecadf8
No need to implement a settings interface.
...
The Oculus Runtime only allows known keys to be set or queried.
2017-10-25 19:20:09 +02:00
Jules Blok
5cf7a08767
ovr_Shutdown: Ensure we destroy all sessions first.
2017-10-17 21:35:53 +02:00
Jules Blok
96d2866fe1
Create: Re-implement the fallback to the default adapter.
...
This fixes Revive support for driver_null and badly written headset drivers in general.
2017-09-03 18:53:12 +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
5058913e2d
Revive: Don't trace internal functions.
...
Make profiler reports easier to compare.
2017-09-01 14:24:17 +02:00
Jules Blok
430c1b694c
GetPredictedDisplayTime: Fix invalid return value.
2017-08-28 21:34:22 +02:00
Jules Blok
8d2983bcb1
GetPredictedDisplayTime: Cosmetics.
2017-08-28 18:23:18 +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
c4324ccb47
SubmitFrame: Use the new partial submission calls.
...
This also changes the FrameIndex logic to represent the current frame instead of the last frame.
Which fixes some usages of the partial submission calls and should also fix multi-threaded calls
to GetPredictedDisplayTime().
2017-08-25 16:29:38 +02:00
Jules Blok
1d499e7279
Revive: Rewrite timing and prediction code.
2017-08-25 14:01:38 +02:00
Jules Blok
7cbee14e4d
SubmitFrame: Fix a crash in legacy support for The Unspoken.
2017-08-25 14:00:26 +02:00
Jules Blok
c6091af231
GetSession: Revert to previous IsVisible logic.
2017-08-24 23:16:23 +02:00
Jules Blok
a467c19554
Revive: Forgot to remove a settings interface.
2017-08-24 22:54:23 +02:00
Jules Blok
b59329847b
Session: Move session status tracking to session thread.
2017-08-24 21:09:20 +02:00
Jules Blok
c90d1e2200
WaitToBeginFrame: Use the correct upper-bound.
2017-08-24 14:27:59 +02:00
Jules Blok
632d84cfb7
Session: Update device descriptions from an event loop.
2017-08-24 14:26:56 +02:00
Jules Blok
e35d4f7066
Revive: Don't translate the OpenVR settings interface.
...
Will be implemented later using a cached version of the interface.
2017-08-23 16:53:43 +02:00
Jules Blok
0a4fc2fbdc
Update to Oculus SDK 1.17
2017-08-21 20:46:30 +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
a9c9dab4fe
SettingsManager: Move settings to a separate class with loading on a thread.
2017-08-18 15:00:09 +02:00
Jules Blok
7553e8f978
InputManager: Don't set the tracking origin in the compositor.
...
This properly fixes chaperone visibility issues.
2017-08-17 23:34:24 +02:00
Jules Blok
7b8bfb0370
Revert "SessionDetails: Add a hack for the chaperone in Lone Echo."
...
This reverts commit c2cdc3acf2 .
2017-08-17 22:13:46 +02:00
Jules Blok
c2cdc3acf2
SessionDetails: Add a hack for the chaperone in Lone Echo.
2017-08-11 12:52:03 +02:00
Jules Blok
11ab6f6250
Implement some private APIs for Oculus Medium.
2017-07-14 22:09:17 +02:00
Jules Blok
85c5ab0ccb
Update to Oculus Runtime 1.16 with stubs.
2017-07-14 21:51:27 +02:00
Jules Blok
96700671d7
Update to OpenVR v1.0.8
2017-07-14 14:08:49 +02:00
Jules Blok
af09222fec
TextureBase: Use a proper ring buffer for swapchains.
2017-07-05 16:16:08 +02:00
Jules Blok
5b8978bb2b
Revive: Don't explicitly sync on the settings interface.
...
Echo Arena changes a setting every frame, we don't want to constantly write the settings file.
2017-06-24 14:37:34 +02:00
Jules Blok
5285b5b28a
Revert "ovr_SubmitFrame: Immediately increment the frame index on submit."
...
This reverts commit d060986fdc .
2017-06-24 13:11:28 +02:00
Jules Blok
f5697b1821
Update to Oculus SDK 1.14.0
2017-05-10 12:40:34 +02:00
Jules Blok
d060986fdc
ovr_SubmitFrame: Immediately increment the frame index on submit.
...
This reduces misprediction in games that request tracking data during submit.
2017-05-10 12:29:07 +02:00
Jules Blok
264d60d790
GetPerfStats: Fix out-of-bounds write.
2017-04-17 03:29:02 +02:00
Jules Blok
05883e1f09
GetPredictedDisplayTime: The extra frame of latency doesn't really exist.
2017-04-16 20:31:33 +02:00
Jules Blok
0c2a701023
Assert: Everything is implemented now.
2017-04-16 20:24:19 +02:00
Jules Blok
50b802edb3
SetBoundaryLookAndFeel: Don't ignore the alpha.
...
SetSceneColor() still doesn't really seem to do anything.
2017-04-16 18:23:47 +02:00
Jules Blok
9d0307977f
GetInputState: Fix incorrect order of the minor version check.
2017-04-16 02:32:50 +02:00
Jules Blok
8cd44ac1c4
GetSessionStatus: Temporarily disable event polling.
2017-04-15 20:18:47 +02:00
Jules Blok
f3f6112c73
CompositorBase: Add profiling data.
2017-04-15 18:09:17 +02:00
Jules Blok
bedb78d32e
Add frame index metadata to the profiler
2017-04-15 17:31:34 +02:00
Jules Blok
0077c22070
CommitTextureSwapChain: Don't flush on commit.
...
Removed until this flush is proven to fix GPU bubbles.
2017-04-15 14:06:57 +02:00
Jules Blok
1fa30fcf57
ovr_Create: Use smart pointers when querying the adapter LUID.
2017-04-15 13:57:22 +02:00