Commit Graph

439 Commits

Author SHA1 Message Date
Бранимир Караџић bd9600e167 Fixed IDL. 2019-10-25 20:13:21 -07:00
Cedric Guillemet 6a883a33fd Front facing (#1904)
* Added BGFX_STATE_FRONT_CCW to defines.h and implemented initial usage only in renderer_d3d11.cpp.

* set front facing for d3d12, gl metal and vulkan

* front facing method Metal

* tabs

* removed tab
idl updated
2019-10-25 20:07:05 -07:00
Ari Vuollet 8431576b80 Add D language bindings generator (#1907) 2019-10-09 07:23:17 -07:00
attilaz 694627885a Added texture functions with bias parameter (#1901)
and fixed a typo
2019-10-04 20:03:51 -07:00
Бранимир Караџић 03c99d50c7 Updated spirv-tools. 2019-09-26 12:58:33 -07:00
Бранимир Караџић b079e67426 Cleanup. 2019-08-17 21:35:20 -07:00
Бранимир Караџић 79dc0a3a0d Cleanup. 2019-08-17 12:38:23 -07:00
Leandro Freire 1db46f4fe6 Rename variables and constants 2019-08-17 12:32:16 -07:00
Бранимир Караџић a5898b131b examples: Added documentation link. 2019-08-14 21:19:03 -07:00
Бранимир Караџић 4986981378 VK: Added compute shaders. 2019-08-13 18:47:21 -07:00
Leandro Freire 855623e153 Rename VertexDecl to VertexLayout 2019-08-13 18:42:01 -07:00
Rinthel e604ca021d remove warning / add build option for osx 2019-08-04 19:51:16 -07:00
DanielGavin caccb56707 example 41-tess (#1821)
* new example

new tess example

* renaming

Rename clock to counter...

* clean

Remove comments

* clean up

removed vector and const char* path

* ups

Removing compiled shaders...
2019-07-20 17:04:35 -07:00
Бранимир Караџић d5fcbf98cf Updated IDL. 2019-07-14 21:19:46 -07:00
Бранимир Караџић 6b32a32bb2 IDL C#: Added flag comments. 2019-07-14 18:23:57 -07:00
Бранимир Караџић 45fb76865e IDL C#: Added flag comments. 2019-07-12 22:40:21 -07:00
Бранимир Караџић 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