Commit Graph

43 Commits

Author SHA1 Message Date
Бранимир Караџић
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
XxXSVVPXxXx
e068453b53
Update entry_android.cpp (#2375)
- Fix Android Building
- "entry_android.cpp:157:29: error: no member named 'kErrorRederWriterEof' in namespace 'bx'; did you mean 'kErrorReaderWriterEof'?"
2021-02-01 09:08:19 -08:00
Бранимир Караџић
af49c5d264 Happy New Year! 2021-01-14 15:53:49 -08:00
Бранимир Караџић
263415b887 Cleanup. 2020-12-16 13:50:47 -08:00
Бранимир Караџић
8acb8383b0 Fixed issue #2201. 2020-07-16 06:57:18 -07:00
Бранимир Караџић
2cbcb6ea90 RRenamed BX_CHECK to BX_ASSERT. 2020-06-16 10:06:18 -07:00
Бранимир Караџић
82f56b5987 Happy New Year! 2020-01-14 21:37:06 -08:00
Бранимир Караџић
0b921ea8e4 Fixed issue #1668. 2019-02-27 09:20:37 -08:00
Бранимир Караџић
3f3a9450ba Happy New Year! 2019-01-13 17:13:25 -08:00
Branimir Karadžić
ed00c24f6f texturev: Allow arbitrary window size. 2018-01-02 19:15:04 -08:00
Branimir Karadžić
f44c8e2b14 Happy New Year! 2018-01-01 11:16:06 -08:00
Branimir Karadžić
2d835155a9 Fixed build. 2017-11-04 15:25:11 -07:00
Branimir Karadžić
93a2bbb6c6 Added Android file reader. 2017-07-24 21:04:24 -07:00
Branimir Karadžić
5df4969527 Fixed build. 2017-06-29 22:30:35 -07:00
Branimir Karadžić
b99ebb9535 Cleanup. 2017-02-08 19:55:31 -08:00
Branimir Karadžić
3b83f53ab1 Happy New Year! 2017-01-01 00:18:41 -08:00
Branimir Karadžić
8da9e54957 Renamed bgfxdefines.h to defines.h, and bgfxplatform.h to platform.h. 2016-12-05 19:52:01 -08:00
Branimir Karadžić
3ac8943e05 Removed PlatformData helpers. 2016-08-17 20:41:09 -07:00
Jean-François Verdon
3bdeea1f4b Android mouse event injection is overcomplicated, and furthemore, bugged: it sends a mouse up event before a mouse down, and have other issues like the fact that he work with one event latter. Simplifying it and correcting it. 2016-07-04 01:55:20 +02:00
Branimir Karadžić
10b9d079bf Cleanup. 2016-05-22 17:20:27 -07:00
Sami Kyöstilä
516e287f24 Make it possible to reset the native window (#796)
On Android when the application goes into the background, the EGL
window surface becomes invalid. It is possible to resume rendering when
coming to the foreground by resetting and reinitializing bgfx from
scratch, but this is costly in terms of performance.

This patch provides an alternative by letting the application provide a
new native window, causing bgfx to recreate just the EGL window surface
while keeping the EGL context intact. This allows the application to
resume rendering without needing to reload textures, shaders, etc.

To test, build and run the Hello World example on Android, switch to
another app and then back again. The screen should not remain blank
after switching back.
2016-05-22 17:16:25 -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
Richard Gale
631103bfa8 Adds suspend event mapped to application lifecycle
On Android WillSuspend and WillResume maps to focus and DidSuspend and
DidResume maps to onPause and onResume.

On OSX WillSuspend and DidSuspend maps to resign key, WillResume and
DidResumg maps to make key.
2015-08-24 19:12:01 -07:00
Dario Manesku
6935ead3e6 Implemented existing OSX window commands + added toggleFullscreen(). 2015-03-07 23:39:04 +01:00
Branimir Karadžić
c25dd466be Updated copyright year. 2015-01-01 15:04:46 -08:00
Branimir Karadžić
527adf3c28 Android: Added gamepad support. 2014-12-29 13:53:44 -08:00
Branimir Karadžić
0a594cdb91 Android: Added input handling. 2014-12-25 18:27:27 -08:00
Branimir Karadžić
857a2b18f1 Android: Fixed GLES3+ build. 2014-12-23 23:32:36 -08:00
Branimir Karadžić
3947174959 Android: Removed status bar. 2014-10-24 20:33:56 -07:00
Branimir Karadžić
de3d152b9c Added multiple windows example. 2014-09-22 19:34:10 -07:00
Branimir Karadžić
2111974c80 Multiple window support WIP. 2014-09-18 22:32:33 -07:00
bkaradzic
660f86065f Fixed compile errors. 2014-08-22 19:29:54 -07:00
Dario Manesku
2b01f8a874 Function setWindowTitle() now returns void. 2014-08-10 16:53:14 +01:00
Dario Manesku
f1a7e1696d Added setWindowTitle(). 2014-08-06 01:50:22 +01:00
Branimir Karadžić
9ff1d0c513 Updated copyright year. 2014-02-10 22:07:04 -08:00
bkaradzic
433a29d7d6 Use sdcard for loading data for Android examples. 2013-12-09 22:36:13 -08:00
bkaradzic
9fd378b5d9 Fixed GCC warnings. 2013-12-02 20:09:03 -08:00
bkaradzic
24c894ea90 Shuffling entry stuff. 2013-08-14 21:08:46 -07:00
bkaradzic
386323e9a6 Added missing include. 2013-08-07 23:11:20 -07:00
bkaradzic
4c4c2eb5cb examples-common: Reogranized sources. Added command interpreter and input bindings support. 2013-08-07 21:45:56 -07:00