Commit Graph

1641 Commits

Author SHA1 Message Date
Branimir Karadžić
7a1e4637e3 Cleanup. 2017-11-27 23:10:34 -08:00
Branimir Karadžić
e7bcae2dfd Cleanup. 2017-11-27 19:44:27 -08:00
Branimir Karadžić
3533da7225 Fixed view id remapping. 2017-11-27 16:34:27 -08:00
Branimir Karadžić
7384171900 Fixed view id remapping. 2017-11-27 15:57:31 -08:00
Branimir Karadžić
b3fcc8350b Fixed issue #1281. 2017-11-27 09:06:57 -08:00
Branimir Karadžić
77c00da989 Changed API to use ViewId (uint16_t) instead of uint8_t. 2017-11-24 11:21:51 -08:00
Branimir Karadžić
2c7a1e5755 Cleanup. 2017-11-20 21:43:00 -08:00
Branimir Karadžić
cb9263b689 Updated ImGui. 2017-11-20 08:29:10 -08:00
Branimir Karadžić
899f72ae29 OSX: Fixed Key::Return. 2017-11-16 17:51:34 -08:00
Branimir Karadžić
bd9c62c310 GLFW: Fixed build. 2017-11-15 20:20:19 -08:00
Branimir Karadžić
e49a176d7e Cleanup. 2017-11-14 22:10:07 -08:00
Branimir Karadžić
690f232c09 Cleanup. 2017-11-09 21:14:37 -08:00
Branimir Karadžić
31b1712e7c Cleanup. 2017-11-09 20:29:47 -08:00
Branimir Karadžić
d2d4c8aebb Cleanup. 2017-11-09 20:21:56 -08:00
Branimir Karadžić
05e550c2b2 Fixed build. 2017-11-04 15:49:02 -07:00
Branimir Karadžić
df69aea77e 17-drawstress: Added use of encoder. 2017-11-04 15:34:11 -07:00
Branimir Karadžić
d97023ab85 Merge branch 'master' into encoder 2017-11-04 15:25:24 -07:00
Branimir Karadžić
2d835155a9 Fixed build. 2017-11-04 15:25:11 -07:00
Branimir Karadžić
ea7c59db33 Updated thread funcs to match bx. 2017-11-04 15:18:52 -07:00
Branimir Karadžić
a241daa114 Updated thread funcs to match bx. 2017-11-04 15:18:33 -07:00
Branimir Karadžić
6a278175ff Cleanup. 2017-11-04 10:32:31 -07:00
Branimir Karadžić
7ee2447f9d Cleanup. 2017-11-03 09:03:39 -07:00
Branimir Karadžić
1f86df4c54 Cleanup. 2017-11-02 22:09:03 -07:00
Branimir Karadžić
6480a62844 Added encoder stats. 2017-11-02 22:06:39 -07:00
Branimir Karadžić
e7bea07c82 Switching 17-drawstress to use encoder API. 2017-10-28 20:49:55 -07:00
markusobi
b42f66bea4 Example 27 Terrain: Fixed incorrect height display in mode Height Texture (#1266)
* fixed incorrect out of bounds check in terrain example

* added texture coordinates offset for texture2DLod lookup

* fixed compile error
2017-10-25 09:28:40 -07:00
Branimir Karadžić
09d821e234 Fixed particle reset. 2017-10-17 09:16:07 -07:00
Branimir Karadžić
a96a3a2356 Cleanup. 2017-10-16 08:41:27 -07:00
Branimir Karadžić
666d729539 Updated ImGui. 2017-10-14 11:04:45 -07:00
Branimir Karadžić
942c032f5a Fixed example dialog resize. 2017-10-08 21:08:14 -07:00
Branimir Karadžić
cfa81f314a Cleanup. 2017-10-06 21:50:38 -07:00
Branimir Karadžić
9ea283ed5a Cleanup. 2017-10-06 21:22:41 -07:00
Branimir Karadžić
4cdab3e971 Exposed internal profiler callbacks. 2017-10-06 18:07:40 -07:00
Branimir Karadžić
c0cf48425d Fixed build. 2017-10-05 23:12:54 -07:00
Branimir Karadžić
9675639187 Merge branch 'master' of github.com:bkaradzic/bgfx 2017-10-05 20:18:50 -07:00
Branimir Karadžić
fd5ee719fa 36-sky: Added time scale. 2017-10-05 20:18:45 -07:00
Stanislav
f9b5c86d10 Fixed flag ImGuiWindowFlags_AlwaysAutoResize been passed as alpha argument (#1251) 2017-10-05 20:05:52 -07:00
Branimir Karadžić
2ef1d526c6 Cleanup. 2017-10-05 09:09:36 -07:00
Branimir Karadžić
7a82571827 36-sky: Updated screenshot. 2017-10-04 20:46:31 -07:00
Branimir Karadžić
374b4b4469 geometryc: Fixed uv/normal output. 2017-10-04 20:31:58 -07:00
Branimir Karadžić
bf9d692d36 36-sky: Fixed lightmap. 2017-10-04 20:21:23 -07:00
Branimir Karadžić
7737343427 Added screenshots. 2017-10-03 20:59:33 -07:00
Branimir Karadžić
a6a689b235 Fixed row/column matrix issue. 2017-10-03 20:48:45 -07:00
Branimir Karadžić
016fd301b0 Built assets. 2017-10-03 20:29:40 -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ć
c6e5062067 Rebuilt shaders. 2017-10-01 23:08:08 -07:00
Branimir Karadžić
88e8009b55 Cleanup. 2017-10-01 21:57:48 -07:00
Branimir Karadžić
ed572fc5a6 Cleanup. 2017-09-30 16:25:11 -07:00
Branimir Karadžić
114b9ed10a Cleanup. 2017-09-28 22:56:06 -07:00
Branimir Karadžić
07f5e1184c 29-debugdraw: Display intersection normal. 2017-09-28 22:52:23 -07:00
Branimir Karadžić
783db66079 Fixed AABB hit normal. 2017-09-28 21:50:11 -07:00
Branimir Karadžić
5e40a84769 Cleanup. 2017-09-27 21:52:25 -07:00
Branimir Karadžić
81716be726 Cleanup. 2017-09-26 22:50:29 -07:00
Branimir Karadžić
f541703810 Added intersection test to example-29-debugdraw. 2017-09-26 21:09:26 -07:00
Branimir Karadžić
b0ae54f14a Cleanup. 2017-09-25 20:18:19 -07:00
Branimir Karadžić
63bff54a69 Fixed ray/cylinder intersection. 2017-09-24 23:33:08 -07:00
Branimir Karadžić
d8ec5a9a54 Cleanup. 2017-09-24 22:50:05 -07:00
Branimir Karadžić
7b94b8dcb4 Added ray/cone intersection. 2017-09-24 19:12:18 -07:00
Branimir Karadžić
b5af383cf8 Cleanup. 2017-09-23 16:27:16 -07:00
Branimir Karadžić
41b29a34a6 GL: Fixed GPU timer frequency. 2017-09-22 22:26:56 -07:00
Branimir Karadžić
4b4b1c31a6 Added perf timer for API thread. 2017-09-22 21:39:16 -07:00
attilaz
acf3db7a06 Fix sampler/texture indices for metal (#1242)
Fix for https://github.com/bkaradzic/bgfx/issues/1227 .

It gets texture slot from compiled shaders and maps it to Sampler uniform. So sampler uniform MUST be defined before using shader (shadowmap_simple has a bug with invalid uniform name).
2017-09-22 08:44:51 -07:00
attilaz
bc065cc4d0 Fix compilation on iOS (#1240) 2017-09-22 08:44:15 -07:00
Branimir Karadžić
8522bf95ac Cleanup. 2017-09-17 21:17:24 -07:00
Branimir Karadžić
04c3322d93 D3D9: Fixed persist dynamic buffers after device reset. 2017-09-17 21:01:20 -07:00
Branimir Karadžić
f07a30ca0b Added example 35-dynamic: dynamic buffers update. 2017-09-17 20:32:11 -07:00
Branimir Karadžić
2ef2e3ce81 Cleanup. 2017-09-16 21:12:02 -07:00
Branimir Karadžić
965f8c91b2 Cleanup. 2017-09-15 20:04:31 -07:00
Branimir Karadžić
634d5ef751 Fixed debug draw transform. 2017-09-12 17:58:36 -07:00
Libor Čapák
f56687ee4b SDL_GameControllerAddMapping needs zero-terminated string (#1234) 2017-09-11 13:28:28 -07:00
Branimir Karadžić
e62ffe9984 Cleanup. 2017-09-10 21:36:43 -07:00
Branimir Karadžić
adeb7f5870 Cleanup. 2017-09-10 20:58:45 -07:00
Branimir Karadžić
0dd6083787 Cleanup. 2017-09-02 19:30:40 -07:00
Branimir Karadžić
6dabea4ddc Updated embedded shaders. 2017-09-01 21:28:21 -07:00
Branimir Karadžić
50d0488b1f 07-callback: Fixed view rect. 2017-09-01 08:08:01 -07:00
attilaz
80a1006ac7 preserve window size when switching example (#1229)
I think this is more convenient on desktop, but is a must have on mobile where app is running in fullscreen and window size is set to screen size.
2017-09-01 08:01:47 -07:00
Branimir Karadžić
3aec2b89bf Added bgfx::setName to set resource debug name. 2017-08-30 21:46:57 -07:00
Branimir Karadžić
167db342bd Added BGFX_DEBUG_PROFILER. 2017-08-20 14:46:33 -07:00
Branimir Karadžić
f0971eda83 Removed Remotery. 2017-08-20 14:24:15 -07:00
Branimir Karadžić
21ade78454 Replaced GL internal profiler. 2017-08-20 14:20:54 -07:00
Branimir Karadžić
113ac0bc7a Cleanup. 2017-08-19 11:03:18 -07:00
Branimir Karadžić
f59464a338 Cleanup. 2017-08-19 11:02:45 -07:00
Branimir Karadžić
083c67d471 Added multiple vertex stream example. 2017-08-19 10:58:06 -07:00
Branimir Karadžić
578ed35243 Fixed issue #1215. 2017-08-16 20:48:26 -07:00
Branimir Karadžić
35ce2380df Updated ImGui. 2017-08-14 22:16:52 -07:00
Branimir Karadžić
c930137c54 Internal profiler WIP. 2017-08-13 21:15:39 -07:00
Branimir Karadžić
1dce73936f Cleanup. 2017-07-25 19:47:07 -07:00
Branimir Karadžić
87acea36e7 Cleanup. 2017-07-24 21:04:30 -07:00
Branimir Karadžić
93a2bbb6c6 Added Android file reader. 2017-07-24 21:04:24 -07:00
Branimir Karadžić
f09c886476 Cleanup. 2017-07-23 21:22:21 -07:00
Branimir Karadžić
e4147a49be Added capabilties check to examples. 2017-07-22 21:19:14 -07:00
Branimir Karadžić
a6ac22d435 30-picking: Show error when blit is not supported. 2017-07-22 17:40:27 -07:00
Branimir Karadžić
a04066ba41 Fixed issue #1210. 2017-07-20 20:25:48 -07:00
Branimir Karadžić
c38d76f42a texturev: Added image orientation. 2017-07-19 22:53:48 -07:00
mncat77
db49d0ec94 Fixed issue #1211 (#1212) 2017-07-19 09:25:23 -07:00
Branimir Karadžić
c4525ee302 imgui: Added Cyrillic characters. 2017-07-18 22:43:50 -07:00
Branimir Karadžić
094b1c8c69 Fixed issue #1211. 2017-07-18 20:05:00 -07:00
Branimir Karadžić
868417bbc7 Fixed issue #1210. 2017-07-18 19:58:37 -07:00
Branimir Karadžić
7c9b2b7257 API change: Simplified destroy functions to use overload resolution. 2017-07-17 22:29:43 -07:00
Branimir Karadžić
a247d29298 Cleanup. 2017-07-17 22:14:34 -07:00