Commit Graph

1943 Commits

Author SHA1 Message Date
Бранимир Караџић
65250881a1 Cleanup. 2019-02-11 16:49:11 -08:00
Бранимир Караџић
4d6da5473a Adding more bounds overlap tests. 2019-02-11 15:59:24 -08:00
Бранимир Караџић
604f275d61 Cleanup. 2019-02-10 21:08:44 -08:00
Бранимир Караџић
0dce0d0fd3 Adding more bounds overlap tests. 2019-02-10 17:59:27 -08:00
Бранимир Караџић
41585e6ffc Cleanup. 2019-02-09 22:09:25 -08:00
Бранимир Караџић
aee7e381e0 Cleanup. 2019-02-09 21:48:11 -08:00
Бранимир Караџић
567c7c097f Adding more bounds overlap tests. 2019-02-09 21:22:45 -08:00
Бранимир Караџић
f993167026 Cleanup. 2019-02-09 13:37:22 -08:00
Бранимир Караџић
cda981b8e3 Cleanup. 2019-02-07 18:04:28 -08:00
Бранимир Караџић
82550fa842 21-deferred: Added texture array frame buffer option. 2019-02-07 18:04:19 -08:00
Бранимир Караџић
6ea3568e9e Cleanup. 2019-02-07 10:06:56 -08:00
Бранимир Караџић
aa1d20761c Cleanup. 2019-02-07 08:15:11 -08:00
Бранимир Караџић
657bf4a54b Cleanup. 2019-02-06 23:15:54 -08:00
Бранимир Караџић
29e978ea91 Cleanup. 2019-02-06 23:10:01 -08:00
Бранимир Караџић
cefce11fe4 Adding more bounds overlap tests. 2019-02-05 23:09:57 -08:00
Бранимир Караџић
3118ccfc07 Cleanup. 2019-02-05 21:10:48 -08:00
Бранимир Караџић
f19491c274 Adding more bounds overlap tests. 2019-02-05 19:42:48 -08:00
Бранимир Караџић
d0146fdfbb Cleanup. 2019-02-05 18:52:00 -08:00
Бранимир Караџић
0fda843a7c Cleanup. 2019-02-05 18:39:00 -08:00
Бранимир Караџић
649033599b Adding more bounds overlap tests. 2019-02-05 18:31:42 -08:00
Бранимир Караџић
c0aff1f466 Adding more bounds overlap tests. 2019-02-04 22:01:56 -08:00
Бранимир Караџић
a91b4bb4c8 Cleanup. 2019-02-04 21:40:03 -08:00
Бранимир Караџић
82c5c138b0 Adding more bounds overlap tests. 2019-02-04 21:08:08 -08:00
Бранимир Караџић
a235f8028f Cleanup. 2019-02-03 23:19:04 -08:00
Бранимир Караџић
7468b6d006 Cleanup. 2019-02-03 22:38:36 -08:00
Бранимир Караџић
87f96c5f4b Cleanup. 2019-02-03 22:12:59 -08:00
Бранимир Караџић
70d3888b97 More overlap tests. 2019-02-03 22:07:51 -08:00
Бранимир Караџић
f6f6a22119 Adding bounds overlap tests. 2019-02-03 19:47:33 -08:00
Бранимир Караџић
55c170ff92 Cleanup. 2019-01-28 18:05:39 -08:00
Бранимир Караџић
ca9f845103 Added sampler repeat test. 2019-01-24 12:25:11 -08:00
attilaz
36d29c27fd fixed msvc warnings 2019-01-24 19:28:56 +01:00
Attila Kocsis
c39408173d Metal framebuffer attachment support
08-update: added a cube that has a texturecube that is rendered using framebuffer attachment. It looks the same as the one whose texture is updated with compute shader.
2019-01-24 19:20:35 +01:00
Branimir Karadžić
8e5c9ce50e Added missing shaders. 2019-01-22 21:09:09 -08:00
Branimir Karadžić
b0f0514f86 Rebuilt embedded shaders. 2019-01-22 21:02:34 -08:00
Branimir Karadžić
eb6d053f5a Metal: Rebilt shaders. 2019-01-22 21:00:54 -08:00
Бранимир Караџић
a0c2907c22 Added internal debug names for index/vertex buffers, shaders, and textures. 2019-01-22 14:45:33 -08:00
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