Commit Graph

469 Commits

Author SHA1 Message Date
Branimir Karadžić
1444704901 Cleanup. 2017-03-02 19:29:34 -08:00
Branimir Karadžić
86fc54ccfc Added ability to specify swap chain for screenshot. 2017-03-02 18:02:14 -08:00
Branimir Karadžić
bfe5a66b3e Cleanup. 2017-02-09 19:31:19 -08:00
Branimir Karadžić
b99ebb9535 Cleanup. 2017-02-08 19:55:31 -08:00
Branimir Karadžić
aa2a9deb5f Cleanup. 2017-02-08 18:17:59 -08:00
Branimir Karadžić
03e6076e59 Cleanup. 2017-02-07 16:02:17 -08:00
Branimir Karadžić
b62fe2749f Fixed create/destroy windows. 2017-01-26 15:34:11 -08:00
Branimir Karadžić
f63553fecc Cleanup. 2017-01-15 16:22:47 -08:00
Branimir Karadžić
8b3f752af5 Skip rendering when scissor is zero area. 2017-01-11 20:38:38 -08:00
Branimir Karadžić
14dbb67320 Fixed IFH debug flag. 2017-01-10 17:14:50 -08:00
Branimir Karadžić
3b83f53ab1 Happy New Year! 2017-01-01 00:18:41 -08:00
Branimir Karadžić
5a0d824331 Exposed a few more internal performats stats. 2016-12-19 17:18:07 -08:00
Branimir Karadžić
706facc788 Fixed blit with view remapping. 2016-11-20 14:29:37 -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
Branimir Karadžić
afb7ec3d73 Cleanup. 2016-11-15 16:57:28 -08:00
Branimir Karadžić
e86aee5f2e Don't present backbuffer if it's not affected by rendering. 2016-11-13 20:59:41 -08:00
Branimir Karadžić
025d806c70 Present swap chain only when it's updated. 2016-11-09 14:29:37 -08:00
Branimir Karadžić
daeab5c239 OVR: Fixed redundant clears. 2016-11-05 19:13:35 -07:00
Branimir Karadžić
a3113ab94c Added ability to retrieve uniform info. 2016-11-02 00:12:40 -07:00
benoitjacquier
eaea9551fb readtextur mip level fix (#956) 2016-10-25 08:59:37 -07:00
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