Commit graph

894 commits

Author SHA1 Message Date
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
Branimir Karadžić
bbf2fa6f46 GL: Fixed crash when looking for [u/i]samplers. 2015-03-17 15:38:41 -07:00
Miodrag Milanovic
161d5a475e Fix VisualStudio warning 2015-03-17 14:18:27 +01:00
Branimir Karadžić
1a0ba0d87a GL: Added [u/i]sampler[2D/3D/Cube]. 2015-03-16 21:44:33 -07:00
Branimir Karadžić
19c8214485 Commented out D3D_DISABLE_9EX, some D3D9 headers are not handling it properly (f.e. MinGW 3.1 runtime, default VS headers). 2015-03-14 10:59:11 -07:00
Branimir Karadžić
d67a940802 D3D11: Handle CheckFeatureSupport gracefully, 2015-03-13 11:48:27 -07:00
Branimir Karadžić
13fb047a51 GL: Fixed framebuffer with stencil attachment. 2015-03-12 22:35:45 -07:00
Branimir Karadžić
7fca16b68d Fixed typo. 2015-03-12 17:59:03 -07:00
Branimir Karadžić
441e674459 D3D11: Texture format caps. 2015-03-11 21:52:10 -07:00
Branimir Karadžić
918b111eb5 Cleanup. Added state cache. 2015-03-05 21:11:44 -08:00
Branimir Karadžić
2ce33465d5 Added Vulkan stub. 2015-03-05 20:34:39 -08:00
Branimir Karadžić
a819a3f73e Added error check for use of TextureFormat::BGRA8 in compute. 2015-03-05 19:31:20 -08:00
Branimir Karadžić
4419338b27 Merge branch 'master' of github.com:bkaradzic/bgfx 2015-03-05 17:45:05 -08:00
Branimir Karadžić
d858dde912 Added RGBA8 texture format. 2015-03-05 17:44:56 -08:00
Branimir Karadžić
5185e2f901 GL: Fixing texture formats for GL and GLES31. 2015-03-04 22:08:54 -08:00
Branimir Karadžić
64a32ecdf5 D3D11: Fixed crash with RenderDoc. 2015-03-03 15:16:17 -08:00
Branimir Karadžić
ac34be556a D3D11: Fixed buffer update. Issue #271. 2015-03-03 14:37:18 -08:00
Branimir Karadžić
93b5b0a20c Added imageLoad/Store overloads. 2015-03-02 17:58:43 -08:00
Branimir Karadžić
478449e23a Adding vertex textures WIP. 2015-03-01 22:01:30 -08:00
Branimir Karadžić
7bd37979ab Added separate table for RBO format. Issue #272. 2015-03-01 12:33:27 -08:00
Branimir Karadžić
676127bc5d GLES: Fixed D0S8 texture format. 2015-02-26 17:51:00 -08:00
Branimir Karadžić
a396f671ec Added more handle checks. 2015-02-25 22:40:56 -08:00
Branimir Karadžić
579f43fad7 Added number of views to caps. 2015-02-25 21:12:52 -08:00
Branimir Karadžić
b80edd19ff Added handle debug checks. 2015-02-25 19:46:10 -08:00
Branimir Karadžić
26e96b0489 GL: Fixed program sampler count. 2015-02-24 15:18:33 -08:00
Branimir Karadžić
fb6aa4f51d Removed need to set texture format for compute's setImage. 2015-02-23 17:25:06 -08:00
Branimir Karadžić
7652b05cc5 Fixed GCC 4.9 type-limit warning. 2015-02-23 11:33:02 -08:00
Branimir Karadžić
cc9ed76048 D3D11: Disable alt-enter. 2015-02-22 20:30:17 -08:00
Branimir Karadžić
4685fdeca3 Fixed dynamic vertex/index buffer leak warning. Issue #263. 2015-02-21 21:51:06 -08:00
Branimir Karadžić
c3112bce2a Fixed GCC warning. 2015-02-21 21:50:16 -08:00
Branimir Karadžić
8790649495 Moved imgui to last view. 2015-02-21 15:51:03 -08:00
Branimir Karadžić
2883be5c1a Increased number of views to 256. Added view remap support. 2015-02-21 15:40:51 -08:00
Branimir Karadžić
ca3a6e5c84 Fixed Emscripten. 2015-02-20 15:35:20 -08:00
Branimir Karadžić
78f415e812 GL: Added unsigned int image samplers. 2015-02-19 20:06:02 -08:00
Branimir Karadžić
5a4afee0ea Fixed compute unsigned image. 2015-02-19 16:23:27 -08:00
Branimir Karadžić
078dd5127f Added HLSL pack/unpackHalf2x16. 2015-02-18 17:37:07 -08:00
Branimir Karadžić
1295de90ea Remove destroyed uniform from hash map. 2015-02-17 17:08:08 -08:00
Branimir Karadžić
3838492e8d Dispatch compute is always in sequential mode. 2015-02-17 16:26:35 -08:00
Branimir Karadžić
b8d065da79 Merge branch 'master' of github.com:bkaradzic/bgfx 2015-02-17 11:50:38 -08:00
Branimir Karadžić
7279a31768 GL: Cache current GL context. Issue #262. 2015-02-17 11:50:31 -08:00
Branimir Karadžić
5ff63f93b6 Cleanup. 2015-02-16 22:53:06 -08:00
Branimir Karadžić
13ac805085 Cleanup. 2015-02-16 21:58:13 -08:00
Branimir Karadžić
895f697f50 Removed 16-bit API limit from vertex buffer. 2015-02-16 19:01:32 -08:00
Branimir Karadžić
a57634cd09 Added D3D12 enum. 2015-02-15 18:27:54 -08:00
Branimir Karadžić
39e6eff1e0 Updated DDS formats. 2015-02-14 15:45:51 -08:00
Branimir Karadžić
3fb7221df2 Cleanup. 2015-02-13 09:33:56 -08:00
Branimir Karadžić
4f28cffa1a Fixed issue #259. 2015-02-12 08:26:21 -08:00
Branimir Karadžić
06eef99ce9 Added legacy DDS pixel format decoding. 2015-02-11 14:57:09 -08:00
Branimir Karadžić
b27c945cef Reverted bad commit. 2015-02-10 14:26:13 -08:00
Branimir Karadžić
06ad146d9f Updated compute shader header. 2015-02-10 14:22:56 -08:00
Branimir Karadžić
74b59f1692 GL: Fixed optional import. 2015-02-09 16:19:53 -08:00
Branimir Karadžić
f81f34545c Added cubemap to texture info. Fixed issue #255. 2015-02-09 11:24:59 -08:00
Branimir Karadžić
ef84ba3f1f Cleanup. 2015-02-08 11:02:39 -08:00
Branimir Karadžić
1d4eb335a7 Removed X11 include in bgfxplatform.h. 2015-02-06 16:49:04 -08:00
Branimir Karadžić
b01f289340 Fixed issue #252. 2015-02-06 10:47:53 -08:00
Branimir Karadžić
5fc9ac494b DX11: Embedded ID3D11InfoQueue GUID. 2015-02-04 19:33:31 -08:00
Branimir Karadžić
f0f0d08417 Fixed texture info. 2015-02-02 20:42:59 -08:00
Branimir Karadžić
8942628ec1 Fixed texture size calculation. 2015-02-02 20:30:57 -08:00
Branimir Karadžić
c2e100d65d Added minimum number of blocks for PTC textures. Issue #250. 2015-02-01 21:38:47 -08:00
Branimir Karadžić
c7a32e63cc Cleanup. 2015-01-31 15:06:44 -08:00
Branimir Karadžić
aea2cd2ce3 Fixed GLX context. 2015-01-31 13:55:02 -08:00