Commit Graph

152 Commits

Author SHA1 Message Date
Sandy
651432df1d examples: Add imageformats example (#2872)
* examples: Add imageformats example

Example which renders RGBA color wheel, alpha gradient and full value channel textures to
catch conversion errors and bad internal type representations between different backend
renderers.

The example uses bimg to convert from a master texture to different textures.

Each texture is rendered in an ImGui list using `ImGui::Image`. A close-up is visible
when hovering over each image.

U and I textures are skipped because they don't work for sampling.
Compressed textures are skipped because they don't have conversion functions.
Depth textures are not rendered because they don't work with channels.

* pixelformats: Present texture format in table

* Update pixelformats.cpp

* Update pixelformats.cpp

* pixelformats: Update screenshot

* pixelformats: Add checkerboard background

Co-authored-by: Michał Cichoń <michcic@gmail.com>
Co-authored-by: Бранимир Караџић <branimirkaradzic@gmail.com>
2022-08-22 12:16:58 -07:00
Бранимир Караџић
6cf243f469 Cleanup. 2022-06-04 11:03:41 -07:00
Бранимир Караџић
05b60be3c2 Remove 17-drawstress from Emscripten build. 2022-06-02 12:03:01 -07:00
Catalin Moldovan
21f5f941bb Added zig bindings generation (#2757) 2022-04-03 18:42:43 -07:00
Бранимир Караџић
6940ddd85e Cleanup. 2022-03-31 20:21:32 -07:00
luzpaz
6875e96bcb Fix various typos (#2719)
Found via `codespell -q 3 -S ./3rdparty,*.ttf -L attribut,ba,clude,conly,indext,inout,lod,nclude,retur,utput`
2022-02-05 11:34:15 -08:00
Бранимир Караџић
4581f14cd4 Happy New Year! 2022-01-15 11:59:06 -08:00
Бранимир Караџић
949142a75f Metal: Added GPU vendorId/deviceId detection. Fixed #2688. 2021-12-19 23:11:33 -08:00
Branimir Karadžić
00df353f0b Fixed project groups. 2021-10-26 20:13:30 -07:00
Бранимир Караџић
8392a44b3a Fixed assert macros, and improved error handling. 2021-10-25 18:59:32 -07:00
Branimir Karadžić
b7213445db Added 46-fsr example. 2021-10-06 17:40:57 -07:00
Branimir Karadžić
1401a5333d 45-bokeh: Built shaders and added example. 2021-01-31 10:07:49 -08:00
Hugo Amnov
a515dd3c3d WebGPU update (#2364)
* Update WebGPU renderer to match new state of API

* Update WebGPU files
2021-01-19 15:18:30 -08:00
Бранимир Караџић
af49c5d264 Happy New Year! 2021-01-14 15:53:49 -08:00
Branimir Karadžić
4c18b80c9d 44-sss: Built shaders and added example to GENie script. 2021-01-10 11:24:28 -08:00
Branimir Karadžić
4760628bb1 43-denoise: Added shaders. 2021-01-02 10:46:43 -08:00
Бранимир Караџић
76f3e0590f OSX: Added separate osx-arm64 build configuration. 2020-12-31 18:17:39 -08:00
Aleš Mlakar
93f0cdfaf4 IDL Beef bindings (#2290)
Co-authored-by: Aleš Mlakar <ales.ambits@gmail.com>
2020-10-19 06:54:18 -07:00
Бранимир Караџић
86402fec24 Updated version number. 2020-09-05 11:24:50 -07:00
Johan Sköld
74aae908ce Updating xcode config. (#2198)
Changing the xcode platform to just `Native`. This lets xcode handle
all the target stuff, and works regardless of target.
2020-07-11 20:40:33 -07:00
Christophe Dehais
4a0b6dc3ff Package runtime data alongside HTML5 examples (#2173)
Co-authored-by: Christophe Dehais <christophe.dehais@fittingbox.com>
2020-06-18 10:32:10 -07:00
云风
be95d12307 Add examples 42 : BunnyLOD (#2155) 2020-05-30 10:49:06 -07:00
云风
79166dfe17 Allow passing config macros from env (#2147) 2020-05-17 21:04:31 -07:00
juj
098e6194d9 Update examples to build on Emscripten Wasm. Add separate wasm and wasm2js targets. (#2145) 2020-05-16 19:45:55 -07:00
Бранимир Караџић
e08de6dd2c Fixed GENie script when action is not specified. 2020-05-10 22:15:06 -07:00
Бранимир Караџић
bbd41124b7 Cleanup. 2020-05-09 10:24:23 -07:00
Hugo Amnov
b62302631e Add Webgpu backend (#2132)
* WebGPU first draft (shaderc bin version 8)

* WebGPU scripts
2020-05-08 08:53:53 -07:00
Бранимир Караџић
c306e3b4bf Added bgfx version number. 2020-04-01 20:50:44 -07:00
Бранимир Караџић
54dc5e3ae7 Removed support for SteamLink (discontinued 11/2018). 2020-03-11 21:51:55 -07:00
Vladimir Vukicevic
8165a837a7 CSharp bindings: move DllName definition to other, optional file 2020-02-05 18:31:31 -08:00
Hugo Amiard
c4de3593de Cleanup Emscripten toolchain 2020-01-18 21:58:19 -08:00
Бранимир Караџић
82f56b5987 Happy New Year! 2020-01-14 21:37:06 -08:00
Ari Vuollet
8431576b80 Add D language bindings generator (#1907) 2019-10-09 07:23:17 -07:00
Бранимир Караџић
a5898b131b examples: Added documentation link. 2019-08-14 21:19:03 -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
Бранимир Караџић
28b8040cd5 IDL: Renamed csharp to bindings-cs. 2019-07-06 09:47:45 -07:00
Бранимир Караџић
7d047dfc5b Added C# bindings. 2019-07-04 16:46:25 -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
Бранимир Караџић
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
Andrew Willmott
15c94d69a0 Generalise genie xcode4 cases to apply to all xcode project versions. 2019-05-13 17:13:53 +01:00
Бранимир Караџић
1198f73af1 Removed Scintilla. 2019-04-16 19:16:09 -07:00
Бранимир Караџић
218b4b73ea Updated IDL scripts. 2019-03-13 22:26:11 -07: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
Бранимир Караџић
3c1a6b061c Cleanup. 2019-02-27 07:54:25 -08:00