Commit Graph

399 Commits

Author SHA1 Message Date
Бранимир Караџић
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
Branimir Karadžić
537c70965d Switched mesh assets build to ninja. 2016-05-06 20:44:21 -07:00
Branimir Karadžić
32a9594134 Cleanup. 2016-04-30 11:08:56 -07:00
Branimir Karadžić
a6397f94b7 Renamed CX specific file to use .cx extension. 2016-04-25 19:17:42 -07:00
Branimir Karadžić
694a862c2c Cleanup. 2016-04-22 15:02:16 -07:00
Branimir Karadžić
a94089e29f Added simple texture viewer tool. 2016-04-21 22:12:35 -07:00
Branimir Karadžić
f3b9fed29a Added Image Quality Assessment. 2016-04-07 20:05:20 -07:00
Branimir Karadžić
1b6cf643a0 Enable MT with OVR. 2016-04-05 19:32:27 -07:00
Branimir Karadžić
ea4a0d24af Merge branch 'master' of cane:bkaradzic/bgfx 2016-04-04 22:09:10 -07:00
Branimir Karadžić
f7faafc61f OVR: Disable multithreading with OVR. 2016-04-04 22:07:19 -07:00
PyryM
0b73864140 Fixes extra frame of latency with oculus
* fix oculus latency w/ ordering of eye commits
2016-04-04 08:27:46 -07:00
Branimir Karadžić
f0ff56c8ed Cleanup. 2016-04-02 18:47:54 -07:00
Krzysztof Kondrak
bea6e81d12 OculusVR: updated to SDK 1.3 2016-04-02 11:41:40 +02:00
Branimir Karadžić
bac219debc Added example-29-debugdraw. 2016-03-27 18:40:03 -07:00
Branimir Karadžić
00cd03d184 Updated makefile. 2016-03-15 14:12:27 -07:00
Branimir Karadžić
0ef73c98c8 Cleanup. 2016-03-08 16:39:59 -08:00
Branimir Karadžić
96c8ac71ff Cleanup. 2016-03-07 15:39:11 -08:00
Branimir Karadžić
2b77088a38 Cleanup. 2016-03-05 11:03:52 -08:00
Dario Manesku
7b2752c450 Added 28-wireframe. Geometryc now has --barycentric feature. Example meshes updated. Commit has only glsl shaders. 2016-02-29 01:06:39 +01:00
Branimir Karadžić
b7f8a8cdb5 Cleanup. 2016-02-25 20:29:09 -08:00
Miodrag Milanovic
c0275c3a77 SteamLink support 2016-02-15 19:45:58 +01:00
Dario Manesku
0f93c0d48c Added optional SHADERS_DIR parameter. 2016-02-03 18:14:15 +01:00
Branimir Karadžić
ccadbc91d1 shaderc: Fixed DXSDK include path. 2016-01-30 17:14:09 -08:00
Branimir Karadžić
a972d1fef0 Tools cleanup. 2016-01-30 16:15:25 -08:00
Branimir Karadžić
6c68a79526 Added ETC2 encoding. 2016-01-28 21:09:03 -08:00
Branimir Karadžić
008bc72d6f SDL: Updated controllerdb. 2016-01-23 21:07:44 -08:00
Branimir Karadžić
396588dd8a Fixed GENie bx include path. 2016-01-19 20:04:25 -08:00
Branimir Karadžić
f3552ff7d1 Cleanup. 2016-01-09 20:30:15 -08:00
William Casarin
e084796080 configurable genie, bx location 2016-01-09 18:31:38 -08:00
Branimir Karadžić
4bb2b623d3 Happy New Year! 2016-01-01 00:11:04 -08:00
Branimir Karadžić
a1f198bfac Added pkg-config script for Linux. Issue #612. 2015-12-29 13:53:33 -08:00
Branimir Karadžić
30b7d5dc26 Cleanup. 2015-12-27 20:04:17 -08:00
Branimir Karadžić
caf305ceb1 OSX: Added weak framework for linking Metal. 2015-12-23 14:26:20 -08:00
Branimir Karadžić
c525059d18 Added tinyexr. 2015-12-22 20:31:46 -08:00
Branimir Karadžić
69a0f6fa4e texturec: Added PVR1 RGB/A 4-bpp compression. 2015-12-22 18:05:06 -08:00
Branimir Karadžić
8ab70bd8cf Added stripped down NVTT library. 2015-12-20 20:40:35 -08:00
Branimir Karadžić
61b78529af Added ETC1. 2015-12-15 22:13:01 -08:00
Branimir Karadžić
d1eaafc138 Added libsquish. 2015-12-14 17:35:24 -08:00
Andrew Mac
6a42398b0b Terrain painting example. 2015-12-13 21:21:07 -04:00
Branimir Karadžić
a70686aa48 Fixed "fix" 2015-12-12 17:28:23 -08:00
Jonathan Howard
e20451c799 Fixed texturec build with --with-profiler enabled 2015-12-12 20:16:04 -05:00
Branimir Karadžić
3e5f6095a0 Updated GENie script. 2015-12-10 22:58:31 -08:00
Andrew Mac
6c395391a1 Extended Remotery profiling. 2015-11-16 10:42:56 -04:00
Branimir Karadžić
8c33afdd09 Added --with-profiler option. 2015-11-13 21:11:19 -08:00
Branimir Karadžić
6aa9629816 Added initial occlusion query support. 2015-11-01 17:28:23 -08:00
Branimir Karadžić
04775dc8a4 Fixed issue #549. 2015-10-20 21:15:28 -07:00
Ka-ming Chan
0fdc1b323e add support for custom xcode actions for bgfx.lua
Since I am working on a custom genie action called "xcode7", this serve my purpose
2015-10-20 18:10:50 +08:00
Aleks
aab8751ac5 Added tvOS support. 2015-10-12 13:32:39 -07:00
Branimir Karadžić
154d2e7232 Cleanup. 2015-10-06 15:27:54 -07:00
Branimir Karadžić
2537efad37 Metal: Cleanup. 2015-10-01 20:26:27 -07:00
Branimir Karadžić
f936d4c05e Fixed clang warnings. 2015-09-22 15:19:39 -07:00
Branimir Karadžić
4470f7097c Fixed HLSL reflection for samplers. 2015-09-01 16:44:11 -07:00
Branimir Karadžić
4583769681 Cleanup. 2015-08-27 20:27:03 -07:00
Branimir Karadžić
1e66ff0440 Added DXSDK header files. 2015-08-19 18:33:56 -07:00
Branimir Karadžić
8adc099b02 Cleanup. 2015-07-30 11:36:26 -07:00
Branimir Karadžić
75244a0da8 Removed Win7 SDK define. 2015-06-30 14:55:02 -07:00
Branimir Karadžić
3c0134c167 OSX: Fixed amalgamated build. 2015-06-20 00:22:36 -07:00
Branimir Karadžić
a39ba04e26 Fixed Linux build. 2015-06-19 19:55:23 -07:00
Branimir Karadžić
d7a9b56dc6 Added ObjC amalgamated file. 2015-06-19 17:34:01 -07:00
Branimir Karadžić
4f356fd7da Updated shader makefile. 2015-06-12 21:10:29 -07:00
Branimir Karadžić
3dd3a86a4d Fixed amalgamated build. 2015-06-11 14:26:01 -07:00
Branimir Karadžić
f0b76697c5 Fixing GCC warnings. 2015-06-09 23:56:30 -07:00
ocornut
cf4f43b9f5 Scintilla: build with lexer enabled. 2015-06-09 15:05:26 -06:00
Branimir Karadžić
85e6bea936 Updated script. 2015-06-08 21:16:23 -07:00
Branimir Karadžić
a510b8f347 Added Scintilla imgui. 2015-06-08 17:07:35 -07:00
Branimir Karadžić
29001134ca Removed dxguid from shaderc, use INITGUID instead. 2015-05-26 12:08:12 -07:00
Mike Popoloski
4387bed7c2 Enabling WinRT / Windows Store apps for bgfx. 2015-05-24 13:16:18 -04:00
Branimir Karadžić
cea3815dff Fixed HLSL shader stripping. 2015-04-13 12:54:45 -07:00
Mike Popoloski
f919f7811f Cleanup 2015-04-10 22:01:58 -04:00
Miodrag Milanovic
b394570ff7 Updated so it can build for FreeBSD 2015-04-10 16:46:49 +02:00
Branimir Karadžić
a3fedf0e43 Fixed shaderc build with xcode. 2015-04-06 11:38:28 -07:00
Branimir Karadžić
7cd9af179f Fixed file names. 2015-04-05 11:55:04 -07:00
Branimir Karadžić
efed576e75 Fixed variable shadowing. 2015-04-04 19:45:45 -07:00
Miodrag Milanovic
97da6b5167 fixed my typo 2015-04-01 13:12:57 +02:00
Miodrag Milanovic
b5e2b068d3 remove usage of DXSDK for mingw, breaks compilation if included in some versions (nw) 2015-04-01 13:04:03 +02:00