Commit Graph

63 Commits

Author SHA1 Message Date
Branimir Karadžić
4946079f1d Cleanup. 2023-11-03 21:36:00 -07:00
Julian Sikorski
f4d463990a
Allow simultaneous X11 and Wayland support (#3152)
* Allow simultaneous X11 and Wayland support

* Add NativeWindowHandleType

* Set default value for g_platformData.type

* Use g_platformData.type to check for a native Wayland window

* Stub getNativeWindowHandleType on platform where Wayland is not an option

* Implement getNativeWindowHandleType for GLFW

* Add getNativeWindowHandleType to the remaining C++ examples

* Add getNativeWindowHandleType to the C example
2023-08-17 16:54:31 +02:00
Branimir Karadžić
290295136b Added bx::Location, and removed allocator macros. 2023-04-23 19:19:22 -07:00
Бранимир Караџић
466c6a4e95 Happy New Year! 2023-01-14 10:05:12 -08:00
Бранимир Караџић
72cbe83275 Removed bgfx::setPlatformData usage from entry example harness. 2022-08-25 20:07:03 -07:00
Бранимир Караџић
4581f14cd4 Happy New Year! 2022-01-15 11:59:06 -08:00
Бранимир Караџић
c5d1a1a8e3 Moving bounds from bgfx to bx. 2021-10-16 10:41:42 -07:00
Бранимир Караџић
af49c5d264 Happy New Year! 2021-01-14 15:53:49 -08:00
Бранимир Караџић
c95eca2a4b Don't update camera when mouse is over imgui. 2020-12-26 22:46:26 -08:00
Бранимир Караџић
82f56b5987 Happy New Year! 2020-01-14 21:37:06 -08:00
Leandro Freire
33ac8934ff Fixed tabs/spaces 2019-08-17 14:56:23 -07:00
Leandro Freire
d7c70c49e3 Add url to examples 2019-08-17 13:27:38 -07:00
Leandro Freire
1db46f4fe6 Rename variables and constants 2019-08-17 12:32:16 -07:00
Leandro Freire
855623e153 Rename VertexDecl to VertexLayout 2019-08-13 18:42:01 -07:00
Бранимир Караџић
3f3a9450ba Happy New Year! 2019-01-13 17:13:25 -08:00
Бранимир Караџић
a54f8a3f81 Renamed UniformType enum Int1 to Sampler. 2019-01-11 14:14:17 -08:00
Branimir Karadžić
147a379067 Cleanup. 2018-12-21 21:05:26 -08:00
Branimir Karadžić
63e298795d Cleanup. 2018-12-21 18:02:39 -08:00
Branimir Karadžić
7b98546fd7 Removing old vector math. 2018-12-20 21:49:10 -08:00
Branimir Karadžić
0740b29de7 Cleanup. 2018-12-10 19:39:00 -08:00
Branimir Karadžić
9da45ed78c Renamed bgfx::updateDynamic* to just bgfx::update. 2018-06-09 17:29:00 -07:00
Branimir Karadžić
5bb6a14876 Changed bgfx::init to take init parameters as structure instead of arguments. 2018-04-17 15:42:18 -07:00
Branimir Karadžić
49a75f2fb1 bx math API cleanup. 2018-01-13 15:33:50 -08:00
Branimir Karadžić
f44c8e2b14 Happy New Year! 2018-01-01 11:16:06 -08:00
Branimir Karadžić
547d1d2b11 Cleanup. 2017-12-02 18:15:31 -08:00
Branimir Karadžić
907f835881 Removed use of obsolete ImGui API. 2017-12-01 21:04:27 -08: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ć
7c9b2b7257 API change: Simplified destroy functions to use overload resolution. 2017-07-17 22:29:43 -07:00
Branimir Karadžić
3e212b519f Moving code around and renaming files. 2017-07-15 21:01:08 -07:00
Branimir Karadžić
a274c9a6c5 Replaced BX_OVERRIDE with override. 2017-07-15 00:17:29 -07:00
Branimir Karadžić
0fad539078 Cleanup. 2017-06-29 23:19:20 -07:00
Branimir Karadžić
917385f79e Cleanup. 2017-06-29 22:23:18 -07:00
Branimir Karadžić
936d105589 Fixed some GCC7 warnings. 2017-06-27 20:26:31 -07:00
Branimir Karadžić
43fb2f6f4b Cleanup. 2017-06-26 22:51:56 -07:00
Branimir Karadžić
5f666a5ee2 Combined all examples. Issue #1143. 2017-06-25 21:44:04 -07:00
Branimir Karadžić
c55fbf378b Cleanup. 2017-06-23 15:26:28 -07:00
Branimir Karadžić
793f260be1 Cleanup. 2017-06-21 20:06:01 -07:00
attilaz
9b21aa501d 27-terrain: switched to imgui (#1173) 2017-06-21 17:00:50 -07:00
Branimir Karadžić
07d799f72e Renamed constants to new style. 2017-06-09 21:57:08 -07:00
Branimir Karadžić
3fbcddb4ef Renamed constants to new style. 2017-06-09 20:08:52 -07:00
Branimir Karadžić
68c6b46a65 Exposed vertex stream argument to API. 2017-05-14 11:48:59 -07:00
Branimir Karadžić
5375aa5a03 Fixed warnings. 2017-03-12 18:25:23 -07:00
Branimir Karadžić
d96225a1f0 Fixing projection matrix in examples. 2017-02-22 22:26:39 -08:00
Branimir Karadžić
b99ebb9535 Cleanup. 2017-02-08 19:55:31 -08:00
Brian Harris
ffd3771a09 Updated makefiles to build spirv (#1025) 2017-01-20 09:29:09 -08:00
Branimir Karadžić
b9b8a6e871 Cleanup. 2017-01-04 08:34:25 -08:00
Branimir Karadžić
7537b705e5 GL: Added support for texture array. 2016-08-21 14:03:16 -07:00
Branimir Karadžić
c98be90bf5 WIP: Texture array support. 2016-08-19 21:05:37 -07:00
Branimir Karadžić
be9f93473d Cleanup. 2016-04-01 22:48:57 -07:00
Branimir Karadžić
086285a3e2 Cleanup. 2016-03-06 15:29:22 -08:00