Commit Graph
799 Commits
Author SHA1 Message Date
Branimir Karadžić 93454bd23b Fixed issue #951. 2016-10-17 19:19:42 -07:00
Branimir Karadžić e0832ed675 Revert "glInvalidateFramebuffer: iOS (iPad Mini 2, iOS 10.0.1) invalid enum work around" 2016-10-16 18:50:05 -07:00
Branimir Karadžić c9dffa6379 Merge pull request #949 from joedavisdev/pr/ios-framebuffer-invalidate-fix
glInvalidateFramebuffer: iOS (iPad Mini 2, iOS 10.0.1) invalid enum work around
2016-10-16 18:16:42 -07:00
Joe Davis 2bfc64e5f7 Worked around iOS (iPad Mini 2, iOS 10.0.1) invalid enum error by switching to functionality equivalent GL_DEPTH_ATTACHMENT|GL_STENCIL_ATTACHMENT assignment 2016-10-16 22:48:39 +01:00
Branimir Karadžić b7e29467c2 Fixed issue #941. 2016-10-15 10:45:16 -07: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
Branimir Karadžić 6ebdf2e0c0 GL: Added vendorId identification. Issue #922. 2016-09-22 23:17:18 -07: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
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
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ć 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ć 7537b705e5 GL: Added support for texture array. 2016-08-21 14:03:16 -07:00
Branimir Karadžić 63e79499fa Cleanup. 2016-08-20 08:10:20 -07:00
Branimir Karadžić 7b59fb716a Fixed stale VAO issue. 2016-08-18 19:02:57 -07:00
Branimir Karadžić 86084dc65f GL: Detect autogen mipmap texture format support. 2016-07-27 21:22:23 -07:00
Branimir Karadžić b7a0030c20 GL: Added texture mip autogen. 2016-07-23 16:16:43 -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ć e5aa71db4d Added centroid interpolation modifier. 2016-07-10 20:49:10 -07:00
Branimir Karadžić e47b474263 Fixed issue #823. 2016-06-27 11:03:45 -07:00
Branimir Karadžić 92d8065850 Cleanup. 2016-06-23 09:24:57 -07:00
Branimir Karadžić 8fd9f38094 GL: Fixed MSAA texture sampling. 2016-06-18 21:51:52 -07:00
Branimir Karadžić 00a2a9c964 Fixed GPU timer read-back. 2016-06-13 16:45:29 -07:00
Branimir Karadžić d8d17994dc GL: Fixed MSAA texture sampling. 2016-06-13 14:47:37 -07:00
Branimir Karadžić f3fe5810ad Cleanup. 2016-06-02 21:15:37 -07:00
Branimir Karadžić 918f18c668 Fixed reset flags. 2016-05-31 12:50:28 -07:00
PendingChaos 768cf72ca7 GL: Fixed a bug where the depth buffer is not written to (#793)
`glDisable(GL_DEPTH_TEST)` disables not just depth testing but depth writing too. In the OpenGL renderer, it is called even when depth writing is enabled. This commit makes it fall back to `glEnable(GL_DEPTH_TEST)` and `glDepthFunc(GL_ALWAYS)` when it is enabled.
2016-05-19 12:15:34 -07:00
Branimir Karadžić 407c37e8d3 Cleanup. 2016-05-08 14:50:04 -07:00
Branimir Karadžić ab3ba43756 GL: Fixed shader patching. 2016-04-26 17:35:01 -07:00
Dario Manesku fc03aaab57 GL_ARB_texture_multisample is written against OGL 3.1. 2016-04-22 00:38:10 +02:00
Branimir Karadžić be8b66a96b GL: MSAA texture. 2016-04-20 22:19:12 -07:00
Branimir Karadžić 056bd5437e Cleanup. 2016-04-13 10:35:59 -07:00
Branimir Karadžić c360ab23f3 GL: Fixed crash when reading active attributes with ARB_program_interface_query. 2016-04-12 16:45:33 -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ć 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
Krzysztof Kondrak 0624a5350e Remove commitEye() and fix extra frame of latency in OpenGL as well 2016-04-04 11:25:52 -07:00
Branimir Karadžić 08afc35eac Merge pull request #743 from kondrak/master
OculusVR: updated to SDK 1.3
2016-04-02 17:36:01 -07:00