bgfx/examples
Aleksandr Bazhin 1138cc0cc9
Examples: change order of calls in loadTexture() (#3281)
Fixes possible concurrency issue - makes code usable in a multithreaded environment. imageReleasCb releases imageContainer after bgfx::createTexture...() is called. If bgfx::frame() is called from another thread, the release can happen before imageContainer is used in bgfx::calcTextureSize(), leading to a crash. Although loadTexture() is not used in multithreaded environment in the examples, calling bgfx::calcTextureSize() before bgfx::createTexture...() is a better reference for users.
2024-04-24 21:25:35 -07:00
..
00-helloworld Happy New Year! 2024-01-14 01:56:36 -08:00
01-cubes Happy New Year! 2024-01-14 01:56:36 -08:00
02-metaballs Happy New Year! 2024-01-14 01:56:36 -08:00
03-raymarch Happy New Year! 2024-01-14 01:56:36 -08:00
04-mesh Happy New Year! 2024-01-14 01:56:36 -08:00
05-instancing Happy New Year! 2024-01-14 01:56:36 -08:00
06-bump Happy New Year! 2024-01-14 01:56:36 -08:00
07-callback Happy New Year! 2024-01-14 01:56:36 -08:00
08-update Compute: Rename Write Only suffix _WR to _WO. 2024-04-18 10:07:40 -07:00
09-hdr Cleanup. 2024-03-29 16:36:55 -07:00
10-font Cleanup. 2023-11-03 21:36:00 -07:00
11-fontsdf Cleanup. 2023-11-03 21:36:00 -07:00
12-lod Happy New Year! 2024-01-14 01:56:36 -08:00
13-stencil Happy New Year! 2024-01-14 01:56:36 -08:00
14-shadowvolumes Happy New Year! 2024-01-14 01:56:36 -08:00
15-shadowmaps-simple Happy New Year! 2024-01-14 01:56:36 -08:00
16-shadowmaps Happy New Year! 2024-01-14 01:56:36 -08:00
17-drawstress Happy New Year! 2024-01-14 01:56:36 -08:00
18-ibl Happy New Year! 2024-01-14 01:56:36 -08:00
19-oit Happy New Year! 2024-01-14 01:56:36 -08:00
20-nanovg Happy New Year! 2024-01-14 01:56:36 -08:00
21-deferred Happy New Year! 2024-01-14 01:56:36 -08:00
22-windows Happy New Year! 2024-01-14 01:56:36 -08:00
23-vectordisplay Happy New Year! 2024-01-14 01:56:36 -08:00
24-nbody Compute: Rename Write Only suffix _WR to _WO. 2024-04-18 10:07:40 -07:00
25-c99 Allow simultaneous X11 and Wayland support (#3152) 2023-08-17 16:54:31 +02:00
26-occlusion Happy New Year! 2024-01-14 01:56:36 -08:00
27-terrain Happy New Year! 2024-01-14 01:56:36 -08:00
28-wireframe Happy New Year! 2024-01-14 01:56:36 -08:00
29-debugdraw Happy New Year! 2024-01-14 01:56:36 -08:00
30-picking Happy New Year! 2024-01-14 01:56:36 -08:00
31-rsm Happy New Year! 2024-01-14 01:56:36 -08:00
32-particles Happy New Year! 2024-01-14 01:56:36 -08:00
33-pom Cleanup. 2024-03-29 16:36:55 -07:00
34-mvs Happy New Year! 2024-01-14 01:56:36 -08:00
35-dynamic Happy New Year! 2024-01-14 01:56:36 -08:00
36-sky Happy New Year! 2024-01-14 01:56:36 -08:00
37-gpudrivenrendering Compute: Rename Write Only suffix _WR to _WO. 2024-04-18 10:07:40 -07:00
38-bloom Happy New Year! 2024-01-14 01:56:36 -08:00
39-assao Compute: Rename Write Only suffix _WR to _WO. 2024-04-18 10:07:40 -07:00
40-svt Happy New Year! 2024-01-14 01:56:36 -08:00
41-tess Compute: Rename Write Only suffix _WR to _WO. 2024-04-18 10:07:40 -07:00
42-bunnylod Happy New Year! 2024-01-14 01:56:36 -08:00
43-denoise Cleanup. 2023-11-03 21:36:00 -07:00
44-sss Cleanup. 2023-11-03 21:36:00 -07:00
45-bokeh Cleanup. 2023-11-03 21:36:00 -07:00
46-fsr Compute: Rename Write Only suffix _WR to _WO. 2024-04-18 10:07:40 -07:00
47-pixelformats Happy New Year! 2024-01-14 01:56:36 -08:00
48-drawindirect Compute: Rename Write Only suffix _WR to _WO. 2024-04-18 10:07:40 -07:00
49-hextile Happy New Year! 2024-01-14 01:56:36 -08:00
assets Add support for remaining unsupported ASTC formats (#2963) 2022-10-25 17:03:40 -07:00
common Examples: change order of calls in loadTexture() (#3281) 2024-04-24 21:25:35 -07:00
runtime macOS: Fixed VK (MoltenVK 1.2.6). 2023-12-01 20:51:28 -08:00
makefile Happy New Year! 2024-01-14 01:56:36 -08:00