Commit graph

222 commits

Author SHA1 Message Date
Mike Popoloski
3c04ad2d4c Fixing warnings about locals shadowing others of the same name. At least one of these was an actual bug. 2014-11-22 17:34:09 -05:00
Mike Popoloski
8af790201f D3D_FEATURE_LEVEL_11_2 isn't actually a thing. The D3D11.2 features are checked explicitly instead of using a feature level. 2014-11-22 17:13:14 -05:00
Branimir Karadžić
6c7589c0c9 Cleanup. 2014-11-17 21:35:53 -08:00
Branimir Karadžić
70253127e4 D3D11: Moved missing defines into header. 2014-11-17 21:13:55 -08:00
Branimir Karadžić
ddddd458f6 Added D3D_FEATURE_LEVEL_11_1 define when it's not defined. 2014-11-17 19:38:58 -08:00
Mike Popoloski
d1d38fb825 Fixing whitespace issues. 2014-11-17 22:23:28 -05:00
Mike Popoloski
850059c1cd Fixing D3D11 device creation issues on downlevel hardware. 2014-11-17 22:18:35 -05:00
Mike Popoloski
893035af65 Merge branch 'master' of https://github.com/bkaradzic/bgfx 2014-11-15 13:32:22 -05:00
Mike Popoloski
f55a91db97 Adding specialized codepaths for swapchain creation on WinRT, since it requires DXGI 1.3. 2014-11-14 08:22:32 -05:00
Branimir Karadžić
e147e7b2e6 OVR: Added rendering without distortion. 2014-11-12 21:26:28 -08:00
Branimir Karadžić
31efb2991f Updated to OVR 0.4.3. Added support for event char to read keyboard text input. 2014-11-08 20:57:47 -08:00
Branimir Karadžić
a2153729be Added HMD recenter support. Updated examples to support HMD. 2014-11-02 00:06:18 -07:00
Branimir Karadžić
ea36931ee1 Cleanup. 2014-10-30 21:06:52 -07:00
Branimir Karadžić
f6cf4df3d3 Added OculusVR support. 2014-10-28 22:08:55 -07:00
Branimir Karadžić
62abe9db5e Cleanup. 2014-10-25 19:16:24 -07:00
Branimir Karadžić
208a348ab2 Fixed compile errors. Added default part of view debug name. Added example how to use view debug name. 2014-10-25 18:07:51 -07:00
Branimir Karadžić
8a354b0785 Added line strip primitive type. 2014-10-22 19:19:33 -07:00
Branimir Karadžić
29b7249fc1 Cleanup. 2014-10-18 15:44:45 -07:00
Branimir Karadžić
5e39e3b16a clang on VS201x. 2014-10-16 19:54:29 -07:00
Branimir Karadžić
bfa1f9f3af Moved ctor/dtor into init/shutdown to have class ctor fully initialized prior calling initialization code. 2014-10-13 21:14:51 -07:00
Branimir Karadžić
ea571fd754 Cleanup. 2014-10-11 15:39:53 -07:00
Branimir Karadžić
51d8daf762 Fixed constant buffer allocation logic. 2014-10-08 19:36:59 -07:00
Branimir Karadžić
b1878edd2e Cleanup. 2014-10-06 22:10:55 -07:00
Branimir Karadžić
493c964423 Cleanup. 2014-10-06 19:21:08 -07:00
Branimir Karadžić
d90b754bae Cleanup. 2014-10-05 18:20:05 -07:00
Branimir Karadžić
a05acba1ee Added state cache info to debug panel. 2014-10-05 00:14:21 -07:00
Branimir Karadžić
1b5454bd51 Fixed 22-windows example. 2014-09-30 22:20:16 -07:00
Branimir Karadžić
61ed393f6c DX11: Allow lost device for few frames. 2014-09-30 21:16:24 -07:00
Branimir Karadžić
80f2044a7c Cleanup. 2014-09-28 11:03:47 -07:00
Branimir Karadžić
d705fbc9bd Fixed RenderDoc crash when IntelGPA is present. 2014-09-27 20:40:47 -07:00
Branimir Karadžić
c659e70bdc Uncomment RenderDoc dlclose. Fixed in RenderDoc nightly 9/26/14. 2014-09-26 20:31:54 -07:00
Branimir Karadžić
4657f97c6f DX11: Integrated RenderDoc capture. 2014-09-25 22:41:53 -07:00
Branimir Karadžić
f4c7f69ed7 Added swap chain caps. 2014-09-23 20:35:39 -07:00
Branimir Karadžić
e1d98eb465 Reverting to __uuidof... 2014-09-19 00:07:45 -07:00
Branimir Karadžić
f000f259d7 Fixed missing uuid. 2014-09-18 23:58:20 -07:00
Branimir Karadžić
338bbcb559 Cleanup. 2014-09-18 20:28:41 -07:00
m.milanovic@levi9.com
3e572a9616 Fixed DirectX 11 render compile errors 2014-09-18 15:33:09 +02:00
Branimir Karadžić
2c03cf4927 Added multiple windows support. 2014-09-07 17:17:38 -07:00
Branimir Karadžić
6b00f65849 Increased number of MRT to 8. 2014-09-01 11:24:51 -07:00
Branimir Karadžić
3318053355 Fixed issue #145. 2014-08-28 21:02:55 -07:00
Branimir Karadžić
4fb802e405 Added R11G11B10F format. 2014-08-26 20:56:53 -07:00
Branimir Karadžić
3b73fb2063 Cleanup. 2014-08-25 20:50:36 -07:00
Branimir Karadžić
17b2559e35 Cleanup. 2014-08-21 21:02:41 -07:00
Branimir Karadžić
66890595b9 Added serialization for vertex decl attribute enums. Binary format changes. Rebuilt all meshes and shaders. 2014-08-17 17:20:15 -07:00
Branimir Karadžić
3295126799 Updated texture container texture format support. 2014-08-12 21:47:01 -07:00
Branimir Karadžić
5ddec2b790 DX11: Added static linking with D3D libs for WinRT. 2014-08-04 22:01:20 -07:00
Branimir Karadžić
be4729940c Added BC6H and BC7 compressed formats. 2014-08-01 19:24:42 -07:00
Branimir Karadžić
1c04b822bd Cleanup. 2014-07-30 20:37:54 -07:00
Branimir Karadžić
f580110d7f Cleanup. 2014-07-30 20:34:26 -07:00
Branimir Karadžić
1d0a9841d7 Added intel fragment shader ordering. 2014-07-29 21:29:38 -07:00
Branimir Karadžić
a8abead615 Fixed issue#123 2014-07-29 19:26:08 -07:00
Branimir Karadžić
6c8eeec36e Added caps info for all texture formats. 2014-07-27 20:44:02 -07:00
Branimir Karadžić
ac49c6f129 Added RG8 texture format. 2014-07-25 23:16:11 -07:00
Branimir Karadžić
ade8f49b6d Added 32-bit texture formats. 2014-07-21 21:13:16 -07:00
Branimir Karadžić
62b620a1a0 Initial compute support. 2014-07-20 20:27:13 -07:00
Branimir Karadžić
1c917de7f9 Added C99 compatible header. 2014-05-31 00:18:45 -07:00
Branimir Karadžić
b0d204c344 Added ability to choose renderer backend in runtime. 2014-05-26 14:09:26 -07:00
Branimir Karadžić
bba2ef8031 Added predefined uniforms for inverted view/proj/viewproj matrices.
shaderc: Added raw shader support.
shaderc: Fixed uniform types.
2014-05-10 20:51:54 -07:00
Branimir Karadžić
7bc62b1d07 Added tristrip support. 2014-04-26 23:48:41 -07:00
Branimir Karadžić
dbbaa6ec90 Added texture debug info. 2014-04-19 15:02:43 -07:00
Branimir Karadžić
bc36c29f2a Added ability to retrieve uniforms used by shader. 2014-04-15 19:10:56 -07:00
Branimir Karadžić
ea34b9476c Fixed GL texture sampler state. Issue#85 2014-04-09 21:23:27 -07:00
Branimir Karadžić
f436f79c10 Simplified API, removed difference between vertex and fragment shaders. 2014-03-29 19:42:57 -07:00
Branimir Karadžić
2f3c37d850 Cleanup. 2014-03-27 22:36:53 -07:00
Branimir Karadžić
d3753d69bf Added support for blend separate and blend MRT independent. 2014-03-25 23:07:51 -07:00
Branimir Karadžić
c633838822 Fixed compile error. 2014-03-15 10:40:10 -07:00
Branimir Karadžić
08ec0f3f96 Cleanup. 2014-03-04 22:23:58 -08:00
Branimir Karadžić
dea6567b5b Cleanup. 2014-03-04 22:20:37 -08:00
Branimir Karadžić
c7ad5a0095 Use block info for minimum texture block size. 2014-03-01 20:08:50 -08:00
Branimir Karadžić
f04798d3e0 Fixed compressed image block size. 2014-03-01 19:27:34 -08:00
Branimir Karadžić
6eee3cca63 Added shadow samplers and updated example 15-shadowmaps-simple to use them. 2014-02-24 21:44:12 -08:00
Branimir Karadžić
a68ffbf4a0 WIP: Adding texture compare modes and shadow samplers support. 2014-02-23 11:21:23 -08:00
Branimir Karadžić
3bc15318fd Cleanup. 2014-02-20 22:05:50 -08:00
Branimir Karadžić
753b9fdd15 Added ability to skip top level mips when parsing texture format. 2014-02-19 22:34:53 -08:00
Branimir Karadžić
9ff1d0c513 Updated copyright year. 2014-02-10 22:07:04 -08:00
Branimir Karadžić
c89004fdeb Cleanup. 2014-02-10 21:06:46 -08:00
bkaradzic
877621105d Added MRT support. 2014-02-05 23:07:11 -08:00
bkaradzic
35f895adb3 Cleanup. 2014-01-19 16:03:09 -08:00
bkaradzic
96d9d7437b Swiched from FPU to SIMD math. 2014-01-18 23:33:00 -08:00
bkaradzic
046449395b Added depth stencil texture formats. 2014-01-12 13:51:26 -08:00
bkaradzic
d1117f34b5 Added support for different RT depth stencil formats. 2013-12-29 11:43:44 -08:00
bkaradzic
2fdea069ac Added fragment depth caps flag. 2013-12-15 12:30:23 -08:00
bkaradzic
25002b301d Added vertex attrib half caps. 2013-12-02 19:47:12 -08:00
bkaradzic
304683d839 Fixed DX11. 2013-11-16 10:58:15 -08:00
bkaradzic
b584873b50 Added ability to specify arbitrary source pitch when uploading textures.
Added reference weldVertices implementation.
2013-11-07 23:00:53 -08:00
bkaradzic
dcd0452d82 DX11: Fixed refcount checks on release. 2013-10-18 22:34:23 -07:00
Dario Manesku
176fe0f993 Fixed StencilOp bug. 2013-10-15 05:39:18 +01:00
bkaradzic
f440f160f9 Exposed renderer capabilities. 2013-10-10 18:29:57 -07:00
bkaradzic
2639c5f61d Added uniform reference counting. Reorg some header/source implementation. 2013-10-05 18:07:44 -07:00
bkaradzic
41d5bcfc1b DX11: Fixed assert when running with GPA. 2013-10-02 21:43:09 -07:00
bkaradzic
df1dfdc872 Added isValid check function for handles. 2013-09-29 21:33:50 -07:00
bkaradzic
9f2faf8c06 Added predefined uniforms docs. 2013-09-29 10:42:41 -07:00
bkaradzic
a5948679ca Removed context static inialization. 2013-09-20 22:13:58 -07:00
bkaradzic
083ada2fbd Replaced custom allocator handling. 2013-09-16 21:40:30 -07:00
bkaradzic
488483a945 Fixed texture update when requested texture format doesn't match internal texture format, and simplified texture creation. 2013-09-08 21:03:03 -07:00
bkaradzic
8cdc2a1d15 Added ETC2 and PVRTC2. 2013-09-04 21:42:31 -07:00
bkaradzic
19ce130464 Added PVRTC1 support. 2013-09-03 20:13:07 -07:00
bkaradzic
19dd4020f4 Added ETC1 texture support. Added KTX file format support. 2013-09-02 16:22:53 -07:00
bkaradzic
f7fe163f2b Cleanup. 2013-08-06 21:04:28 -07:00
bkaradzic
3aea7306c6 Fixed compiler errors. 2013-08-04 16:56:07 -07:00