Commit Graph
140 Commits
Author SHA1 Message Date
Branimir Karadžić a7c0e5b426 Main window rebinding: every renderer follows a new nwh, entry on every platform (#4056) 2026-10-16 10:35:20 -07:00
Thomas Edvalson 99b7977fe2 Android: restore main-window EGL surface recreation (#4055)
Use the main swap-chain native window on Android EGL reset so a replacement ANativeWindow can receive a new EGLSurface without destroying the existing EGLContext and GPU resources.

Forward native-window lifecycle events through the Android example event queue and include the current window in its reset descriptor. Document Android main-window rebinding support.

Restores the intent of #796 after the example harness platform-data removal (72cbe8327) and swap-chain API refactor (#3959).
2026-10-16 08:47:05 -07:00
Branimir Karadžić d79de7ac63 examples: Added --fixed-fps and --screenshot for deterministic captures. (#3998) 2026-09-25 15:29:53 -07:00
Branimir Karadžić 2e51cb6aa9 Added depth control, sample mask, and read-only depth/stencil attachments. (#3971) 2026-09-11 05:22:53 +00:00
Branimir Karadžić 01dbbbc08c Added swap-chain. (#3959) 2026-09-05 01:44:33 +00:00
Branimir Karadžić 87ec6b86c6 Fix API selection in standalone example. (#3944) 2026-08-30 23:29:36 +00:00
Branimir Karadžić 80bee4959c Added example name to title bar. Added WebGPU vendor info. (#3820) 2026-07-12 04:07:10 +00:00
Branimir Karadžić 0499759e8c Fixed runtime renderer selection. (#3637) 2026-03-21 16:57:04 +00:00
Branimir Karadžić 4baed6e076 Happy New Year! (#3550) 2026-01-14 16:26:51 +00:00
Бранимир Караџић e113d598ae Entry: Fixed file path. 2025-11-02 21:30:56 -08:00
Бранимир Караџић 2c057e331f Cleanup. 2025-10-21 18:11:24 -07:00
Бранимир Караџић b0e9cbd110 Fixed crash. 2025-09-29 19:47:41 -07:00
Branimir Karadžić 5eeed00aaa Replaced use of dynamic StringT with FixedStringT. 2025-09-19 20:38:26 -07:00
Бранимир Караџић cbe6789a93 Setup exception handler in examples. 2025-08-23 19:29:49 -07:00
Бранимир Караџић 860bafb23f Happy New Year! 2025-01-13 15:45:40 -08:00
Бранимир Караџић 042ebe8814 Cleanup. 2024-12-07 22:49:45 -08:00
Martijn Courteaux 01af383a6c Fix Vulkan swapchain invalidation issue. (#3379)
* Fix Vulkan swapchain invalidation issue.

* Always clamp render pass to frame buffer size.

* Fix formatting.
2024-11-21 07:29:24 -08:00
Бранимир Караџић 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
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
Бранимир Караџић 4f3ce6abcb Entry: Resize window before calling init. 2023-01-13 07:08:51 -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
Бранимир Караџић 35a9771c34 entry: Fixed reset logic. 2020-11-29 15:11:37 -08: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
Бранимир Караџић 1926e9c0a3 Cleanup. 2019-10-31 07:32:36 -07:00
Бранимир Караџић a5898b131b examples: Added documentation link. 2019-08-14 21:19:03 -07:00
Бранимир Караџић 3d7a8e904c Cleanup. 2019-02-19 17:53:03 -08:00
Бранимир Караџић 3f3a9450ba Happy New Year! 2019-01-13 17:13:25 -08:00
Branimir Karadžić 6bff345637 StringView cleanup. 2018-10-21 19:17:44 -07:00
Branimir Karadžić db0ec1f5db Removed HMD API and OculusVR support. 2018-07-19 20:22:21 -07:00
Branimir Karadžić 1a90c93458 Cleanup. 2018-01-17 21:05:14 -08:00
Branimir Karadžić 0093775508 texturev: Added support for drop file. 2018-01-04 13:05:36 -08:00
Branimir Karadžić 8c91699678 entry: Drop file event for SDL. 2018-01-03 22:49:10 -08:00
Branimir Karadžić 97e6c498a8 entry: Added drop file event WIP. 2018-01-03 21:37:42 -08:00
Branimir Karadžić f44c8e2b14 Happy New Year! 2018-01-01 11:16:06 -08:00
Branimir Karadžić 1ce463082b Fixed static init order issue. 2017-11-28 22:23:46 -08:00
Branimir Karadžić 7a1e4637e3 Cleanup. 2017-11-27 23:10:34 -08:00
Branimir Karadžić 88e8009b55 Cleanup. 2017-10-01 21:57:48 -07:00
Branimir Karadžić ed572fc5a6 Cleanup. 2017-09-30 16:25:11 -07:00
attilaz 80a1006ac7 preserve window size when switching example (#1229)
I think this is more convenient on desktop, but is a must have on mobile where app is running in fullscreen and window size is set to screen size.
2017-09-01 08:01:47 -07:00
Branimir Karadžić 167db342bd Added BGFX_DEBUG_PROFILER. 2017-08-20 14:46:33 -07:00
Branimir Karadžić f0971eda83 Removed Remotery. 2017-08-20 14:24:15 -07:00
Branimir Karadžić 578ed35243 Fixed issue #1215. 2017-08-16 20:48:26 -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