Commit Graph

89 Commits

Author SHA1 Message Date
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
Бранимир Караџић e9d1e3d0fe Renamed bx::init::* tags. 2023-04-22 22:22:45 -07:00
Бранимир Караџић 72cbe83275 Removed bgfx::setPlatformData usage from entry example harness. 2022-08-25 20:07:03 -07:00
Бранимир Караџић ad5cc799a4 Added numeric min/max for type. 2022-08-22 20:33:50 -07:00
Бранимир Караџић 4581f14cd4 Happy New Year! 2022-01-15 11:59:06 -08:00
Бранимир Караџић f1ddf67114 Added initializer types. 2021-09-06 09:03:26 -07: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
Бранимир Караџић a9747bc739 Cleanup. 2019-01-14 23:41:02 -08:00
Бранимир Караџић 0df9a005fa Cleanup. 2019-01-14 19:08:49 -08:00
Бранимир Караџић a54f8a3f81 Renamed UniformType enum Int1 to Sampler. 2019-01-11 14:14:17 -08:00
Branimir Karadžić e1d7b56a85 Removing old vector math. 2018-12-07 19:42:34 -08:00
Branimir Karadžić 66a7d6ab05 Removing old vector math. 2018-11-16 21:54:20 -08:00
Branimir Karadžić 4433b5bcdc Separating sampler flags from texture creation flags. 2018-08-20 17:12:26 -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ć 584b8b34f0 Added support for independent RGB channel write control. 2018-02-13 12:35:23 -08:00
Branimir Karadžić 49a75f2fb1 bx math API cleanup. 2018-01-13 15:33:50 -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
Branimir Karadžić 7c9b2b7257 API change: Simplified destroy functions to use overload resolution. 2017-07-17 22:29:43 -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ć 6e08b6a42a Cleanup. 2017-06-26 22:21:20 -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ć b4df0d7c75 Cleanup. 2017-06-23 14:35:53 -07:00
Branimir Karadžić 8979728fed Cleanup. 2017-06-23 14:28:44 -07:00
attilaz e92708a5b2 18-ibl: switched to imgui (#1178) 2017-06-23 14:38:08 -07:00
Branimir Karadžić 1e634c9cf5 Cleanup. 2017-06-15 11:25:05 -07:00
attilaz dbf0bfcb35 ibl to entry::AppI (#1161) 2017-06-15 11:23:59 -07:00
Branimir Karadžić 30b6d07e29 Cleanup. 2017-06-12 22:43:07 -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ć d96225a1f0 Fixing projection matrix in examples. 2017-02-22 22:26:39 -08:00
Branimir Karadžić 0838dad5ab Fixed build. 2017-02-14 20:27:31 -08:00
Branimir Karadžić b99ebb9535 Cleanup. 2017-02-08 19:55:31 -08:00
Branimir Karadžić 07aae82d16 Replaced checkAvail* with getAvail* API. 2016-12-22 16:18:44 -08:00
Branimir Karadžić 8809a190ef Fixed calcTextureSize. 2016-08-22 14:17:08 -07:00
Dario c9a84bd542 18-ibl fixes. (#824)
* Fixing issue #817.

* Fixing env matrix for IBL.
2016-06-27 08:54:29 -07:00
Branimir Karadžić a94089e29f Added simple texture viewer tool. 2016-04-21 22:12:35 -07:00
Branimir Karadžić 35a30c3135 Cleanup. 2016-03-05 11:38:32 -08:00
Branimir Karadžić e8a0e69097 Cleanup. 2016-02-29 11:43:09 -08:00
Branimir Karadžić 689a39c7fa Cleanup. 2016-02-28 18:20:18 -08:00
Branimir Karadžić 9cc308cb11 Cleanup. 2016-02-28 16:34:23 -08:00
Dario Manesku a079ee53ef Redone 18-ibl example. It's now using textures that are filtered with cmft. 2016-02-29 01:15:12 +01:00
Branimir Karadžić 4bb2b623d3 Happy New Year! 2016-01-01 00:11:04 -08:00
Stephen Hill 7d0804ec77 Hyphenation 2015-11-29 18:41:37 -05:00