Commit graph

3164 commits

Author SHA1 Message Date
Miodrag Milanovic
b925007b9d Fix for MINGW compile (nw) 2015-05-27 12:27:00 +02:00
Branimir Karadžić
7de108d78c Merge branch 'master' of github.com:bkaradzic/bgfx 2015-05-26 12:08:20 -07:00
Branimir Karadžić
29001134ca Removed dxguid from shaderc, use INITGUID instead. 2015-05-26 12:08:12 -07:00
Branimir Karadžić
f42cee24a6 Rebuilt shaders. 2015-05-25 18:59:39 -07:00
Branimir Karadžić
567701c750 Removed glsl-optimizer texture LOD workarounds. 2015-05-25 18:58:55 -07:00
Branimir Karadžić
f186c7eeaa Merge pull request #401 from MikePopoloski/master
Fixing display bug when using flip-sequential swap effect.
2015-05-24 10:42:39 -07:00
Mike Popoloski
b32fc0ec27 Fixing display bug when using flip-sequential swap effect. 2015-05-24 13:29:21 -04:00
Branimir Karadžić
25c7b6a3fa Merge branch 'master' of github.com:bkaradzic/bgfx 2015-05-24 10:25:55 -07:00
Branimir Karadžić
7461299271 Updated texture loading. 2015-05-24 10:25:47 -07:00
Branimir Karadžić
350733e456 Merge pull request #400 from MikePopoloski/master
Enabling WinRT / Windows Store apps for bgfx.
2015-05-24 10:23:47 -07:00
Branimir Karadžić
d58d62401e Added texture size check. 2015-05-24 10:20:21 -07:00
Mike Popoloski
4387bed7c2 Enabling WinRT / Windows Store apps for bgfx. 2015-05-24 13:16:18 -04:00
Branimir Karadžić
0c78fe8073 Cleanup. 2015-05-21 17:58:21 -07:00
Branimir Karadžić
a361918374 Fixed issue #392. 2015-05-21 17:49:02 -07:00
Branimir Karadžić
cd234013ce Fixed mach TLS issue. 2015-05-21 16:50:14 -07:00
Branimir Karadžić
57f61b7e32 Added ability to run in single-thread mode without rebuild. 2015-05-21 16:45:24 -07:00
Branimir Karadžić
ab22eca640 D3D9: Fixed clear quad. 2015-05-20 17:02:19 -07:00
Branimir Karadžić
2e56304280 Fixed leak in single-threaded mode. 2015-05-19 15:52:47 -07:00
Branimir Karadžić
2048aef329 Cleanup. 2015-05-18 20:34:21 -07:00
Branimir Karadžić
11868f704a GLES31: Fixed image format test. 2015-05-18 20:24:37 -07:00
Branimir Karadžić
6b8964acf7 GL: Added image format test. 2015-05-18 14:35:05 -07:00
Branimir Karadžić
e5a69d4b96 Updated imgui. 2015-05-18 14:03:52 -07:00
Branimir Karadžić
c4231c9731 Added framebuffer support test. 2015-05-18 12:39:42 -07:00
Branimir Karadžić
fb01830ee0 Updated README. 2015-05-18 09:41:14 -07:00
Branimir Karadžić
20f8a878ec Merge pull request #391 from mendsley/dx11_map_constbuffers
Map/Unmap constant buffers instead of using UpdateSubResource
2015-05-17 17:27:19 -07:00
Matthew Endsley
b124334343 Map/Unmap constant buffers instead of using UpdateSubResource
(XB1) Drops GPU Busy % on spiral from 65% to 20%

(PC) Drops bgfx::d3d11::RendererContextD3D11::commitShaderConstants
CPU usage by 95% (11.21%->0.66%)

(PC) Overall decreases bgfx::d3d11::RenderContextD3D11::submit CPU
usage by another 34% (27.18%->17.90%)
2015-05-17 13:08:33 -07:00
Branimir Karadžić
9e8652f661 Merge pull request #390 from MikePopoloski/master
Adding missing C99 API methods.
2015-05-16 16:53:36 -07:00
Mike Popoloski
ad9e9fe111 Adding missing C99 API methods. 2015-05-16 19:07:10 -04:00
Branimir Karadžić
4b18beb082 Rollback #389. 2015-05-15 20:08:38 -07:00
Branimir Karadžić
e348c08ebe D3D11: Disable map constant buffers. 2015-05-15 19:48:36 -07:00
Branimir Karadžić
991a9604cb Merge branch 'master' of github.com:bkaradzic/bgfx 2015-05-15 16:49:59 -07:00
Branimir Karadžić
c957a3dd51 Fixed timer query. 2015-05-15 16:49:53 -07:00
Branimir Karadžić
3dc38ed404 Merge pull request #389 from mendsley/dx11_map_constbuffers
Map/Unmap constant buffers instead of using UpdateSubResource
2015-05-15 14:16:17 -07:00
Matthew Endsley
51875f88b0 Map/Unmap constant buffers instead of using UpdateSubResource
(XB1) Drops GPU Busy % on spiral from 65% to 20%

(PC) Drops bgfx::d3d11::RendererContextD3D11::commitShaderConstants
CPU usage by 95% (11.21%->0.66%)

(PC) Overall decreases bgfx::d3d11::RenderContextD3D11::submit CPU
usage by another 34% (27.18%->17.90%)
2015-05-15 13:38:43 -07:00
Branimir Karadžić
2a49e5a143 Added flush after render reset flag. 2015-05-15 13:14:35 -07:00
Branimir Karadžić
4422e7227a Cleanup. 2015-05-14 21:16:33 -07:00
Branimir Karadžić
8964e68c87 Updated docs. 2015-05-14 20:33:33 -07:00
Branimir Karadžić
1f241e3cc1 Cleanup. 2015-05-14 19:05:59 -07:00
Branimir Karadžić
a8ef81ae4b D3D11: Force draw indirect UAV format to be uint32x4. 2015-05-14 14:38:53 -07:00
Branimir Karadžić
f5d0a39dd0 Added buffer compute format flags. 2015-05-14 11:37:32 -07:00
Branimir Karadžić
65ac7c33f5 Added png/jpg/tga/etc. to load texture utility function. 2015-05-13 22:54:52 -07:00
Branimir Karadžić
0305ba0bda Cleanup. 2015-05-13 14:11:56 -07:00
Branimir Karadžić
cacb332b42 GL: Enabled texture check for all platforms. 2015-05-12 23:03:17 -07:00
Branimir Karadžić
1deb6a2e9d Fixed issue #385. 2015-05-12 19:55:54 -07:00
Branimir Karadžić
8da183a2f1 Cleanup. 2015-05-12 17:25:09 -07:00
Branimir Karadžić
5e33eaf65b Merge pull request #384 from bullno1/color-texture-format-detection
Fix color texture format detection for webgl and gles < 3.0
2015-05-12 17:05:15 -07:00
Branimir Karadžić
e05eddce21 Merge branch 'master' of github.com:bkaradzic/bgfx 2015-05-12 17:03:32 -07:00
Branimir Karadžić
7d50012dbe Added GPU timer. 2015-05-12 17:03:25 -07:00
bullno1
0a3795ddfc Fix color texture format detection for webgl and gles < 3.0 2015-05-13 03:05:33 +08:00
Branimir Karadžić
32ce3ec84d Merge pull request #381 from jpcy/reset_unpack_row_length
Reset glPixelStorei GL_UNPACK_ROW_LENGTH to 0 after texture upload
2015-05-11 20:37:56 -07:00