Commit Graph

128 Commits

Author SHA1 Message Date
Бранимир Караџић 932302d8f4 Compute: Rename Write Only suffix _WR to _WO. 2024-04-18 10:07:40 -07: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ć 75fc6aeb4a Added clear rect test. 2023-06-23 20:17:56 -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
Бранимир Караџић 17bb4dce49 08-update: Fixed BC texture update. 2021-11-11 15:21:59 -08:00
Бранимир Караџић 796d1ceb39 08-update: Cleanup. 2021-11-01 18:27:27 -07:00
Бранимир Караџић 2df0a41918 08-update: Added blit test. 2021-11-01 08:43:22 -07:00
Бранимир Караџић af49c5d264 Happy New Year! 2021-01-14 15:53:49 -08:00
Бранимир Караџић 3a8e0e2bb1 Fixed blit on cubemaps. 2020-10-09 20:47:50 -07:00
Бранимир Караџић 2cbcb6ea90 RRenamed BX_CHECK to BX_ASSERT. 2020-06-16 10:06:18 -07:00
Бранимир Караџић 93f1d78cec Cleanup. 2020-04-08 18:10:31 -07:00
Бранимир Караџић a577989f07 Cleanup. 2020-03-24 08:18:27 -07:00
Attila Kocsis 8a3786c59c Added desciption labels to 08-update
Added row of cubes whose compressed texture is created with empty content then updated using bgx::updateTexture2D.

Fixed default srcPitch in d3d11 renderer for compressed textures.
2020-02-07 07:23:17 -08:00
Бранимир Караџић 82f56b5987 Happy New Year! 2020-01-14 21:37:06 -08:00
Бранимир Караџић 3f647f1ca1 Fixed tabs/spaces. 2019-08-17 13:32:18 -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
Бранимир Караџић 34c7a543bd D3D9: Fixed texutre format. 2019-02-20 18:23:14 -08:00
Бранимир Караџић ca9f845103 Added sampler repeat test. 2019-01-24 12:25:11 -08:00
attilaz 36d29c27fd fixed msvc warnings 2019-01-24 19:28:56 +01:00
Attila Kocsis c39408173d Metal framebuffer attachment support
08-update: added a cube that has a texturecube that is rendered using framebuffer attachment. It looks the same as the one whose texture is updated with compute shader.
2019-01-24 19:20:35 +01:00
Бранимир Караџић 6df4bf4a4c Cleanup. 2019-01-16 09:24:06 -08:00
Бранимир Караџић 3f3a9450ba Happy New Year! 2019-01-13 17:13:25 -08:00
Бранимир Караџић a54f8a3f81 Renamed UniformType enum Int1 to Sampler. 2019-01-11 14:14:17 -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ć d7c5156084 Cleanup. 2018-06-16 08:34:06 -07:00
Andrew Willmott acd99728b7 ATC and ASTC support (#1410)
* ATC & ASTC support

- Add update format enum for bimg additions
- renderer_gl ATC and ATSC support
- renderer_mtl ASTC support
- renderer_vk ASTC support
- updates to other backends for new enums
- Support emulated ATC

* cleanup

* Add texture_compression test files for ATC/ASTC formats

* Update 'update' example for ATC formats

- Generalise tile code a little
- Add ATC variants
- Ignoring ASTC for now as not emulated -- should we add empty
  checkerboard emulate though?
2018-06-11 09:23:41 -07:00
Branimir Karadžić cbfa3b59db Cleanup. 2018-05-06 18:39:44 -07:00
Branimir Karadžić 80d56ed37c Cleanup. 2018-04-23 16:23:38 -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ć b4338ce0d2 Cleanup. 2018-01-19 17:07:03 -08:00
Branimir Karadžić f44c8e2b14 Happy New Year! 2018-01-01 11:16:06 -08:00
James Fulop 6aa7c87758 Samples cleanup. Bringing debug text back on some samples, rearranging debug drawing around ImGui Example Dialog. Fix mouse state trampling in 22-windows. (#1300) 2017-12-27 11:41:40 -08:00
Branimir Karadžić ecad7173d0 D3D12: Fixed 3D texture upload. 2017-12-20 11:11:02 -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ć 6fa7c05fb9 Cleanup. 2017-06-30 23:36:37 -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ć 30b6d07e29 Cleanup. 2017-06-12 22:43:07 -07:00
Branimir Karadžić 07d799f72e Renamed constants to new style. 2017-06-09 21:57:08 -07:00
Branimir Karadžić 3bbbb4c324 Cleanup. 2017-05-29 10:43:50 -07:00
rams3s 5724020208 Fixed D3D11 error in example 08-update. (#1145) 2017-05-29 10:38:06 -07:00