Commit Graph

2107 Commits

Author SHA1 Message Date
attilaz
5dba3a93af MSL vs/fs shaders use spirv-cross 2019-01-22 22:31:41 +01:00
Attila Kocsis
d3a26819e0 Fixed Invalid Viewrects 2019-01-19 12:15:41 +01:00
attilaz
b5ac92e5fa spirv-cross: removed rename hack
recompiled metal shaders
2019-01-19 09:13:46 +01:00
Бранимир Караџић
e105c88e55 Cleanup. 2019-01-18 18:07:29 -08:00
attilaz
c23e2b6362 39-assao: use buffer for atomic to support metal 2019-01-18 22:29:57 +01:00
Бранимир Караџић
6df4bf4a4c Cleanup. 2019-01-16 09:24:06 -08:00
Branimir Karadžić
54eaf5667b Built missing metal shaders. 2019-01-15 22:54:48 -08:00
Бранимир Караџић
a9747bc739 Cleanup. 2019-01-14 23:41:02 -08:00
Бранимир Караџић
0df9a005fa Cleanup. 2019-01-14 19:08:49 -08:00
Бранимир Караџић
20d97f4597 40-svt: Metal shaders. 2019-01-14 09:25:07 -08:00
Бранимир Караџић
6f67042e4b 24-nbody: Metal shaders. 2019-01-14 09:21:06 -08:00
Бранимир Караџић
3f3a9450ba Happy New Year! 2019-01-13 17:13:25 -08:00
Бранимир Караџић
a54f8a3f81 Renamed UniformType enum Int1 to Sampler. 2019-01-11 14:14:17 -08:00
Attila Kocsis
5cdd4de559 Moved autoreleasepool into renderframe 2019-01-10 20:25:06 +01:00
Бранимир Караџић
9d36479baf Fixed FPS widget. 2019-01-06 21:46:21 -08:00
Бранимир Караџић
9d211e2ee4 Cleanup. 2019-01-06 17:15:56 -08:00
Mathieu-Andre Chiasson
ef3451c0b4 examples now have an FPS histogram, min, max, avg 2019-01-06 19:41:27 -05:00
Branimir Karadžić
30d706a562 Fixed VS build. 2019-01-06 11:52:21 -08:00
Branimir Karadžić
b319752875 Cleanup. 2019-01-05 17:37:55 -08:00
Бранимир Караџић
6f6c393b04 40-svt: Added screenshot. 2019-01-05 08:55:03 -08:00
Branimir Karadžić
4c70a7cc4b Updated shaders. 2019-01-05 08:38:09 -08:00
Aleš Mlakar
6882d8e585 Merge branch 'master' of https://github.com/bkaradzic/bgfx into svt-example 2019-01-05 17:08:01 +01:00
Aleš Mlakar
e024fb84d7 SVT example more removed unused 2019-01-05 08:44:36 +01:00
Aleš Mlakar
e007b66e6b SVT example removed unused 2019-01-05 08:38:16 +01:00
Aleš Mlakar
cf4d1ca28e SVT shaders copyright and formatting fixes 2019-01-05 08:12:48 +01:00
Aleš Mlakar
9f748b1b28 SVT example tab spaces 2019-01-05 08:06:21 +01:00
Aleš Mlakar
2e327bff68 SVT example allocator fixes 2019-01-05 08:04:22 +01:00
Aleš Mlakar
31c1b56ffb SVT example fixes and std replaced with tinystl (except std::function) 2019-01-04 10:30:04 +01:00
Aleš Mlakar
ec167c1d51 SVT example fixes 2019-01-04 09:51:12 +01:00
Бранимир Караџић
bc65303576 Merge branch 'master' of github.com:bkaradzic/bgfx 2019-01-03 22:03:42 -08:00
Бранимир Караџић
d712453609 Cleanup. 2019-01-03 22:03:40 -08:00
Бранимир Караџић
b6c911a389 Cleanup. 2019-01-03 15:23:53 -08:00
Бранимир Караџић
7b3e5f84d6 Cleanup. 2019-01-03 15:16:29 -08:00
Бранимир Караџић
e28e458173 Cleanup. 2019-01-03 14:39:41 -08:00
Бранимир Караџић
fb8a82a5fd Cleanup. 2019-01-03 14:30:59 -08:00
Aleš Mlakar
7732554b02 SVT example formatting fix 2019-01-03 12:04:54 +01:00
Aleš Mlakar
ada5d979d8 Merge branch 'master' of https://github.com/jazzbre/bgfx into svt-example 2019-01-03 11:44:31 +01:00
Aleš Mlakar
1c6c7378e8 * 40-svt: Added to project. Added screenshot. Built shaders. 2019-01-03 11:34:30 +01:00
Бранимир Караџић
149b0e867b
Merge pull request #1599 from junjie020/master
fix example 06 of bump mapping which lighting calculation is incorrect
2018-12-29 08:21:31 -08:00
junjie020
9a39e66e2b add compile shader 2018-12-29 17:58:43 +08:00
junjie020
c4aa82e2fa fix bump example tangent lighting wrong 2018-12-29 17:29:49 +08:00
Mathieu-Andre Chiasson
5be52bb925 upgraded nanovg to the latest. 2018-12-27 21:52:01 -05:00
Branimir Karadžić
147a379067 Cleanup. 2018-12-21 21:05:26 -08:00
Branimir Karadžić
5a996c95d9 Cleanup. 2018-12-21 20:39:31 -08:00
Branimir Karadžić
63e298795d Cleanup. 2018-12-21 18:02:39 -08:00
Branimir Karadžić
7b98546fd7 Removing old vector math. 2018-12-20 21:49:10 -08:00
Бранимир Караџић
eae8d7e6b5 Cleanup. 2018-12-14 21:38:50 -08:00
Бранимир Караџић
de55145c7e Cleanup. 2018-12-14 16:11:14 -08:00
Бранимир Караџић
74a599541c Cleanup. 2018-12-14 14:38:54 -08:00
Бранимир Караџић
7a815f6706 Cleanup. 2018-12-14 14:30:23 -08:00
Branimir Karadžić
8acd90f98a 39-assao: Added to project. Added screenshot. Built shaders. 2018-12-14 14:27:03 -08:00
attilaz
ead0e5b0fb assao 2018-12-14 22:09:37 +01:00
Daniil Sunyaev
4d0575060f update texture-sampling cmp flag in comments to a new name 2018-12-11 22:49:31 +03:00
Branimir Karadžić
1d2ef78e8b Cleanup. 2018-12-10 20:41:36 -08:00
Branimir Karadžić
0740b29de7 Cleanup. 2018-12-10 19:39:00 -08:00
Branimir Karadžić
d95a7bd4b8 22-windows: Fixed crash. 2018-12-10 19:23:37 -08:00
Branimir Karadžić
18c84e1f7f Cleanup. 2018-12-09 22:33:37 -08:00
Attila Kocsis
28c1ffd28f iOS metal fixes 2018-12-09 10:03:21 +01:00
Branimir Karadžić
0ecd0bb88f Cleanup. 2018-12-08 08:56:06 -08:00
Branimir Karadžić
e1d7b56a85 Removing old vector math. 2018-12-07 19:42:34 -08:00
Branimir Karadžić
1a5b892be4 Removing old vector math. 2018-12-06 22:03:47 -08:00
Branimir Karadžić
8ecba5c525 Merge branch 'master' of github.com:bkaradzic/bgfx 2018-12-06 00:12:12 -08:00
Branimir Karadžić
38ef1b1c8f Cleanup. 2018-12-06 00:12:00 -08:00
Branimir Karadžić
54c2ccf31e Metal: Moving auto release pool inside renderer. Issue #1269. 2018-12-05 22:08:05 -08:00
Branimir Karadžić
6bd177e9e8 Cleanup. 2018-12-04 20:15:26 -08:00
Branimir Karadžić
715b512d29 Cleanup. 2018-12-04 18:30:45 -08:00
Branimir Karadžić
610d503d97 OSX: Multiple window support. Manual merge from PR #1563. 2018-11-28 15:19:13 -08:00
Branimir Karadžić
bcfc99d094 Cleanup. 2018-11-25 20:11:03 -08:00
Branimir Karadžić
66a7d6ab05 Removing old vector math. 2018-11-16 21:54:20 -08:00
Branimir Karadžić
b1752bc630 Removing old vector math. 2018-11-16 20:31:57 -08:00
Branimir Karadžić
48074e3eeb Cleanup. 2018-11-14 20:01:51 -08:00
Branimir Karadžić
a1b4cfc06c Switching to new Vec3. 2018-11-13 22:38:41 -08:00
Branimir Karadžić
e0d0af370d Cleanup. 2018-11-06 20:06:29 -08:00
Branimir Karadžić
cb926d3f1f 29-debugdraw: Intersect plane. 2018-11-06 18:04:08 -08:00
Branimir Karadžić
3794494d3b Fixed static analysis issues from #1535. 2018-10-28 15:34:06 -07:00
Branimir Karadžić
6bff345637 StringView cleanup. 2018-10-21 19:17:44 -07:00
NPatch
84b47423af Fixed ImGuizmo::ROTATE (#1524)
mtxSRT produced a matrix that ImGuizmo did not agree with when it came to rotation(ImGuizmo::ROTATE). Using ImGuizmo's RecomposeMatrixFromComponents fixes this issue.
2018-10-18 10:52:14 -07:00
Branimir Karadžić
20bd0607e4 01-cubes: Added line strip primitive. 2018-10-08 10:10:40 -07:00
Branimir Karadžić
051369831d 01-cubes: Fixed topology to match combo box. 2018-10-02 07:59:56 -07:00
Branimir Karadžić
fb4cfd473c Cleanup. 2018-09-20 22:48:07 -07:00
Branimir Karadžić
80ac71011c Cleanup. 2018-09-20 22:13:47 -07:00
Branimir Karadžić
6eaac4212d Cleanup. 2018-09-20 17:06:20 -07:00
Branimir Karadžić
fd65b5a36e Cleanup. 2018-09-20 15:49:56 -07:00
Branimir Karadžić
06bd5d16cd Cleanup. 2018-09-19 21:54:16 -07:00
Branimir Karadžić
1d88d4244d 38-bloom: Updated screenshot. 2018-09-19 21:49:25 -07:00
Branimir Karadžić
83b1ece243 Rebuilt shaders. 2018-09-19 20:35:53 -07:00
Branimir Karadžić
820e74a058 Cleanup. 2018-09-19 20:22:47 -07:00
Branimir Karadžić
e1da0f5e44 Cleanup. 2018-09-19 20:07:53 -07:00
Branimir Karadžić
99e6da5b50 Added file/line argument to fatal callback. 2018-09-19 17:54:51 -07:00
Branimir Karadžić
4b0dc0676a 38-bloom: Added Metal shaders. 2018-09-19 12:28:01 -07:00
Eric Arnebäck
ab1080ae94 Bloom Example (#1491)
* add bloom demo

* remove modification to readme

* add references for the bloom implementation
2018-09-19 12:24:52 -07:00
Branimir Karadžić
2b427d5126 Cleanup. 2018-09-18 17:24:18 -07:00
Branimir Karadžić
be8b8381cc Cleanup. 2018-09-17 20:51:21 -07:00
Branimir Karadžić
96fe6b3d7b debugdraw: Added quad. 2018-09-17 17:25:14 -07:00
Branimir Karadžić
f0772da653 Cleanup. 2018-09-10 17:45:23 -07:00
Branimir Karadžić
b4ab3dd95e debugdraw: Added 32-bit indices. Fixed pop transform. 2018-09-04 17:27:35 -07:00
Branimir Karadžić
f40bf8e862 Added ability to sample stencil part of depth/stencil texture. 2018-08-23 17:59:47 -07:00
Branimir Karadžić
88c6252e42 D3D11/12: Added support for HDR10 display output. 2018-08-22 17:18:11 -07:00
Branimir Karadžić
4433b5bcdc Separating sampler flags from texture creation flags. 2018-08-20 17:12:26 -07:00
Branimir Karadžić
db0ec1f5db Removed HMD API and OculusVR support. 2018-07-19 20:22:21 -07:00
Branimir Karadžić
32780829c2 Added source uffizi light probe and conversion to runtime asset. 2018-06-30 15:46:23 -07:00
Branimir Karadžić
d7c5156084 Cleanup. 2018-06-16 08:34:06 -07:00
Branimir Karadžić
2986c1eb7b D3D11/12: Added ASTC formats. 2018-06-11 14:43:17 -07:00
Andrew Willmott
acd99728b7 ATC and ASTC support (#1410)
* ATC & ASTC support

- Add update format enum for bimg additions
- renderer_gl ATC and ATSC support
- renderer_mtl ASTC support
- renderer_vk ASTC support
- updates to other backends for new enums
- Support emulated ATC

* cleanup

* Add texture_compression test files for ATC/ASTC formats

* Update 'update' example for ATC formats

- Generalise tile code a little
- Add ATC variants
- Ignoring ASTC for now as not emulated -- should we add empty
  checkerboard emulate though?
2018-06-11 09:23:41 -07:00
Branimir Karadžić
9da45ed78c Renamed bgfx::updateDynamic* to just bgfx::update. 2018-06-09 17:29:00 -07:00
Branimir Karadžić
061cde8d53 Cleanup. 2018-06-08 16:53:35 -07:00
Branimir Karadžić
1f5220a931 01-cubes: Added primitive topology combo box. 2018-06-07 21:23:09 -07:00
OswaldHurlem
ff34c8c37d Mouse up/down events from entry_sdl.cpp incorrectly have mouse z (scroll_z) set to zero (#1404) 2018-06-06 21:40:18 -07:00
Branimir Karadžić
8bc501d0a1 debugdraw: Use encoder for transforms. 2018-05-24 18:03:51 -07:00
Branimir Karadžić
507dd115e8 Rebuild assets. 2018-05-23 21:18:41 -07:00
Branimir Karadžić
0d502588d0 Removed ViewId style from ImGui. 2018-05-09 08:01:29 -07:00
Branimir Karadžić
cbfa3b59db Cleanup. 2018-05-06 18:39:44 -07:00
Branimir Karadžić
e74a5d7843 Renamed ocornut-imgui to dear-imgui. 2018-05-06 08:57:48 -07:00
Branimir Karadžić
80d56ed37c Cleanup. 2018-04-23 16:23:38 -07:00
Branimir Karadžić
1068eff004 Cleanup. 2018-04-20 16:55:53 -07:00
Branimir Karadžić
5bb6a14876 Changed bgfx::init to take init parameters as structure instead of arguments. 2018-04-17 15:42:18 -07:00
Bill Freist
d6777a8887 Only flush and set the depth test bits if depth is currently enabled already. (#1375)
This removes a bug where you could blow away the options set in a previous call to setState() which can enabled/disable depth testing.
2018-04-16 22:04:49 -07:00
Branimir Karadžić
46dcba65e5 debugdraw: Added depth test less to begin. 2018-04-16 17:58:17 -07:00
Hugo Amnov
7518234700 Fix wrong frustum in shadowmaps example (#1372) 2018-04-14 16:47:40 -07:00
Branimir Karadžić
0c405fc256 shaderc: Fixed SPIRV uniform offsets. 2018-04-14 10:30:00 -07:00
Branimir Karadžić
45918a4e81 Updated shaders. 2018-04-12 20:45:33 -07:00
Branimir Karadžić
ab46f3f353 Rebuild embedded shaders. 2018-04-11 21:14:22 -07:00
Branimir Karadžić
f3313f825a debugdraw: Added encoder to allow MT submit. 2018-04-11 17:26:55 -07:00
Branimir Karadžić
03b7659b37 debugdraw: Allow use of encoder. 2018-04-10 17:15:24 -07:00
Branimir Karadžić
2bbc67e922 Cleanup. 2018-04-10 08:55:56 -07:00
Branimir Karadžić
f92c6625d9 VK: Cleanup. 2018-04-09 21:09:52 -07:00
Branimir Karadžić
93a1c8171a Cleanup. 2018-04-08 20:12:49 -07:00
Branimir Karadžić
3272efe2f5 Cleanup. 2018-03-28 20:35:37 -07:00
Branimir Karadžić
b48813cf48 Cleanup. 2018-03-20 17:54:30 -07:00
Branimir Karadžić
5ecd605107 Updated shaders. 2018-03-17 21:56:54 -07:00
Branimir Karadžić
9b03c0cfe3 Cleanup. 2018-03-17 21:44:25 -07:00
Branimir Karadžić
6e7e761a3b Cleanup. 2018-03-10 15:01:22 -08:00
Branimir Karadžić
969cc7c8b8 Cleanup. 2018-03-10 14:27:32 -08:00
Branimir Karadžić
628e2fcab7 Removed dummy z-only pass fragment shader (null fragment shader is supported now). 2018-03-06 19:53:37 -08:00
Branimir Karadžić
2250f45510 Updated shaders. 2018-03-06 19:49:20 -08:00
Branimir Karadžić
d1a34aabe4 Cleanup. 2018-03-06 19:48:33 -08:00
Branimir Karadžić
5c07a62164 Fixed issue #1346. 2018-03-06 19:48:13 -08:00
Branimir Karadžić
9422aec753 Cleanup. 2018-03-05 20:24:03 -08:00
Branimir Karadžić
fa7a871ca7 Cleanup. 2018-03-04 22:11:38 -08:00
Branimir Karadžić
aeeae5454f Fixed OSX build. 2018-03-04 21:44:08 -08:00
Branimir Karadžić
5d2f256dc4 Cleanup. 2018-03-04 21:33:21 -08:00
Branimir Karadžić
14e14c12a5 Removed unused function. 2018-03-04 17:29:35 -08:00
Branimir Karadžić
c69135aff1 Cleanup. 2018-03-04 16:51:43 -08:00
Branimir Karadžić
fb2b2069a6 37-gpudrivenrendering: Added screenshot. 2018-03-04 16:44:41 -08:00
Branimir Karadžić
bcc5cf8539 Fixed MSVC warnings. 2018-03-04 16:23:51 -08:00
Branimir Karadžić
00a53d6d1b Fixed GCC build. 2018-03-04 16:21:23 -08:00
Branimir Karadžić
2fe1e65322 37-gpudrivenrendering: Added shaders. 2018-03-04 16:11:32 -08:00
Branimir Karadžić
90aadf835b 37-gpudrivenrendering: Fixed GL shaders. 2018-03-04 16:11:05 -08:00
KostasAAA
e474666a55 Initial commit of gpu occlusion culling with multidraw indirect example (#1344) 2018-03-04 15:02:42 -08:00
Branimir Karadžić
b4229e4a17 Cleanup. 2018-03-01 17:30:28 -08:00
Branimir Karadžić
15485134f7 Updated nanovg. 2018-03-01 09:05:54 -08:00
Branimir Karadžić
b08e985508 OSX: Fixed title bar. 2018-02-26 07:55:43 -08:00
Branimir Karadžić
3fbfd16f29 OSX: Fixed warnings. 2018-02-20 13:20:45 -08:00
Branimir Karadžić
4b78939317 Removed use of wchar_t. 2018-02-17 12:27:07 -08:00
Branimir Karadžić
3798bb7105 Updated ImGui. 2018-02-16 18:21:19 -08:00
Rico P
01e7b1ccf5 add missing return statement (#1335)
I had to fix this, because my linker was complaining
2018-02-16 08:48:27 -08:00
Branimir Karadžić
584b8b34f0 Added support for independent RGB channel write control. 2018-02-13 12:35:23 -08:00
Branimir Karadžić
19e7ea2cba Fixed issue #1329. 2018-02-11 22:48:16 -08:00
Branimir Karadžić
3a8857654f Added ability to set offset in instance data buffer. 2018-02-10 15:36:32 -08:00
Branimir Karadžić
c6f03ab6a3 Cleanup. 2018-02-06 21:39:50 -08:00
Branimir Karadžić
adfe3b002b Cleanup. 2018-02-06 21:35:36 -08:00
Branimir Karadžić
e8658e7c06 Cleanup. 2018-02-06 21:33:50 -08:00
Branimir Karadžić
f45d010b90 Updated ImGui. 2018-02-06 13:24:05 -08:00
Branimir Karadžić
0190e5543d Cleanup. 2018-02-01 19:38:55 -08:00
knightlyj
9f4260e54d Example bug fixed: ImGui::End() should be called whether ImGui::Begin() return true or false (#1325) 2018-01-31 09:51:27 -08:00
Johan Sköld
76442f2f29 Fixing macOS build. (#1324)
- Fixing compiler errors from C functions with missing argument lists.
- Silencing warning about -Wunused-but-set-variable being unknown.
- Silencing warnings about comma mis-use.
- Silencing warning about implicit cast from unsigned to int.
2018-01-30 21:47:27 -08:00
Branimir Karadžić
b781fe4dff Cleanup. 2018-01-27 20:03:37 -08:00
Branimir Karadžić
ad68f462fe Cleanup. 2018-01-27 17:12:11 -08:00
Branimir Karadžić
325dc2a145 Cleanup. 2018-01-25 21:46:35 -08:00
Branimir Karadžić
d04301dfda Fixed VGA color order, and clarified docs. 2018-01-25 20:34:17 -08:00
Branimir Karadžić
b4338ce0d2 Cleanup. 2018-01-19 17:07:03 -08:00
Branimir Karadžić
1a90c93458 Cleanup. 2018-01-17 21:05:14 -08:00
Branimir Karadžić
0d2fc80372 Cleanup. 2018-01-17 17:34:20 -08:00
Branimir Karadžić
49a75f2fb1 bx math API cleanup. 2018-01-13 15:33:50 -08:00
Branimir Karadžić
e38c7bfaec Updated embedded shaders. 2018-01-13 11:55:27 -08:00
Branimir Karadžić
e7e28151c1 Cleanup. 2018-01-12 10:03:59 -08:00
Branimir Karadžić
5433fc084e Cleanup. 2018-01-11 23:28:36 -08:00
Branimir Karadžić
d8643b5b2f Updated ImGui. 2018-01-11 22:10:53 -08:00
Branimir Karadžić
723503d917 Fixed warning. 2018-01-11 21:29:26 -08:00
Branimir Karadžić
50043c4580 29-debugdraw: Added custom geometry. 2018-01-11 20:50:45 -08:00
Branimir Karadžić
8f6da81bb6 debugdraw: Added support for custom geometry. 2018-01-11 00:14:36 -08:00
Branimir Karadžić
03e84603e8 Cleanup. 2018-01-09 17:14:27 -08:00
XingYi Hu
b2346a04c5 Fix OSX initial window size event. (#1311)
The height returned by contentRectForFrameRect is not exactly the same as the ENTRY_DEFAULT_HEIGHT if the screen size is not big enough.
For example, on my Mac, rect.height equals 702, which is 18 less than ENTRY_DEFAULT_HEIGHT(720).
This will cause the imgui’s cord system offset by 18, so even the cursor is not on the button, the imgui will still think the mouse is hover the button, also, the top of imgui’s window will also offset a little bit.
However, these symptom will gone when the window is resized.
In short, this fix unify the behavior of window size event in initial state with resize.
2018-01-09 09:53:50 -08:00
Branimir Karadžić
ae6f46d2a8 Fixed build. 2018-01-08 21:51:55 -08:00
Branimir Karadžić
e77b993a25 debugdraw: Added arbitrary mesh rendering. 2018-01-08 17:54:15 -08:00
Branimir Karadžić
60bd34b520 Fixed issue #1309. 2018-01-08 09:54:34 -08:00
Branimir Karadžić
0093775508 texturev: Added support for drop file. 2018-01-04 13:05:36 -08:00
Branimir Karadžić
37949c91f1 Cleanup. 2018-01-03 23:35:42 -08:00
Branimir Karadžić
8c91699678 entry: Drop file event for SDL. 2018-01-03 22:49:10 -08:00
Branimir Karadžić
d616ed345b entry: Drop file event for GLFW. 2018-01-03 21:58:37 -08:00
Branimir Karadžić
97e6c498a8 entry: Added drop file event WIP. 2018-01-03 21:37:42 -08:00
Branimir Karadžić
49b5c55610 Fixed SDL build. 2018-01-02 21:41:36 -08:00
Branimir Karadžić
ed00c24f6f texturev: Allow arbitrary window size. 2018-01-02 19:15:04 -08:00
Branimir Karadžić
f44c8e2b14 Happy New Year! 2018-01-01 11:16:06 -08:00
Branimir Karadžić
276bff9cb4 Cleanup. 2018-01-01 11:00:24 -08:00
Branimir Karadžić
1763179536 Fixed issue #1302. 2018-01-01 10:54:29 -08:00
James Fulop
6aa7c87758 Samples cleanup. Bringing debug text back on some samples, rearranging debug drawing around ImGui Example Dialog. Fix mouse state trampling in 22-windows. (#1300) 2017-12-27 11:41:40 -08:00
Branimir Karadžić
ecad7173d0 D3D12: Fixed 3D texture upload. 2017-12-20 11:11:02 -08:00
Branimir Karadžić
963aa2cac9 D3D12 UWP fixes. 2017-12-16 19:01:56 -08:00
Branimir Karadžić
0a3637fa27 Cleanup. 2017-12-14 20:59:31 -08:00
Branimir Karadžić
f7fea65bec Removed obsolete platforms. 2017-12-14 20:40:30 -08:00
Branimir Karadžić
e69f69e0cd D3D12: Cleanup. 2017-12-14 17:51:55 -08:00
Branimir Karadžić
0d1cf61bb1 Fixed UWP build. 2017-12-13 23:40:39 -08:00
Branimir Karadžić
9d2578e2cb Updated ImGui. 2017-12-12 08:54:29 -08:00
Branimir Karadžić
88e0bab5a1 D3D11: Detect color spaces. 2017-12-05 17:31:07 -08:00
Branimir Karadžić
fd93f4ba7b Cleanup. 2017-12-04 18:57:57 -08:00
Branimir Karadžić
797658b570 Cleanup. 2017-12-03 21:43:43 -08:00
Branimir Karadžić
1d55878181 Cleanup. 2017-12-03 19:43:34 -08:00
Branimir Karadžić
6adb0090d0 Added resource stats. 2017-12-03 19:42:06 -08:00
Branimir Karadžić
547d1d2b11 Cleanup. 2017-12-02 18:15:31 -08:00
Branimir Karadžić
907f835881 Removed use of obsolete ImGui API. 2017-12-01 21:04:27 -08:00
Miodrag Milanović
46e94d6e92 Do not use IMGUI deprecated calls (#1283) 2017-12-01 07:55:14 -08:00
Branimir Karadžić
624c050047 texturev: Added separate MSDF shader. 2017-11-29 21:06:14 -08:00
Branimir Karadžić
1ce463082b Fixed static init order issue. 2017-11-28 22:23:46 -08:00
Branimir Karadžić
f88c44a835 Cleanup. 2017-11-28 08:44:47 -08:00
Branimir Karadžić
f3ee8855fa Use ImGui new default dark/light style instead setting it up. 2017-11-28 08:21:18 -08:00
Branimir Karadžić
7a1e4637e3 Cleanup. 2017-11-27 23:10:34 -08:00
Branimir Karadžić
e7bcae2dfd Cleanup. 2017-11-27 19:44:27 -08:00
Branimir Karadžić
3533da7225 Fixed view id remapping. 2017-11-27 16:34:27 -08:00
Branimir Karadžić
7384171900 Fixed view id remapping. 2017-11-27 15:57:31 -08:00
Branimir Karadžić
b3fcc8350b Fixed issue #1281. 2017-11-27 09:06:57 -08:00
Branimir Karadžić
77c00da989 Changed API to use ViewId (uint16_t) instead of uint8_t. 2017-11-24 11:21:51 -08:00
Branimir Karadžić
2c7a1e5755 Cleanup. 2017-11-20 21:43:00 -08:00
Branimir Karadžić
cb9263b689 Updated ImGui. 2017-11-20 08:29:10 -08:00
Branimir Karadžić
899f72ae29 OSX: Fixed Key::Return. 2017-11-16 17:51:34 -08:00
Branimir Karadžić
bd9c62c310 GLFW: Fixed build. 2017-11-15 20:20:19 -08:00
Branimir Karadžić
e49a176d7e Cleanup. 2017-11-14 22:10:07 -08:00
Branimir Karadžić
690f232c09 Cleanup. 2017-11-09 21:14:37 -08:00
Branimir Karadžić
31b1712e7c Cleanup. 2017-11-09 20:29:47 -08:00
Branimir Karadžić
d2d4c8aebb Cleanup. 2017-11-09 20:21:56 -08:00
Branimir Karadžić
05e550c2b2 Fixed build. 2017-11-04 15:49:02 -07:00
Branimir Karadžić
df69aea77e 17-drawstress: Added use of encoder. 2017-11-04 15:34:11 -07:00
Branimir Karadžić
d97023ab85 Merge branch 'master' into encoder 2017-11-04 15:25:24 -07:00
Branimir Karadžić
2d835155a9 Fixed build. 2017-11-04 15:25:11 -07:00
Branimir Karadžić
ea7c59db33 Updated thread funcs to match bx. 2017-11-04 15:18:52 -07:00
Branimir Karadžić
a241daa114 Updated thread funcs to match bx. 2017-11-04 15:18:33 -07:00
Branimir Karadžić
6a278175ff Cleanup. 2017-11-04 10:32:31 -07:00
Branimir Karadžić
7ee2447f9d Cleanup. 2017-11-03 09:03:39 -07:00
Branimir Karadžić
1f86df4c54 Cleanup. 2017-11-02 22:09:03 -07:00
Branimir Karadžić
6480a62844 Added encoder stats. 2017-11-02 22:06:39 -07:00
Branimir Karadžić
e7bea07c82 Switching 17-drawstress to use encoder API. 2017-10-28 20:49:55 -07:00
markusobi
b42f66bea4 Example 27 Terrain: Fixed incorrect height display in mode Height Texture (#1266)
* fixed incorrect out of bounds check in terrain example

* added texture coordinates offset for texture2DLod lookup

* fixed compile error
2017-10-25 09:28:40 -07:00
Branimir Karadžić
09d821e234 Fixed particle reset. 2017-10-17 09:16:07 -07:00
Branimir Karadžić
a96a3a2356 Cleanup. 2017-10-16 08:41:27 -07:00
Branimir Karadžić
666d729539 Updated ImGui. 2017-10-14 11:04:45 -07:00
Branimir Karadžić
942c032f5a Fixed example dialog resize. 2017-10-08 21:08:14 -07:00
Branimir Karadžić
cfa81f314a Cleanup. 2017-10-06 21:50:38 -07:00
Branimir Karadžić
9ea283ed5a Cleanup. 2017-10-06 21:22:41 -07:00
Branimir Karadžić
4cdab3e971 Exposed internal profiler callbacks. 2017-10-06 18:07:40 -07:00
Branimir Karadžić
c0cf48425d Fixed build. 2017-10-05 23:12:54 -07:00
Branimir Karadžić
9675639187 Merge branch 'master' of github.com:bkaradzic/bgfx 2017-10-05 20:18:50 -07:00
Branimir Karadžić
fd5ee719fa 36-sky: Added time scale. 2017-10-05 20:18:45 -07:00
Stanislav
f9b5c86d10 Fixed flag ImGuiWindowFlags_AlwaysAutoResize been passed as alpha argument (#1251) 2017-10-05 20:05:52 -07:00
Branimir Karadžić
2ef1d526c6 Cleanup. 2017-10-05 09:09:36 -07:00
Branimir Karadžić
7a82571827 36-sky: Updated screenshot. 2017-10-04 20:46:31 -07:00
Branimir Karadžić
374b4b4469 geometryc: Fixed uv/normal output. 2017-10-04 20:31:58 -07:00
Branimir Karadžić
bf9d692d36 36-sky: Fixed lightmap. 2017-10-04 20:21:23 -07:00
Branimir Karadžić
7737343427 Added screenshots. 2017-10-03 20:59:33 -07:00
Branimir Karadžić
a6a689b235 Fixed row/column matrix issue. 2017-10-03 20:48:45 -07:00
Branimir Karadžić
016fd301b0 Built assets. 2017-10-03 20:29:40 -07:00
Stanislav
78c4539646 Added example 36-sky (#1250)
* Added example 36-sky

* Added shaders for example 36-sky.

* Fixed brackets, initialisation order and fmod issue
2017-10-03 19:50:05 -07:00
Branimir Karadžić
c6e5062067 Rebuilt shaders. 2017-10-01 23:08:08 -07:00
Branimir Karadžić
88e8009b55 Cleanup. 2017-10-01 21:57:48 -07:00
Branimir Karadžić
ed572fc5a6 Cleanup. 2017-09-30 16:25:11 -07:00
Branimir Karadžić
114b9ed10a Cleanup. 2017-09-28 22:56:06 -07:00
Branimir Karadžić
07f5e1184c 29-debugdraw: Display intersection normal. 2017-09-28 22:52:23 -07:00
Branimir Karadžić
783db66079 Fixed AABB hit normal. 2017-09-28 21:50:11 -07:00
Branimir Karadžić
5e40a84769 Cleanup. 2017-09-27 21:52:25 -07:00
Branimir Karadžić
81716be726 Cleanup. 2017-09-26 22:50:29 -07:00
Branimir Karadžić
f541703810 Added intersection test to example-29-debugdraw. 2017-09-26 21:09:26 -07:00
Branimir Karadžić
b0ae54f14a Cleanup. 2017-09-25 20:18:19 -07:00
Branimir Karadžić
63bff54a69 Fixed ray/cylinder intersection. 2017-09-24 23:33:08 -07:00
Branimir Karadžić
d8ec5a9a54 Cleanup. 2017-09-24 22:50:05 -07:00
Branimir Karadžić
7b94b8dcb4 Added ray/cone intersection. 2017-09-24 19:12:18 -07:00
Branimir Karadžić
b5af383cf8 Cleanup. 2017-09-23 16:27:16 -07:00
Branimir Karadžić
41b29a34a6 GL: Fixed GPU timer frequency. 2017-09-22 22:26:56 -07:00
Branimir Karadžić
4b4b1c31a6 Added perf timer for API thread. 2017-09-22 21:39:16 -07:00
attilaz
acf3db7a06 Fix sampler/texture indices for metal (#1242)
Fix for https://github.com/bkaradzic/bgfx/issues/1227 .

It gets texture slot from compiled shaders and maps it to Sampler uniform. So sampler uniform MUST be defined before using shader (shadowmap_simple has a bug with invalid uniform name).
2017-09-22 08:44:51 -07:00
attilaz
bc065cc4d0 Fix compilation on iOS (#1240) 2017-09-22 08:44:15 -07:00
Branimir Karadžić
8522bf95ac Cleanup. 2017-09-17 21:17:24 -07:00
Branimir Karadžić
04c3322d93 D3D9: Fixed persist dynamic buffers after device reset. 2017-09-17 21:01:20 -07:00
Branimir Karadžić
f07a30ca0b Added example 35-dynamic: dynamic buffers update. 2017-09-17 20:32:11 -07:00
Branimir Karadžić
2ef2e3ce81 Cleanup. 2017-09-16 21:12:02 -07:00
Branimir Karadžić
965f8c91b2 Cleanup. 2017-09-15 20:04:31 -07:00
Branimir Karadžić
634d5ef751 Fixed debug draw transform. 2017-09-12 17:58:36 -07:00
Libor Čapák
f56687ee4b SDL_GameControllerAddMapping needs zero-terminated string (#1234) 2017-09-11 13:28:28 -07:00
Branimir Karadžić
e62ffe9984 Cleanup. 2017-09-10 21:36:43 -07:00
Branimir Karadžić
adeb7f5870 Cleanup. 2017-09-10 20:58:45 -07:00
Branimir Karadžić
0dd6083787 Cleanup. 2017-09-02 19:30:40 -07:00
Branimir Karadžić
6dabea4ddc Updated embedded shaders. 2017-09-01 21:28:21 -07:00
Branimir Karadžić
50d0488b1f 07-callback: Fixed view rect. 2017-09-01 08:08:01 -07:00
attilaz
80a1006ac7 preserve window size when switching example (#1229)
I think this is more convenient on desktop, but is a must have on mobile where app is running in fullscreen and window size is set to screen size.
2017-09-01 08:01:47 -07:00
Branimir Karadžić
3aec2b89bf Added bgfx::setName to set resource debug name. 2017-08-30 21:46:57 -07:00
Branimir Karadžić
167db342bd Added BGFX_DEBUG_PROFILER. 2017-08-20 14:46:33 -07:00
Branimir Karadžić
f0971eda83 Removed Remotery. 2017-08-20 14:24:15 -07:00
Branimir Karadžić
21ade78454 Replaced GL internal profiler. 2017-08-20 14:20:54 -07:00
Branimir Karadžić
113ac0bc7a Cleanup. 2017-08-19 11:03:18 -07:00
Branimir Karadžić
f59464a338 Cleanup. 2017-08-19 11:02:45 -07:00
Branimir Karadžić
083c67d471 Added multiple vertex stream example. 2017-08-19 10:58:06 -07:00
Branimir Karadžić
578ed35243 Fixed issue #1215. 2017-08-16 20:48:26 -07:00
Branimir Karadžić
35ce2380df Updated ImGui. 2017-08-14 22:16:52 -07:00
Branimir Karadžić
c930137c54 Internal profiler WIP. 2017-08-13 21:15:39 -07:00
Branimir Karadžić
1dce73936f Cleanup. 2017-07-25 19:47:07 -07:00
Branimir Karadžić
87acea36e7 Cleanup. 2017-07-24 21:04:30 -07:00
Branimir Karadžić
93a2bbb6c6 Added Android file reader. 2017-07-24 21:04:24 -07:00
Branimir Karadžić
f09c886476 Cleanup. 2017-07-23 21:22:21 -07:00
Branimir Karadžić
e4147a49be Added capabilties check to examples. 2017-07-22 21:19:14 -07:00
Branimir Karadžić
a6ac22d435 30-picking: Show error when blit is not supported. 2017-07-22 17:40:27 -07:00
Branimir Karadžić
a04066ba41 Fixed issue #1210. 2017-07-20 20:25:48 -07:00
Branimir Karadžić
c38d76f42a texturev: Added image orientation. 2017-07-19 22:53:48 -07:00
mncat77
db49d0ec94 Fixed issue #1211 (#1212) 2017-07-19 09:25:23 -07:00
Branimir Karadžić
c4525ee302 imgui: Added Cyrillic characters. 2017-07-18 22:43:50 -07:00
Branimir Karadžić
094b1c8c69 Fixed issue #1211. 2017-07-18 20:05:00 -07:00
Branimir Karadžić
868417bbc7 Fixed issue #1210. 2017-07-18 19:58:37 -07:00
Branimir Karadžić
7c9b2b7257 API change: Simplified destroy functions to use overload resolution. 2017-07-17 22:29:43 -07:00
Branimir Karadžić
a247d29298 Cleanup. 2017-07-17 22:14:34 -07:00
Branimir Karadžić
3e212b519f Moving code around and renaming files. 2017-07-15 21:01:08 -07:00
Branimir Karadžić
127328d1db Fixed build. 2017-07-15 15:37:40 -07:00
Branimir Karadžić
0bbbb585d1 Cleanup. 2017-07-15 14:32:29 -07:00
Branimir Karadžić
a274c9a6c5 Replaced BX_OVERRIDE with override. 2017-07-15 00:17:29 -07:00
Branimir Karadžić
ac33b32cb5 Fixed windows build. 2017-07-14 23:38:45 -07:00
Branimir Karadžić
b4de76c14d Rebuilt textures. 2017-07-14 21:21:34 -07:00
Branimir Karadžić
24e796fa5b Cleanup. 2017-07-14 00:10:33 -07:00
Branimir Karadžić
b71736dfc1 Cleanup. 2017-07-09 19:47:59 -07:00
Branimir Karadžić
c6e9ba71cf Cleanup. 2017-07-08 16:16:50 -07:00
Branimir Karadžić
876036a310 Cleanup. 2017-07-08 15:30:32 -07:00
Branimir Karadžić
bd9d2b3f4b Cleanup. 2017-07-08 15:28:27 -07:00
Branimir Karadžić
ee90f34a06 Cleanup. 2017-07-08 13:09:44 -07:00
Branimir Karadžić
cbc86d49b5 Cleanup. 2017-07-08 10:51:38 -07:00
Branimir Karadžić
bacba8c2c7 Cleanup. 2017-07-08 01:04:24 -07:00
Branimir Karadžić
de4fa344d3 Cleanup. 2017-07-04 16:32:35 -07:00
Branimir Karadžić
94f01a34bf Fixed issue #1192. 2017-07-04 13:10:27 -07:00
Branimir Karadžić
3e772ffdac Cleanup. 2017-07-03 20:20:50 -07:00
Branimir Karadžić
de899486d1 Cleanup. 2017-07-03 19:17:32 -07:00
Branimir Karadžić
033eb8238f Cleanup. 2017-07-02 20:19:25 -07:00
Branimir Karadžić
e5426f78f5 Added previous/next example control. 2017-07-02 20:17:21 -07:00
Branimir Karadžić
e5f228b3c9 Cleanup. 2017-07-02 11:41:37 -07:00
Branimir Karadžić
6fa7c05fb9 Cleanup. 2017-06-30 23:36:37 -07:00
Branimir Karadžić
efe4fab1f8 07-callback: Changed example to not exit. 2017-06-30 23:12:21 -07:00
Branimir Karadžić
0fad539078 Cleanup. 2017-06-29 23:19:20 -07:00
Branimir Karadžić
e9a0f266bb Updated example control widget. 2017-06-29 22:47:16 -07:00
Branimir Karadžić
5df4969527 Fixed build. 2017-06-29 22:30:35 -07:00
Branimir Karadžić
917385f79e Cleanup. 2017-06-29 22:23:18 -07:00
attilaz
43dff1df66 iOS retina support (#1185) 2017-06-28 09:51:34 -07:00
Branimir Karadžić
936d105589 Fixed some GCC7 warnings. 2017-06-27 20:26:31 -07:00
attilaz
e09c96de84 16-shadowmaps fixed when used with combined examples (#1182) 2017-06-27 17:43:07 -07:00
Branimir Karadžić
43fb2f6f4b Cleanup. 2017-06-26 22:51:56 -07:00
Branimir Karadžić
6e08b6a42a Cleanup. 2017-06-26 22:21:20 -07:00
Branimir Karadžić
b12ce15a82 Moved showExampleDialog to separate library to decouple entry and imgui. 2017-06-26 21:04:16 -07:00
Branimir Karadžić
9e737f705d OSX: Don't exit on bgfx shutdown. Issue #1143. 2017-06-26 14:58:35 -07:00