Commit Graph

1707 Commits

Author SHA1 Message Date
Branimir Karadžić
0b3aec69a9 Cleanup. 2016-09-29 21:23:07 -07:00
Branimir Karadžić
1c3e28fd9d Cleanup. 2016-09-29 18:30:21 -07:00
Branimir Karadžić
ce20d3ab08 texturec: Fixed uninitialized texture layer. 2016-09-29 18:30:08 -07:00
Branimir Karadžić
57d34f557b Cleanup. 2016-09-28 16:42:15 -07:00
Branimir Karadžić
f1a8c5f195 Cleanup. 2016-09-27 22:07:53 -07:00
Branimir Karadžić
84e4a66c96 Cleanup. 2016-09-27 18:11:41 -07:00
Branimir Karadžić
5905f98f0c Added missing file. 2016-09-24 08:36:02 -07:00
Branimir Karadžić
9f53d33e80 Renamed null renderer to noop. 2016-09-24 08:35:31 -07:00
Branimir Karadžić
55dc1e2168 Added GNM renderer stub. 2016-09-24 08:31:49 -07:00
Branimir Karadžić
50d867bbc2 Added limits info to caps. 2016-09-24 00:29:59 -07:00
Branimir Karadžić
e2302ec6c0 Image: Added depth format pack/unpack. 2016-09-24 00:29:22 -07:00
Branimir Karadžić
2ede6852fb Cleanup. 2016-09-23 15:03:14 -07:00
Branimir Karadžić
6ebdf2e0c0 GL: Added vendorId identification. Issue #922. 2016-09-22 23:17:18 -07:00
Branimir Karadžić
78773108c5 Cleanup. 2016-09-19 10:53:05 -07:00
Branimir Karadžić
075292c180 Merge branch 'master' of github.com:bkaradzic/bgfx 2016-09-18 18:52:54 -07:00
Branimir Karadžić
d6e73b818b Fixed issue #925. 2016-09-18 18:52:46 -07:00
Stuart Carnie
4771d14bc7 Support MetalKit view as an option on all platforms 2016-09-18 10:59:12 +10:00
Branimir Karadžić
449b5b60f0 Cleanup. 2016-09-17 00:24:25 -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
Branimir Karadžić
9181888783 Removed vertex stream assert. Issue #917. 2016-09-15 08:33:41 -07:00
Branimir Karadžić
9dd236d042 Merge branch 'master' of github.com:bkaradzic/bgfx 2016-09-14 19:39:06 -07:00
Branimir Karadžić
f62726b5db Added BGFX_CAPS_GRAPHICS_DEBUGGER. 2016-09-14 19:38:57 -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
Branimir Karadžić
9f0ff9f2ff Fixed issue #912. 2016-09-13 18:53:07 -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
Branimir Karadžić
0d981316f8 Switched use of stl::unordered_map to new HandleHashMap. 2016-09-06 22:42:45 -07:00
Branimir Karadžić
fa666bca4c Fixed GCC warning. 2016-09-03 14:38:47 -07:00
Branimir Karadžić
f9486780c2 Updated NaCl toolchain to v49. 2016-09-02 21:25:01 -07:00
Branimir Karadžić
0ba8b1895b Cleanup. 2016-09-02 19:49:01 -07:00
Branimir Karadžić
0d9035311f GL: Added GL error flush. 2016-08-31 08:57:53 -07:00
Branimir Karadžić
600ef81fb5 GLES: Fixed RGBA32F detection. 2016-08-30 23:38:51 -07:00
Branimir Karadžić
7749b745f7 GLES: Fixed RGBA32F detection. 2016-08-30 22:29:32 -07:00
Branimir Karadžić
c0f91f9d1c Fixed issue #891. 2016-08-26 09:59:06 -07:00
Branimir Karadžić
898ae2522a Cleanup. 2016-08-25 10:52:54 -07:00
Branimir Karadžić
d923005fe9 Merge pull request #888 from stuartcarnie/metal-texture-array
Metal: Add texture array support
2016-08-25 10:45:36 -07:00
Branimir Karadžić
f53d0296ba Fixed VS warning. 2016-08-25 10:37:51 -07:00
Stuart Carnie
bf8a48ca0d Metal: Add texture array support 2016-08-25 10:14:33 -07:00
Mikulas Florek
da08b8b993 fixed updateTexture2D in D3D11 2016-08-25 14:56:36 +02:00
Mikulas Florek
01f0d99021 fixed dds texture arrays 2016-08-25 13:25:34 +02:00
Branimir Karadžić
f5ec9cae37 D3D12: Added support for texture array. 2016-08-24 17:09:46 -07:00
Branimir Karadžić
e0aeb630ad Fixed render debug events colors. 2016-08-24 13:16:04 -07:00
Branimir Karadzic
6ca8c213d9 Cleanup. 2016-08-23 22:17:39 -07:00
Branimir Karadžić
08438fa567 texturev: Added texture array support. 2016-08-23 22:06:50 -07:00