Commit Graph

17 Commits

Author SHA1 Message Date
Branimir Karadžić
b99ebb9535 Cleanup. 2017-02-08 19:55:31 -08:00
Branimir Karadžić
3b83f53ab1 Happy New Year! 2017-01-01 00:18:41 -08:00
Matthew Endsley
e090bb9851 Use a single render target for VR rendering (#977)
This allows the game to render to a single FB and
pass that into existing post process pipeline.
2016-11-16 18:00:10 -08:00
Colby Klein
e382bc4b64 Allow user-provided ovrSession via PlatformData 2016-10-13 12:45:42 -07:00
Matthew Endsley
d9dd4bceb5 Add platform agnostic bgfx::VR for renderers to interface
The new platform agnositic class bgfx::VR manages the
functionality that is shared across the various VR platforms.

The individual platform renderers no longer need
to interface with the internal VR tpyes (OVRRenderI) directly

This greatly simplifies the OVR object's surface area which
is now provided by the VRImplI interface. bgfx::VR now manages
core lifecycle issues of the headset.

The notable renderer API changes are the separation of sensor
sampling and rendering. We need these separate so we can control
the timing (later commit) of camera sampling with finer granularity
than at the start of the video frame.
2016-09-16 20:03:12 -07:00
Matthew Endsley
eec95aeef6 Combine OVRBufferI and OVRMirrorI into a single interface
Simplify the renderer interface for VR to separate the OVR
implementation from the overall HMD foundation.

Part of merging OpenVR back upstream.
2016-09-14 17:50:15 -07:00
Matthew Endsley
1b431cb107 Do not render VR mirror texture is the headset is not rendering
DX11 will signal an error on the mirror present if the compositor
is not serving the application frames to the hardware.
2016-09-14 16:28:08 -07:00
Krzysztof Kondrak
714ab421f9 OculusVR: fix stereoscopic view 2016-04-11 20:57:34 +02:00
Branimir Karadžić
3a35dbcf39 Cleanup. 2016-04-09 18:31:36 -07:00
Krzysztof Kondrak
c5acc53c6b OculusVR: added MSAA support 2016-04-09 18:39:08 +02:00
Branimir Karadžić
7e016b377f Cleanup. 2016-04-05 21:15:38 -07:00
Branimir Karadžić
8c50845098 OVR: Handle display lost error. 2016-04-05 20:37:12 -07:00
Branimir Karadžić
35efaf8751 Cleanup. 2016-04-04 23:04:46 -07:00
Branimir Karadžić
d655fa1099 Cleanup. 2016-04-04 22:38:45 -07:00
Krzysztof Kondrak
0624a5350e Remove commitEye() and fix extra frame of latency in OpenGL as well 2016-04-04 11:25:52 -07:00
PyryM
0b73864140 Fixes extra frame of latency with oculus
* fix oculus latency w/ ordering of eye commits
2016-04-04 08:27:46 -07:00
Branimir Karadžić
032759a5e6 Renamed files. 2016-04-02 19:07:20 -07:00