Branimir Karadžić
ef05e607d6
Added support for GPU compute dynamic index buffer.
2015-01-10 20:38:47 -08:00
Branimir Karadžić
86765854b0
Fixed missing DX11 defines when building with MinGW on Linux.
2015-01-05 20:59:58 -08:00
Branimir Karadžić
c25dd466be
Updated copyright year.
2015-01-01 15:04:46 -08:00
Branimir Karadžić
1be040f2ab
Added compute dispatch flags.
2014-12-28 11:36:36 -08:00
Branimir Karadžić
9d83a5307c
Fixed example 24-nbody with OVR.
2014-12-28 10:12:24 -08:00
Branimir Karadžić
6e73d4ea34
Predefined uniforms refactoring.
2014-12-27 19:00:41 -08:00
Miodrag Milanovic
3df7041cba
Fixed compile and linking under mingw environment
2014-12-24 11:46:49 +01:00
Branimir Karadžić
08d97d8c4b
OVR: Support for multiple SDK versions.
2014-12-21 18:55:33 -08:00
Branimir Karadžić
83f151f71b
Added 24-nbody compute shader example.
2014-12-19 21:09:58 -08:00
Branimir Karadžić
341eb4e609
Fixed issue #202 .
2014-12-16 23:25:18 -08:00
Branimir Karadžić
d45e245039
Updated RenderDoc to nightly 20141211. Added support for capturing OpenGL.
2014-12-11 20:48:16 -08:00
Branimir Karadžić
47f100d70f
Fixed compute buffer.
2014-12-10 21:09:13 -08:00
Branimir Karadžić
ad47659669
Added compute buffer support.
2014-12-09 23:16:27 -08:00
Branimir Karadžić
18e9c30a0c
Updated OVR SDK 0.4.4.
2014-12-05 19:17:59 -08:00
Branimir Karadžić
584a32038f
Cleanup.
2014-12-04 19:56:19 -08:00
Branimir Karadžić
1f696d2f7f
DX11: Fixed device creation flags.
2014-12-04 19:35:01 -08:00
Branimir Karadžić
a7290afc4f
DX11: Fixed screen shot.
2014-12-02 20:28:14 -08:00
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
bkaradzic
e9504c9a26
Removed using namespace bx.
2013-08-03 22:15:13 -07:00
bkaradzic
fe0bbeb0e6
If both view and primitive scissors are set set their intersection as scissor region.
2013-08-01 22:55:26 -07:00
bkaradzic
bac2073b76
Added support for per primitive scissor.
2013-07-27 15:27:54 -07:00
bkaradzic
a1e226cb5b
Cleanup.
2013-07-26 22:55:13 -07:00
bkaradzic
b1901ae776
Fixed instancing.
2013-07-25 23:13:48 -07:00
bkaradzic
a1dfd1ab0d
Added ability to change sampler filter when setting texture. GL/GLES3: Added support for GL_ARB_sampler_objects.
2013-07-24 21:59:59 -07:00
bkaradzic
f5edb6cdf4
Added view scissor support.
2013-07-14 14:32:09 -07:00
bkaradzic
da5d390262
Fixed buffer overrun.
2013-06-25 21:09:20 -07:00
bkaradzic
87dfe979a5
Added blend equation support.
2013-06-17 22:11:45 -07:00
bkaradzic
1f4539ec7c
Added ability to set marker for profiling events.
2013-06-10 22:41:03 -07:00
bkaradzic
a5c6c0bf5b
Added ability to set view name for profiling events.
2013-06-09 15:28:25 -07:00
bkaradzic
493766caa6
Added vsync info to debug display.
2013-06-08 08:25:03 -07:00
bkaradzic
757bf93b78
DX11: Added device info to debug display.
2013-04-27 18:03:40 -07:00
bkaradzic
8a6b6133ec
Fixed stencil clear when using clear quad.
2013-04-14 18:18:11 -07:00
bkaradzic
4367082297
DX11: MSAA wip.
2013-04-10 21:42:00 -07:00
bkaradzic
253f313a34
Added wglSwapInterval and ARB_debug_output. Removed BX_UNUSED used for removing warnings when debug messages are compiled out.
2013-04-07 22:12:49 -07:00
bkaradzic
3a62f3cd9f
Fixed compile error.
2013-04-07 21:06:02 -07:00
bkaradzic
5b763a28bb
Added blend factor/color blend modes support.
2013-03-29 22:58:50 -07:00
bkaradzic
365f2655b3
Added aditional render target color formats.
2013-03-28 22:34:59 -07:00
bkaradzic
6582276e3e
Fixed L4 warnings.
2013-03-25 21:13:54 -07:00
bkaradzic
b26b292b02
Added check for stride/vertex size.
2013-03-23 16:04:45 -07:00
bkaradzic
9e825e3c77
Added GL clear quad.
2013-03-23 16:02:34 -07:00
bkaradzic
a165353896
Removed fixed function alpha test.
2013-03-08 21:54:08 -08:00
bkaradzic
435b83f1ac
Added texture update batching. Added rect packing.
2013-03-02 21:35:09 -08:00
Garett Bass
295059564e
Fix MSVC warnings
...
renderer_d3d11.cpp(615): warning C4389: '==' : signed/unsigned mismatch
renderer_d3d11.cpp(1100): warning C4189: 'deviceCtx' : local variable is
initialized but not referenced
2013-02-26 18:54:03 -08:00
bkaradzic
e0eca362ad
Fixed DX9 lack of non-normalized UINT16 vertex decl type.
2013-02-23 19:02:51 -08:00
bkaradzic
074bf5a232
Added dummy window to peek into WGL features.
2013-02-23 00:15:54 -08:00
bkaradzic
8e0e21f40d
Normalized line endings.
2013-02-21 21:07:31 -08:00
bkaradzic
195fd6913d
Manually integrated @gtbass DX11 vsync change.
2013-02-20 22:18:59 -08:00
bkaradzic
5aa0c15dd5
DX11 unified caching sampler state.
2013-02-16 13:52:35 -08:00
bkaradzic
d6cb01f72d
Fixed sampler state ref leak.
2013-02-10 18:12:52 -08:00
bkaradzic
4dc9be09d3
Fixed RGBA16F DDS loading.
2013-01-26 23:00:35 -08:00
bkaradzic
f0b80b6d09
Fixed bpp.
2013-01-22 20:04:02 -08:00