Commit Graph

473 Commits

Author SHA1 Message Date
Бранимир Караџић
541a379722 IDL C#: Added enum comments. 2019-07-11 21:31:18 -07:00
Бранимир Караџић
65001ee075 Updated spirv-tools. 2019-07-11 21:07:22 -07:00
Sebastian Marketsmueller
e938ddf88c c# bindings: bring back bool as params, only replace by byte in structs. (#1813)
* fix some c# bindings gen: support arrays, move chars to bytes, marshal char* return correctly

* bring back bool as parameters only
2019-07-10 21:27:03 -07:00
Бранимир Караџић
f0caf7bfb7 IDL C#: Static counts. 2019-07-09 22:43:50 -07:00
Sebastian Marketsmueller
1416c5981d fix some c# bindings gen: support arrays, move chars to bytes, marshal char* return correctly 2019-07-10 04:55:33 +00:00
Vladimir Vukicevic
c688a66d89 Make c# bindings bgfx a static class; make it public; put it in a namespace 2019-07-09 01:35:09 +00:00
Бранимир Караџић
63a4fe7750 IDL C#: Added params XML docs. 2019-07-08 07:51:39 -07:00
Бранимир Караџић
102b3d2b39 IDL: Updated codegen. 2019-07-07 18:41:26 -07:00
Бранимир Караџић
cc24c4e998 IDL: Updated codegen. 2019-07-06 21:35:46 -07:00
Бранимир Караџић
ceba5d8b24 Cleanup. 2019-07-06 11:53:04 -07:00
Бранимир Караџић
deb7f2b23f IDL C#: Removed C++ only functions. 2019-07-06 11:25:12 -07:00
Бранимир Караџић
d73a5c3441 IDL: Fixed nested structs. 2019-07-06 10:15:41 -07:00
Бранимир Караџић
28b8040cd5 IDL: Renamed csharp to bindings-cs. 2019-07-06 09:47:45 -07:00
Бранимир Караџић
d01601f6e4 IDL: Added XML comments. 2019-07-05 15:59:19 -07:00
Бранимир Караџић
6c022fcc58 IDL: Fixed functions that require _this. 2019-07-05 08:19:45 -07:00
Бранимир Караџић
4a96919315 Updated IDL scripts. 2019-07-04 18:47:08 -07:00
Бранимир Караџић
7d047dfc5b Added C# bindings. 2019-07-04 16:46:25 -07:00
Бранимир Караџић
7184da2050 IDL: Cleanup. 2019-07-04 16:07:18 -07:00
Бранимир Караџић
4127cc3ab1 IDL: Trim underscores. 2019-07-04 10:50:29 -07:00
Бранимир Караџић
dd38cc10ce IDL: Cleanup. 2019-07-04 09:22:09 -07:00
Бранимир Караџић
1725b1c93d IDL: Avoid name collisions. 2019-07-04 08:58:43 -07:00
Бранимир Караџић
deb4d965cd IDL: Generate structs. 2019-07-04 08:00:35 -07:00
Бранимир Караџић
fcc99af12c IDL: Fixed return types. 2019-07-04 07:30:32 -07:00
Бранимир Караџић
a7a7ac6804 IDL: Updated to latest codegen. 2019-07-04 06:36:08 -07:00
Бранимир Караџић
20d619235a IDL: Updated to latest codegen. 2019-07-03 21:24:44 -07:00
Бранимир Караџић
c4a5103be2 IDL: Combine State, Stencil, Buffer, Texture, Sampler, and Reset states. 2019-07-03 16:46:17 -07:00
Бранимир Караџић
69072067ef WIP: IDL C# bindings. 2019-07-03 09:09:59 -07:00
Attila Kocsis
d6b3fcccc0 added geometryv 2019-06-19 21:37:35 +02:00
Бранимир Караџић
77823a3ff9 Updated spirv-tools. 2019-06-06 22:02:38 -07:00
Бранимир Караџић
1b524195d7 Revert "OSX: Fixed GLFW3 linkage."
This reverts commit 9aa77262dd.
2019-05-25 19:21:58 -07:00
Бранимир Караџић
9aa77262dd OSX: Fixed GLFW3 linkage. 2019-05-25 17:13:55 -07:00
Бранимир Караџић
a1cdb91758 IDL now generates defines.h 2019-05-23 20:31:36 -07:00
Бранимир Караџић
3f4c6d35cf Updated IDL scripts. 2019-05-23 08:15:14 -07:00
Cloud Wu
f1288e212e Add C99 api(macro) BGFX_HANDLE_IS_VALID 2019-05-17 07:12:45 +08:00
Бранимир Караџић
f4e23fa80b Fixed IDL to match PR #1767. 2019-05-14 21:32:36 -07:00
Andrew Willmott
15c94d69a0 Generalise genie xcode4 cases to apply to all xcode project versions. 2019-05-13 17:13:53 +01:00
Бранимир Караџић
53fcf83440 Cleanup. 2019-04-27 07:40:12 -07:00
Бранимир Караџић
4a07ab392f Cleanup. 2019-04-20 21:04:36 -07:00
Бранимир Караџић
1198f73af1 Removed Scintilla. 2019-04-16 19:16:09 -07:00
attilaz
ed885c3c5a using meshoptimizer for vertex cache/fetch optim and index/vertex buffer compression 2019-04-13 16:07:06 +02:00
Бранимир Караџић
10e8a15ba1 Added API for aliasing vertex buffer with different vertex declaration. 2019-04-06 19:26:35 -07:00
Бранимир Караџић
0af6d02fcd Updated docs. 2019-03-20 16:47:41 -07:00
Бранимир Караџић
28e8b8da04 Updated docs. 2019-03-17 09:38:07 -07:00
Бранимир Караџић
71e1dd6666 C99: Added function id enum. 2019-03-14 15:36:11 -07:00
Бранимир Караџић
218b4b73ea Updated IDL scripts. 2019-03-13 22:26:11 -07:00
Бранимир Караџић
7a67012559 Don't invoke IDL by default. 2019-03-12 22:38:28 -07:00
Бранимир Караџић
96ee0ab79c Updated IDL. 2019-03-12 22:24:35 -07:00
Бранимир Караџић
2b9496ecdf Cleanup. 2019-03-12 17:05:39 -07:00
Бранимир Караџић
9f7c3281e1 Added NVN stub. 2019-03-12 17:01:02 -07:00
Бранимир Караџић
8cc0b10719 Updated IDL. 2019-03-12 10:57:03 -07:00
Cloud Wu
4bc193f2e3 fixbuild 2019-03-10 18:28:58 +08:00
Бранимир Караџић
9a3e653efe Updated IDL. 2019-03-09 23:21:50 -08:00
Бранимир Караџић
008a5cdf7e Updated IDL. 2019-03-09 22:51:12 -08:00
Cloud Wu
309edd2adf Update IDL code generator 2019-03-10 14:40:43 +08:00
mooz
ff13e730bb Renamed BGFX_USE_WAYLAND to ENTRY_CONFIG_USE_WAYLAND. 2019-03-09 10:53:14 +01:00
mooz
2b6d4cf00f Added Wayland support. 2019-03-08 10:36:50 +01:00
Branimir Karadžić
0ccb1a9fed Fixed IDL. 2019-03-05 20:22:14 -08:00
Бранимир Караџић
a283e875e7 IDL: Put back old pre-encoder API to C99. 2019-02-27 11:47:11 -08:00
Бранимир Караџић
4ed2574d1b Exit after IDL codegen. 2019-02-27 08:00:00 -08:00
Бранимир Караџић
3c1a6b061c Cleanup. 2019-02-27 07:54:25 -08:00
Cloud Wu
e9cd8b5532 Add idl codegen 2019-02-27 18:04:27 +08:00
Бранимир Караџић
5b1f2c710a Fixed shader makefile. 2019-02-20 18:22:47 -08:00
Branimir Karadžić
464a555101 texturev: Added winapi support for openFileSelectionDialog. 2019-02-19 22:42:46 -08:00
Branimir Karadžić
1b9dd14683 Fixed framebuffer RW. 2019-02-18 13:40:17 -08:00
Бранимир Караџић
90637cee05 Cleanup. 2019-01-25 22:32:25 -08:00
Бранимир Караџић
1675484726 Updated spirv-tools. 2019-01-25 22:09:58 -08:00
Бранимир Караџић
17a620a609 Cleanup. 2019-01-25 17:18:30 -08:00
Бранимир Караџић
e783582745 Cleanup. 2019-01-21 17:07:21 -08:00
Бранимир Караџић
53a275438d Cleanup. 2019-01-17 19:59:46 -08:00
Attila Kocsis
810c69ec49 added spirv legalization 2019-01-15 22:12:48 +01:00
attilaz
b9b58296c7 metal compute shader generation 2019-01-14 09:24:06 +01:00
Бранимир Караџић
3f3a9450ba Happy New Year! 2019-01-13 17:13:25 -08:00
Branimir Karadžić
4daee79bf4 Cleanup. 2019-01-09 19:32:44 -08:00
Бранимир Караџић
ac29dccc6a Added spirv-cross. 2019-01-09 19:23:47 -08:00
Бранимир Караџић
e743c4e431 Merge branch 'master' of github.com:bkaradzic/bgfx 2019-01-05 08:16:41 -08:00
Бранимир Караџић
fa8eb9878c Updated spirv-tools. 2019-01-05 08:15:11 -08: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
junjie020
75d1ffedad fix shader mk 2018-12-29 17:58:53 +08:00
Branimir Karadžić
8acd90f98a 39-assao: Added to project. Added screenshot. Built shaders. 2018-12-14 14:27:03 -08:00
Branimir Karadžić
afb3aefb1c glsl-optimizer: Add explicitly files to project. 2018-12-09 16:20:03 -08:00
Branimir Karadžić
efa95987a8 Updated fcpp. 2018-12-08 16:40:58 -08:00
Branimir Karadžić
d4fef78240 Cleanup. 2018-11-27 18:14:29 -08:00
Branimir Karadžić
73c66dbd74 Fixed build. 2018-11-17 08:27:15 -08:00
Branimir Karadžić
9e34375c8b Updated glslang. 2018-11-17 00:09:17 -08:00
Branimir Karadžić
e7c25da2ec glsl-optimizer: Supress misleading indentation warning. 2018-11-03 10:37:53 -07:00
Branimir Karadžić
7ed47a3507 Cleanup. 2018-09-19 12:28:05 -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ć
0dd9d94289 Fixed MinGW build. 2018-09-10 17:45:17 -07:00
Branimir Karadžić
69c2ce2326 Updated glslang. 2018-09-08 10:25:45 -07:00
Branimir Karadžić
e8c0d59caa fcpp: Fixed output message. 2018-09-04 07:45:39 -07:00
Branimir Karadžić
3ae9325af4 Fixed build. 2018-09-03 14:06:53 -07:00
Branimir Karadžić
07d909b5f0 Fixed crash on NULL dereference. 2018-09-03 13:56:11 -07:00
Branimir Karadžić
aa0a432f9f Fixing VS build. 2018-09-02 22:21:37 -07:00
Branimir Karadžić
968b611ec1 Updated glslang and spirv-tools. 2018-09-02 21:14:20 -07:00
Branimir Karadžić
7f63721a59 Cleanup. 2018-08-29 18:12:21 -07:00
Branimir Karadžić
0a00831e4b Fixed GLFW lib name. 2018-08-25 15:18:21 -07:00
Branimir Karadžić
2a3fb9c0f9 Added Encoder natvis. 2018-08-20 17:06:13 -07:00
Jared Tiala
8d26c0f904 Fix linux-clang warning flags (#1448) 2018-08-03 07:18:27 +02:00
Branimir Karadžić
7612f88426 Cleanup. 2018-07-19 20:29:03 -07:00
Branimir Karadžić
a21ebe7448 Cleanup. 2018-07-15 17:02:01 -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ć
507dd115e8 Rebuild assets. 2018-05-23 21:18:41 -07:00
Branimir Karadžić
e74a5d7843 Renamed ocornut-imgui to dear-imgui. 2018-05-06 08:57:48 -07:00
Branimir Karadžić
86268a7a7e Cleanup. 2018-05-01 19:12:20 -07:00
MaulingMonkey
8d18cf1625 Added bgfx.natvis. (#1368) 2018-04-12 09:07:35 -07:00
Branimir Karadžić
172b7c506b Added SPIRV-Tools. 2018-04-10 19:44:28 -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ć
3a937e20e4 Cleanup. 2018-03-17 14:47:06 -07:00
Branimir Karadžić
9d3b70c1d1 glsl-optimizer: Fixed warnings. 2018-03-17 14:40:38 -07:00
Branimir Karadžić
8d56b09815 glslang: Disabling warnings. 2018-03-17 14:35:31 -07:00
Branimir Karadžić
3b93896a20 Fixed amalgamated build. 2018-03-10 11:52:35 -08:00
Branimir Karadžić
90aadf835b 37-gpudrivenrendering: Fixed GL shaders. 2018-03-04 16:11:05 -08:00
Branimir Karadžić
1142735e9e OSX: Disabled glsl-optimizer warnings. 2018-02-20 13:30:01 -08:00
Branimir Karadžić
55427f424c D3D12: Fixed texture binding. 2018-01-18 18:58:42 -08:00
Branimir Karadžić
b9e393e6dd Fixed issue #1315. 2018-01-16 17:19:29 -08:00
Branimir Karadžić
cf91b62542 shaderc: Allow passing CS buffers into all shader stages in GLSL. 2018-01-15 17:39:18 -08:00
Branimir Karadžić
f44c8e2b14 Happy New Year! 2018-01-01 11:16:06 -08:00
Branimir Karadžić
9ed5343227 Updated glslang. 2017-12-29 11:21:21 -08:00
Branimir Karadžić
62288e56b8 Removed bgfx.pc script. 2017-12-20 17:16:18 -08:00
Branimir Karadžić
96fedd11b0 Removed obsolete platform. 2017-12-18 20:23:18 -08:00
Branimir Karadžić
f7fea65bec Removed obsolete platforms. 2017-12-14 20:40:30 -08:00
Branimir Karadžić
0d1cf61bb1 Fixed UWP build. 2017-12-13 23:40:39 -08:00
Branimir Karadžić
97b4b46bc6 Cleanup. 2017-11-28 23:28:55 -08:00
Branimir Karadžić
d27b469f7c Added missing lib. 2017-11-15 21:31:24 -08:00
raizam
861fb301b0 Small change in bgfx.lua that makes bgfx project definition more flexible. (#1272) 2017-11-02 09:12:09 -07:00
Jim Drygiannakis
974fe0891d RPi: Link against Broadcom libraries (Raspbian Stretch) (#1263) 2017-10-19 21:57:24 -07:00
Codecat
c707e06d79 Build support for NX platform (#1257)
* NX platform supports GLES and Vulkan

* These defines are already set on NX
2017-10-13 08:13:21 -07:00
Branimir Karadžić
ffdd262f4b Cleanup. 2017-10-06 20:10:05 -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ć
323f2608a0 Changed GENie script to allow configurable bimg directory. 2017-09-30 23:06:22 -07:00
Branimir Karadžić
f07a30ca0b Added example 35-dynamic: dynamic buffers update. 2017-09-17 20:32:11 -07:00
Branimir Karadžić
083c67d471 Added multiple vertex stream example. 2017-08-19 10:58:06 -07:00
Branimir Karadžić
936d105589 Fixed some GCC7 warnings. 2017-06-27 20:26:31 -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ć
ea52cda470 Cleanup. 2017-06-25 22:54:17 -07:00
Branimir Karadžić
5f666a5ee2 Combined all examples. Issue #1143. 2017-06-25 21:44:04 -07:00
Branimir Karadžić
f93650238a Fixed build. 2017-06-24 18:56:45 -07:00
Branimir Karadžić
14e057283d Updated example project script. 2017-06-24 18:23:43 -07:00
Branimir Karadžić
e8c630c001 Cleanup. 2017-05-16 17:29:59 -07:00
Branimir Karadžić
7c8733c22b Removed texturec source, now lives in bimg. 2017-05-09 20:07:41 -07:00
Branimir Karadžić
316269d5e2 Remove bimg_encode from non-tools build. 2017-04-15 09:14:00 -07:00
Branimir Karadžić
42aa94504e 33-pom: Built shaders and assets. 2017-04-04 19:47:18 -07:00
Apoorva Joshi
c50cc8493f Add parallax occlusion mapping example (#1104)
* Added example 33-pom

* Fixed warning in 33-pom example on Windows

* Deleted unused image files

* Deleted runtime textures and shaders
2017-04-04 09:52:08 -07:00
Branimir Karadžić
8ce85d2462 Added bimg dependency. 2017-04-03 22:42:27 -07:00
Branimir Karadžić
e492eb5132 Image code cleanup, preparing for split into new lib. 2017-04-01 14:54:18 -07:00
Branimir Karadžić
f847ece352 Fixed shaderc makefile. 2017-03-26 21:11:07 -07:00
Branimir Karadžić
1bf7b232cb Cleanup. 2017-03-20 20:39:59 -07:00
Branimir Karadžić
aaaefb77c9 Fixed glslang warning. 2017-03-12 18:28:18 -07:00
Branimir Karadžić
5375aa5a03 Fixed warnings. 2017-03-12 18:25:23 -07:00
Branimir Karadžić
dc6178c3e6 Moved fcpp into separate library. 2017-03-11 14:50:03 -08:00
Branimir Karadžić
46ec8d3ca4 VS: Fixing L4 warnings. 2017-03-11 14:44:00 -08:00
Branimir Karadžić
37cb5f3b1f Cleanup. 2017-03-11 14:35:32 -08:00
Branimir Karadžić
71ee9fffc0 Moved glsl-optimizer into separate library. 2017-03-11 14:22:13 -08:00
Branimir Karadžić
25dd8377d5 examples/common: Cleanup dealing with textures. 2017-03-09 21:20:45 -08:00
Branimir Karadžić
2a6ba4053d Updated glslang. 2017-02-03 19:32:35 -08:00
Branimir Karadžić
5bfcf44d83 Cleanup. 2017-02-02 18:09:52 -08:00
Branimir Karadžić
cee3a802cc Updated glslang. 2017-01-25 10:07:49 -08:00
Brian Harris
ffd3771a09 Updated makefiles to build spirv (#1025) 2017-01-20 09:29:09 -08:00
Branimir Karadžić
3ab3815449 FIxed VS build. 2017-01-11 22:21:59 -08:00
Branimir Karadžić
89eef364bb Fixed build. 2017-01-08 18:20:00 -08:00
Branimir Karadžić
4603b2fd43 Fixed shaderc build. 2017-01-08 17:38:32 -08:00
Branimir Karadžić
61638ce0a7 Fixed Linux build as shared lib. 2017-01-08 17:07:29 -08:00
Branimir Karadžić
c992291e94 Updating code to match bx. 2017-01-08 15:55:14 -08:00
Branimir Karadžić
1350734fbb Link bx library. 2017-01-08 15:15:22 -08:00
Branimir Karadžić
b9b8a6e871 Cleanup. 2017-01-04 08:34:25 -08:00
Branimir Karadžić
76ecde3d37 Added example-32-particles. 2017-01-03 00:23:18 -08:00
Branimir Karadžić
3b83f53ab1 Happy New Year! 2017-01-01 00:18:41 -08:00
Branimir Karadžić
5c10e94533 Fixed warnings. 2016-12-22 21:14:16 -08:00
Mark Riedesel
5c8ff1e266 Remove hyphen in shaderc.lua (s/linux-*/linux*/) (#1000) 2016-12-16 09:13:53 -08:00
Branimir Karadžić
3adcc404cd Cleanup. 2016-12-15 22:48:14 -08:00
Branimir Karadžić
d84889184c Fixed VS release build. 2016-12-15 22:36:38 -08:00
Branimir Karadžić
727df90bed Fixed VS2012 build. 2016-12-15 21:26:47 -08:00
Branimir Karadžić
72728ed45d Fixed VS2012 build. 2016-12-15 21:11:35 -08:00
Branimir Karadžić
99415e419b Fixed VS build. 2016-12-15 20:53:13 -08:00
Branimir Karadžić
1531cc29dc Fixing VS build. 2016-12-15 20:46:12 -08:00
Branimir Karadžić
566171eacc Fixed VS build. 2016-12-15 20:31:18 -08:00
Branimir Karadžić
b9174629e4 Cleanup. 2016-12-15 19:31:08 -08:00
Branimir Karadžić
e0b901a98a VK: Initial commit. 2016-12-15 19:03:47 -08:00
Branimir Karadžić
58e46330cd Updated embedded shaders. 2016-12-05 16:55:49 -08:00
Branimir Karadžić
23d592a862 Cleanup. 2016-10-19 18:11:47 -07:00
Branimir Karadžić
599992c8f1 Added ability to specify api thread wait timeout. Fixed HLSL compiler. 2016-10-13 15:01:27 -07:00
Branimir Karadžić
85a074b0ef Cleanup. 2016-10-04 22:48:59 -07:00
Branimir Karadžić
e5b9b8d7aa Cleanup. 2016-10-01 12:38:41 -07:00
Branimir Karadžić
15349a45a9 Renamed shader gles dir to essl. 2016-10-01 00:08:37 -07:00
Branimir Karadžić
2380221c81 shaderc: Added SPIR-V stub. 2016-09-30 20:03:16 -07:00
Branimir Karadžić
ece1a0e49b shaderc: Added pssl stub. 2016-09-30 18:16:04 -07:00
Branimir Karadžić
0b3aec69a9 Cleanup. 2016-09-29 21:23:07 -07:00
Branimir Karadžić
33057ea86c Fixed amalgamated build. 2016-09-22 22:16:54 -07:00
Branimir Karadžić
78773108c5 Cleanup. 2016-09-19 10:53:05 -07:00
Stuart Carnie
4771d14bc7 Support MetalKit view as an option on all platforms 2016-09-18 10:59:12 +10:00
Branimir Karadžić
3e0767cecc Cleanup. 2016-09-10 09:53:29 -07:00
Pras Velagapudi
aa3a6ecd80 Added flag to control building examples.
This PR adds a new flag to `genie.lua` called `--with-examples`
and uses it to control whether the example binaries are built or
not.

It also changes the default options in `makefile` to include this
flag, such that the default behavior of `bgfx` compilation is
unchanged.

This allows users who are building with CI systems or as part of a
larger automated build process to avoid having to compile examples
each time they build `bgfx`.  They can instead use `genie` directly
to configure their project to build without examples.
2016-09-10 11:23:02 -04:00
Branimir Karadžić
6cd0d95adb Renamed example to shorter name. 2016-07-24 16:08:59 -07:00
jcherlin
f56cf4c88e Added RSM sample. (#854)
* Added RSM sample.
2016-07-24 15:39:50 -07:00
jcherlin
f04755f9a3 Mouse Picking Example (#846)
* Added mouse picking example.
2016-07-09 23:41:38 -07:00
Branimir Karadžić
9c84ef8cf7 Fixed issue #815. 2016-06-22 19:53:04 -07:00
Branimir Karadžić
e50bda7818 Cleanup. 2016-06-15 09:33:11 -07:00
Branimir Karadžić
6af3a7c952 Switched texture assets build to ninja. 2016-05-07 14:19:56 -07:00