Commit Graph

51 Commits

Author SHA1 Message Date
Бранимир Караџић 83dfadf673 Happy New Year! 2024-01-14 01:56:36 -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
云风 498c34273b
Larger debug text for retina display (#3109)
* Add Init.Resolution.scaleDebug

* clamp scale to BGFX_CONFIG_MAX_SCALE_DEBUG

* update version

* Use textWdith/textHeight in helloworld
2023-06-13 18:17:38 -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
Бранимир Караџић af49c5d264 Happy New Year! 2021-01-14 15:53:49 -08:00
Бранимир Караџић 82f56b5987 Happy New Year! 2020-01-14 21:37:06 -08:00
Бранимир Караџић 07a0ecd743 Cleanup. 2019-08-15 08:11:34 -07:00
Бранимир Караџић 3f3a9450ba Happy New Year! 2019-01-13 17:13:25 -08:00
Branimir Karadžić d7c5156084 Cleanup. 2018-06-16 08:34:06 -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ć d04301dfda Fixed VGA color order, and clarified docs. 2018-01-25 20:34:17 -08:00
Branimir Karadžić f44c8e2b14 Happy New Year! 2018-01-01 11:16:06 -08: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ć 5f666a5ee2 Combined all examples. Issue #1143. 2017-06-25 21:44:04 -07:00
Branimir Karadžić 3b83f53ab1 Happy New Year! 2017-01-01 00:18:41 -08:00
Branimir Karadžić 5d83b6fa4c Fixed VS build. 2016-11-28 23:32:23 -08:00
Branimir Karadžić 0e933091ed Added ANSI escape codes for debug text. Added info about backbuffer and debug text width/height. 2016-11-28 21:00:57 -08:00
Branimir Karadžić 071912b2d2 Fixed MSVC L4 warnings. 2016-05-06 21:29:47 -07:00
Branimir Karadžić 662716a6ac Cleanup. 2016-03-13 14:28:04 -07:00
Branimir Karadžić 4bb2b623d3 Happy New Year! 2016-01-01 00:11:04 -08: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ć 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ć 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 Karadžić 254efb5a3d Added bgfx::dbgTextImage API for drawing directly into debug text buffer. 2014-12-04 20:32:19 -08:00
Branimir Karadžić ac925b00c8 Cleanup. 2014-05-03 15:18:28 -07:00
Branimir Karadžić 9ff1d0c513 Updated copyright year. 2014-02-10 22:07:04 -08:00
bkaradzic 4c4c2eb5cb examples-common: Reogranized sources. Added command interpreter and input bindings support. 2013-08-07 21:45:56 -07:00
bkaradzic 18f2e82362 Added include path to common. Renamed math to fpumath. 2013-05-23 22:07:54 -07:00
bkaradzic bed490bd53 Cleanup. 2013-05-18 22:12:40 -07:00
bkaradzic 3601c74e92 Fixed reset flag in examples. 2013-05-08 22:57:54 -07:00
bkaradzic fb7fd32f24 Run all samples with vsync on by default. 2013-04-27 18:47:18 -07:00
bkaradzic 6582276e3e Fixed L4 warnings. 2013-03-25 21:13:54 -07:00
bkaradzic 8c6db9155f Removed comment. 2013-03-09 16:35:04 -08:00
bkaradzic 52a49a2247 GL context sucks. 2013-03-09 16:34:06 -08:00
bkaradzic b01a1774c9 Added coverage for multiple init/shutdown. 2013-03-09 16:12:08 -08:00
bkaradzic 35d7d2ff1b Added F8 as MSAA toggle in examples. 2013-02-21 22:05:33 -08:00
bkaradzic 8e0e21f40d Normalized line endings. 2013-02-21 21:07:31 -08:00
bkaradzic c3667bad05 WIP support for key/mouse events in examples. 2013-01-16 22:44:51 -08:00
bkaradzic 43ce51b8ec Updated year in copyright notice. 2013-01-13 10:57:24 -08:00
bkaradzic d6e4a57cf2 Moving window creation to examples/common. 2013-01-13 10:47:30 -08:00
bkaradzic d4cd0ea4fa Added 07-callback example. 2012-12-30 20:52:47 -08:00
bkaradzic caeecc72ce Removed test code. 2012-10-27 21:39:43 -07:00
bkaradzic 7accea7b5d Added texture loading example. 2012-10-27 21:34:41 -07:00
bkaradzic cfac3feb85 Added more examples. 2012-10-07 20:41:18 -07:00