Commit graph

854 commits

Author SHA1 Message Date
Branimir Karadžić
288361b5c1 Pass all reset flags to glcontext. 2015-04-06 21:31:26 -07:00
Branimir Karadžić
c5a03233c0 Fixed shutdown sequence. 2015-04-06 18:22:15 -07:00
Miodrag Milanovic
9b71495507 Fix for :
error: array index 1 is past the end of the array (which contains 1 element) [-Werror,-Warray-bounds]
m_samplerFlags[stage][1] = UINT32_MAX;
2015-04-06 10:37:12 +02:00
Branimir Karadžić
1e8051fd00 Fixed variable shadowing. 2015-04-04 19:10:35 -07:00
Branimir Karadžić
4063b2a652 Cleanup. 2015-04-02 23:18:20 -07:00
Vas Crabb
9f1370c603 Fix leaks of autoreleased objects and allow building on OS X 10.6 Snow Leopard 2015-04-03 07:42:56 +11:00
Branimir Karadžić
46ad1aa51d Merge pull request #317 from mendsley/d3d11_cb_align16
D3D11 constant buffer must align ByteWidth to 16 bytes
2015-04-02 12:02:14 -07:00
Branimir Karadžić
2a725eca76 Made compute sort priority higher than sequence. 2015-04-02 11:58:24 -07:00
Branimir Karadžić
5a9b02ca31 Added view name flag for compute. 2015-04-02 11:57:53 -07:00
Matthew Endsley
2680bd0608 D3D11 constant buffer must align ByteWidth to 16 bytes
See remarks of:
https://msdn.microsoft.com/en-us/library/windows/desktop/ff476092(v=vs.85).aspx

Most PC drivers don't seem to enforce this, but it will
crash the xb1 implementation if fed an unaligned value.
2015-04-02 11:45:34 -07:00
Branimir Karadžić
7ebc6e3cbb Updated C99 API. 2015-04-01 23:58:36 -07:00
Branimir Karadžić
ca41b8b774 Merge pull request #314 from mendsley/resolved3d11rt
Resolve D3D11 render targets before switching.
2015-04-01 19:26:34 -07:00
Branimir Karadžić
dd98c12901 Added release callback for makeRef. 2015-04-01 16:44:44 -07:00
Matthew Endsley
aa7f0149bd Resolve D3D11 render targets before switching. 2015-04-01 14:05:47 -07:00
Miodrag Milanovic
f1ae3f2a5c Fix BGFX compile 2015-04-01 13:02:48 +02:00
Branimir Karadžić
8f3708fe28 Cleanup. 2015-03-31 22:01:50 -07:00
Branimir Karadžić
ef5ba847eb Fixed MinGW build. 2015-03-31 17:15:17 -07:00
Branimir Karadžić
81d6876067 Cleanup. 2015-03-31 09:44:51 -07:00
Branimir Karadžić
1dc10fa48f GL: Fixed crash when extension reports functionality but function doesn't exist. 2015-03-30 08:58:15 -07:00
Branimir Karadžić
9fc5badf69 GL: Fixed crash when timer query is not available. 2015-03-30 00:06:34 -07:00
Branimir Karadžić
5eccbc7aa8 Cleanup. 2015-03-29 23:08:45 -07:00
Branimir Karadžić
932b44fbec Cleanup. 2015-03-29 23:10:52 -07:00
Branimir Karadžić
d62025d530 Fixing VS2015 warnings. 2015-03-29 22:40:35 -07:00
Branimir Karadžić
bec3382e61 Cleanup. 2015-03-29 21:17:14 -07:00
Matthew Endsley
a8f715e279 Support Oculus SDK versions through 0.5.0.1-beta
Tested against the following SDKs:
 - 0.5.0-beta
 - 0.4.4-beta
 - 0.4.3-beta
 - 0.4.2-beta
 - 0.4.1-beta
 - 0.4.0-beta
2015-03-29 20:38:54 -07:00
Branimir Karadžić
675745cb9e GLES: Float texture filtering when OES_texture_half_float_linear is present. 2015-03-28 22:03:25 -07:00
Branimir Karadžić
25b37dfee6 Added EXT_color_buffer_float. 2015-03-28 21:41:48 -07:00
Branimir Karadžić
3039c9a040 GLES: Fixed OES_texture_half_float incomplete texture. 2015-03-28 21:25:40 -07:00
Branimir Karadžić
4b18babb62 Updated C99 API. 2015-03-27 22:09:10 -07:00
Branimir Karadžić
bf393f69f7 Fixed handle check. 2015-03-27 19:52:31 -07:00
Branimir Karadžić
91e1c1bedb Aligned stats. 2015-03-26 22:52:49 -07:00
Branimir Karadžić
dc60f34883 Updated stats display. 2015-03-26 22:43:50 -07:00
Branimir Karadžić
53b9e90d21 Added caps vendor/device info. 2015-03-26 19:39:55 -07:00
Branimir Karadžić
eeb491883d Added ability to select GPU. 2015-03-26 15:01:47 -07:00
Branimir Karadžić
a4bf237b05 Fixed handle check. 2015-03-26 15:01:09 -07:00
Branimir Karadžić
9b5f148d42 Improved handle error checking. 2015-03-25 23:33:35 -07:00
Branimir Karadžić
b19c391570 GLX: Fixed context destroy. 2015-03-25 21:23:48 -07:00
Branimir Karadžić
a797b00a7f Updated GLFW entry to test for exit. 2015-03-25 19:43:12 -07:00
Branimir Karadžić
4b60ddf44d Fixed GLFW3 integration on Linux. 2015-03-24 23:21:32 -07:00
Branimir Karadžić
0da6c77806 Added glfw entry. 2015-03-24 22:19:21 -07:00
Branimir Karadžić
b2c8c45b02 Cleanup. 2015-03-24 21:24:13 -07:00
Branimir Karadžić
c4ddb3b0e7 Fixed view remap. 2015-03-23 17:10:33 -07:00
Branimir Karadžić
476f438d7a Added new WEGL extensions. 2015-03-22 22:03:37 -07:00
Branimir Karadžić
317dc986f1 Fixed NaCl build. 2015-03-22 22:02:01 -07:00
Branimir Karadžić
db0934f419 Cleanup. 2015-03-22 10:18:47 -07:00
Branimir Karadžić
6ba3a60c1a Fixed amalgamated build with multiple renderers. 2015-03-21 22:11:59 -07:00
Branimir Karadžić
81c93758e3 Added header guards to ovr.h. 2015-03-21 18:13:05 -07:00
Branimir Karadžić
32f4165aa9 Updated GENie script to remove *.bin.h from projects. 2015-03-21 17:42:46 -07:00
Branimir Karadžić
5802af7329 Made vertex decl begin accept RenderType::Count as default. 2015-03-18 12:42:59 -07:00
Branimir Karadžić
b2da0cce93 Added [u/i]sampler3D. 2015-03-17 17:27:04 -07:00