Commit Graph

449 Commits

Author SHA1 Message Date
Branimir Karadžić
a43f63e8e2 Cleanup. 2016-10-24 10:58:24 -07:00
benoitjacquier
74298e9940 readTexture mip support / D3D9 / D3D11 2016-10-21 17:22:05 +02:00
benoitjacquier
3efd4a796d Cubemap as Texture Array
Cubemap's UAV are texture arrays
2016-10-19 18:17:44 +02:00
Branimir Karadžić
1c3e28fd9d Cleanup. 2016-09-29 18:30:21 -07:00
Branimir Karadžić
50d867bbc2 Added limits info to caps. 2016-09-24 00:29:59 -07:00
Matthew Endsley
6ca7205391 Add BX_OVERRIDE directives to new VR classes 2016-09-16 21:25:25 -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
Branimir Karadžić
f65f6303d9 Merge pull request #919 from mendsley/fix_vrleak
Release all D3D11 VR eye render target views
2016-09-16 16:10:50 -07:00
Matthew Endsley
f98370b77a Release all D3D11 VR eye render target views 2016-09-16 15:47:35 -07:00
Matthew Endsley
fd6ed06968 Fix opengl OVR texture lifetime issues
Clear mirror and eye textures of OVRRenderI at startup
instead of in the individual renderer interfaces
2016-09-16 15:45:52 -07:00
Branimir Karadžić
37f00de7de Fixed issue #917. 2016-09-15 20:54:00 -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
Branimir Karadžić
1ae77b0cfb WIP: Adding vertex stream support. 2016-09-12 19:38:29 -07:00
Branimir Karadžić
425868f391 Cleanup. 2016-09-08 17:00:16 -07:00
Mikulas Florek
da08b8b993 fixed updateTexture2D in D3D11 2016-08-25 14:56:36 +02:00
Branimir Karadžić
e0aeb630ad Fixed render debug events colors. 2016-08-24 13:16:04 -07:00
Branimir Karadžić
15da3a3d5a Fixed immutable texture array. 2016-08-23 18:20:42 -07:00
Branimir Karadžić
df88bc2106 Cleanup. 2016-08-22 19:42:38 -07:00
Branimir Karadžić
457996d407 D3D11: Added texture array support. 2016-08-22 15:40:00 -07:00
Branimir Karadžić
63e79499fa Cleanup. 2016-08-20 08:10:20 -07:00
Branimir Karadžić
c81ea08e1a D3D11: Resolve MSAA. 2016-07-25 19:00:50 -07:00
Branimir Karadžić
b7a0030c20 GL: Added texture mip autogen. 2016-07-23 16:16:43 -07:00
Branimir Karadžić
2563382301 WIP: Added autogenerate mipmaps for render targets with mips. 2016-07-22 17:42:55 -07:00
Branimir Karadžić
08b5e9c851 Fixed mipmap chain generation for textures created with backbuffer ratio size. 2016-07-21 12:57:14 -07:00
Branimir Karadžić
801f8ebc29 Reimplemented PR #832. 2016-07-05 22:09:55 -07:00
Branimir Karadžić
4e169a6f85 Fixed duplicate sampler state. 2016-07-05 16:57:50 -07:00
Matthew Endsley
297304ebdd Attempt to use DXGI 1.1 when possible
OpenVR requires DXGI 1.1 to share textures using a keyed
mutex to guantee ordering between the compositor and application.
OpenVR will startup with an adpater created by a 1.0 factory, but
will fail when submitting frames to the compositor.

See: https://steamcommunity.com/app/358720/discussions/0/405692224241830277/
2016-06-29 15:03:16 -07:00
Branimir Karadžić
e47b474263 Fixed issue #823. 2016-06-27 11:03:45 -07:00
Branimir Karadžić
00a2a9c964 Fixed GPU timer read-back. 2016-06-13 16:45:29 -07:00
Branimir Karadžić
e46135da8c Added ability to programmatically capture frame with RenderDoc. 2016-06-02 18:46:43 -07:00
Branimir Karadžić
918f18c668 Fixed reset flags. 2016-05-31 12:50:28 -07:00
Branimir Karadžić
c869e48248 Fixed issue #774. 2016-04-23 11:31:36 -07:00
Branimir Karadžić
7423257f57 Added BGFX_TEXTURE_MSAA_SAMPLE flag. 2016-04-17 23:00:36 -07:00
Branimir Karadžić
032ec109dd D3D11: Retrieve feature level when using externally created device. 2016-04-15 21:24:14 -07:00
Branimir Karadžić
2369a6c489 Cleanup. 2016-04-10 21:40:38 -07:00
Krzysztof Kondrak
c5acc53c6b OculusVR: added MSAA support 2016-04-09 18:39:08 +02:00
Branimir Karadžić
641d294b9d Cleanup. 2016-04-08 17:30:35 -07: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ć
d94ffa2882 D3D11: Disabled ID3D11Device3 when RenderDoc is present. 2016-04-05 15:30:03 -07:00
Branimir Karadžić
b1648aea1a Cleanup. 2016-04-04 23:22:21 -07:00
Branimir Karadžić
35efaf8751 Cleanup. 2016-04-04 23:04:46 -07:00
Branimir Karadžić
ace7083efa Cleanup. 2016-04-04 22:57:54 -07:00
Branimir Karadžić
d655fa1099 Cleanup. 2016-04-04 22:38:45 -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
Krzysztof Kondrak
bea6e81d12 OculusVR: updated to SDK 1.3 2016-04-02 11:41:40 +02:00
Branimir Karadžić
b95833f09f Cleanup. 2016-03-30 14:24:58 -07:00
Branimir Karadžić
0330f5618b Cleanup. 2016-03-27 22:40:49 -07:00
Branimir Karadžić
058b720a4e D3D1x: Fixed blend factor logic. Issue #732. 2016-03-27 22:36:52 -07:00
Branimir Karadžić
281da81910 Cleanup. 2016-03-18 10:28:34 -07:00