Commit graph

31 commits

Author SHA1 Message Date
Jules Blok
00431063cd Use a dynamic cast for pointers to texture childs. 2017-10-10 15:38:59 +02:00
Jules Blok
85c5ab0ccb Update to Oculus Runtime 1.16 with stubs. 2017-07-14 21:51:27 +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
Jules Blok
de3e9e1788 SessionDetails: Add class to manage game-specific hacks. 2017-02-15 17:22:48 +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
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
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
LibreVR
ea5a8461b0 Add a debug message to every API call.
This helps trace back issues to the last called function.
2016-08-20 02:12:19 +02:00
LibreVR
afe74eeb6b ovr_SubmitFrame: Render to the mirror texture when the pointer is queried. 2016-07-11 22:40:54 +00:00
LibreVR
000ff3c568 ovr_CreateMirrorTextureDX: Specify render target descriptor. 2016-07-11 21:37:42 +00:00
LibreVR
f3638e6f69 ovr_CreateTextureSwapChainDX: Set MiscFlags based on the MiscFlags.
That should've been done from the start.
2016-07-01 21:34:40 +00:00
LibreVR
9c22f7f6dd ovr_GetTextureSwapChainBuffer: Return the current buffer if the index < 0.
This is documented behaviour that I should've implemented already.
2016-07-01 21:34:40 +00:00
LibreVR
7765adbba3 ovr_SubmitFrame: Render to the mirror texture after each submit. 2016-07-01 14:22:37 +00:00
LibreVR
ab5999e3cf Revive: Naming consistency. 2016-07-01 14:22:37 +00:00
LibreVR
11186f8cee ovr_CreateMirrorTextureDX: Keep the views in the mirror texture. 2016-07-01 14:22:37 +00:00
LibreVR
d1b16ca948 ovr_CreateMirrorTextureDX: Make the shaders part of the mirror texture. 2016-07-01 14:22:37 +00:00
LibreVR
81296a9dc0 Common: Refactor texture structures. 2016-07-01 14:22:37 +00:00
LibreVR
2cac5ac753 Revive: Use OpenVR context functions to get interface pointers. 2016-07-01 14:22:37 +00:00
LibreVR
f70618c44f ovr_TextureFormatToDXGIFormat: Support compressed formats. 2016-07-01 14:22:37 +00:00
LibreVR
ca2b4adf20 ovr_CreateTextureSwapChainDX: Allow mipmap generation.
This fixes the mirror window in most games.
2016-06-30 23:32:50 +00:00
LibreVR
66686248ab Revive: Delegate resource destruction to API-specific functions.
Also takes care of some resource leaks.
2016-06-30 23:15:45 +00:00
LibreVR
51c7ece615 ovr_SubmitFrame: Associate the overlay handles with swapchains.
This prevents layers from constant switching between overlays which can cause flickering.
2016-06-30 18:58:53 +00:00
LibreVR
ca6a04f454 ovr_GetMirrorTextureBufferDX: Set the viewport and clear the target. 2016-05-27 08:01:19 +00:00
LibreVR
19b9d0f1d0 ovr_GetMirrorTextureBufferDX: Use new OpenVR GetMirrorTexture API. 2016-05-27 08:01:19 +00:00
LibreVR
a593f64292 Revert "Revert "ovr_GetMirrorTextureBufferDX: Use a fullscreen quad to blit the mirror texture.""
This reverts commit 21e8ffd10a.
2016-05-27 08:01:19 +00:00
LibreVR
21e8ffd10a Revert "ovr_GetMirrorTextureBufferDX: Use a fullscreen quad to blit the mirror texture."
This reverts commit ef0efe47e3.
2016-05-14 20:53:25 +00:00
LibreVR
ef0efe47e3 ovr_GetMirrorTextureBufferDX: Use a fullscreen quad to blit the mirror texture. 2016-05-06 23:14:16 +00:00
LibreVR
de189388ed Revive: Move main project to sub-directory. 2016-05-06 11:59:29 +00:00
Renamed from REV_CAPI_D3D.cpp (Browse further)