Commit Graph

57 Commits

Author SHA1 Message Date
Бранимир Караџић
83dfadf673 Happy New Year! 2024-01-14 01:56:36 -08:00
Бранимир Караџић
e9e2e224ee Replaced macros with C++17 attributes. 2023-12-02 20:16:56 -08:00
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
Бранимир Караџић
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
Raziel Alphadios
9cc470a390
Fix C5055 warnings on C++20 and up (#2637)
* Fix C5055 (operator 'operator-name': deprecated between enumerations and floating-point types) warnings on C++20 and up

* Changed static_casts to functional-style casts

Co-authored-by: Raziel Alphadios <raziely@gmail.com>
2021-10-27 09:33:03 -07:00
Бранимир Караџић
af49c5d264 Happy New Year! 2021-01-14 15:53:49 -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
Бранимир Караџић
7ba6cd72cd Fixed #1820. 2019-07-19 18:40:03 -07:00
Бранимир Караџић
55c170ff92 Cleanup. 2019-01-28 18:05:39 -08:00
Бранимир Караџић
e105c88e55 Cleanup. 2019-01-18 18:07:29 -08:00
Бранимир Караџић
3f3a9450ba Happy New Year! 2019-01-13 17:13:25 -08:00
Mathieu-Andre Chiasson
5be52bb925 upgraded nanovg to the latest. 2018-12-27 21:52:01 -05: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
attilaz
bc065cc4d0 Fix compilation on iOS (#1240) 2017-09-22 08:44:15 -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ć
5f666a5ee2 Combined all examples. Issue #1143. 2017-06-25 21:44:04 -07:00
Branimir Karadžić
6910ddba9e WIP: Adding more sort key modes. 2017-06-14 18:10:42 -07:00
Branimir Karadžić
9128c4f374 Fixed NanoVG. 2017-04-12 20:53:58 -07:00
Branimir Karadžić
5375aa5a03 Fixed warnings. 2017-03-12 18:25:23 -07:00
Branimir Karadžić
3b83f53ab1 Happy New Year! 2017-01-01 00:18:41 -08:00
Branimir Karadžić
b49fb810ff Fixed issue #902. 2016-09-06 19:13:13 -07:00
Branimir Karadžić
5c0874f82f Cleanup. 2016-03-06 16:24:35 -08:00
Branimir Karadžić
4bb2b623d3 Happy New Year! 2016-01-01 00:11:04 -08:00
Stephen Hill
fef9262866 Fixed image loading error handling in 20-nanovg
nvgCreateImage returns 0 on failure, not bgfx::invalidHandle!
2015-11-28 14:48:05 -05:00
Branimir Karadžić
1c51d81006 Cleanup. 2015-10-23 20:52:22 -07:00
Branimir Karadžić
d1f99896ec Moved public header files into bgfx subdirectory.
grep -rl '<bgfx.h>' . | xargs sed -i 's@<bgfx.h>@<bgfx/bgfx.h>@g'
2015-09-18 20:19:12 -07:00
Branimir Karadžić
65e47a57eb Replaced missing VS2012 function. 2015-08-01 23:20:52 -07:00
Branimir Karadžić
1fa85ccf27 Replaced bgfx::setProgram function with bgfx::submit argument. Added bgfx::touch and bgfx::getStats. 2015-07-22 18:05:11 -07:00
Branimir Karadžić
921a315c4d Cleanup. 2015-07-16 20:28:43 -07:00
Branimir Karadžić
7904b9d9dd Fixed issue #353. 2015-04-19 18:12:09 -07:00
Branimir Karadžić
ec9ba5d15b Fixed VS2015 warnings. 2015-03-30 19:29:52 -07:00
Branimir Karadžić
a34e6e7965 Fixed VS2015 warnings. 2015-03-29 11:47:32 -07:00
Branimir Karadžić
ff7f967c1b Removed _BIT suffix from BGFX_CLEAR_* flags. 2015-01-10 21:39:45 -08:00
Branimir Karadžić
c25dd466be Updated copyright year. 2015-01-01 15:04:46 -08:00
Branimir Karadzic
d54063bfd5 Fixed GCC/Clang warnings. 2014-11-17 08:33:14 -08:00
Branimir Karadžić
ff44d73480 Updated NanoVG and Blendish. 2014-11-16 18:59:17 -08:00
Branimir Karadžić
892262f419 Fixed Blendish warnings. 2014-09-21 19:34:28 -07:00
Branimir Karadžić
c40cf1f4f5 Updated Blendish to latest. 2014-09-21 19:34:02 -07:00
Branimir Karadžić
f5c0ba3850 Updated Blendish to latest. 2014-09-21 19:32:21 -07:00
m.milanovic@levi9.com
1baf1c0734 Fixed one more undefined defines errors. 2014-08-22 16:32:13 +02:00