Commit Graph

178 Commits

Author SHA1 Message Date
Бранимир Караџић 83dfadf673 Happy New Year! 2024-01-14 01:56:36 -08:00
Aleksandr Bazhin a23b128ae2
Fix kerning for SDF scaled fonts in font_manager.cpp (#3192)
Kerning is now also scaled with the scaled child font when using SDF fonts. In examples/common/font_manager.cpp kerning was visibly off when scaling SDF font down.
2023-11-05 09:13:52 -08:00
Бранимир Караџић f14c14a485
Removed D3D9. (#3191) 2023-11-03 21:15:42 -07:00
Бранимир Караџић 466c6a4e95 Happy New Year! 2023-01-14 10:05:12 -08:00
luzpaz 6875e96bcb
Fix various typos (#2719)
Found via `codespell -q 3 -S ./3rdparty,*.ttf -L attribut,ba,clude,conly,indext,inout,lod,nclude,retur,utput`
2022-02-05 11:34:15 -08:00
Бранимир Караџић 4581f14cd4 Happy New Year! 2022-01-15 11:59:06 -08:00
Paul Gruenbacher 5b4a6dc330
Fix bad delete in font_manager.cpp (#2703)
Fix alloc-dealloc-mismatch (operator new [] vs operator delete
2022-01-03 12:52:53 -08:00
Raziel Alphadios 16ee93b88d
Change TTF init asserts to warns and add some details to the output (#2681)
Co-authored-by: Raziel Alphadios <raziely@gmail.com>
2021-12-08 14:27:13 -08:00
Бранимир Караџић 8392a44b3a Fixed assert macros, and improved error handling. 2021-10-25 18:59:32 -07:00
Branimir Karadžić f569fe32a6 Rebuilt all embedded shaders. 2021-06-06 14:51:46 -07:00
Branimir Karadžić 35b7bacfb9 Rebuilt embedded shaders. 2021-02-25 19:33:34 -08:00
Бранимир Караџић af49c5d264 Happy New Year! 2021-01-14 15:53:49 -08:00
Бранимир Караџић 2427d870d0 Cleanup. 2020-12-13 17:04:55 -08:00
Josh Jensen c103383f6f
Add SDF font outlines, drop shadows, and image glyphs (#2325)
* Implement SDF font outlines, drop shadows, and image glyphs

* Update 11-fontsdf to showcase the SDF outlines, drop shadows, and image glyphs

Co-authored-by: Josh Jensen <josh@everrush.com>
2020-12-13 17:02:36 -08:00
Cedric Guillemet e06dd2435e
gcc fix warning (#2295)
error: extra ‘;’ [-Werror=pedantic]
2020-10-23 07:44:18 -07:00
Branimir Karadžić 73508ac80f Fixed warnings. 2020-09-07 10:06:47 -07:00
云风 ecb0143a40
update sdf see #2193 (#2196) 2020-07-06 23:43:21 -07:00
Бранимир Караџић 7efb218fd1 Fixed issue #2192. 2020-07-03 00:07:46 -07:00
Бранимир Караџић 2cbcb6ea90 RRenamed BX_CHECK to BX_ASSERT. 2020-06-16 10:06:18 -07:00
Hugo Amnov 79321ffce2
Replace freetype with stb_truetype in font examples (#2139)
* Replace freetype with stb_truetype in font example

* Remove freetype
2020-05-10 17:44:14 -07:00
Hugo Amnov b48b084d25
Vulkan cleanup for Webgpu (#2127)
* Harmonize and simplify Vulkan SPIRV bindings mappings

* Handle Vulkan V-flip properly

* Update Embedded shaders
2020-05-03 13:54:30 -07:00
Бранимир Караџић b3d1460368 Cleanup. 2020-04-10 21:11:18 -07:00
Бранимир Караџић 82f56b5987 Happy New Year! 2020-01-14 21:37:06 -08: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
Бранимир Караџић 73362c3989 Rebuilt shaders. 2019-08-10 10:26:00 -07:00
Brian Richardson 650c1733be Tweak fs_font_basic shader to work on Raspberry Pi 3. (#1803)
DX shaders not updated because I'm not on Windows.
2019-07-12 21:53:12 -07:00
Бранимир Караџић ac8a686f6e Fixed issue #1681. 2019-03-08 07:53:15 -08:00
Branimir Karadžić b0f0514f86 Rebuilt embedded shaders. 2019-01-22 21:02:34 -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ć 83b1ece243 Rebuilt shaders. 2018-09-19 20:35:53 -07:00
Branimir Karadžić 9da45ed78c Renamed bgfx::updateDynamic* to just bgfx::update. 2018-06-09 17:29:00 -07:00
Branimir Karadžić 0c405fc256 shaderc: Fixed SPIRV uniform offsets. 2018-04-14 10:30:00 -07:00
Branimir Karadžić 45918a4e81 Updated shaders. 2018-04-12 20:45:33 -07:00
Branimir Karadžić ab46f3f353 Rebuild embedded shaders. 2018-04-11 21:14:22 -07:00
Branimir Karadžić 5ecd605107 Updated shaders. 2018-03-17 21:56:54 -07:00
Branimir Karadžić 584b8b34f0 Added support for independent RGB channel write control. 2018-02-13 12:35:23 -08:00
Branimir Karadžić 49a75f2fb1 bx math API cleanup. 2018-01-13 15:33:50 -08:00
Branimir Karadžić e38c7bfaec Updated embedded shaders. 2018-01-13 11:55:27 -08:00
Branimir Karadžić 37949c91f1 Cleanup. 2018-01-03 23:35:42 -08:00
Branimir Karadžić f44c8e2b14 Happy New Year! 2018-01-01 11:16:06 -08:00
Branimir Karadžić 77c00da989 Changed API to use ViewId (uint16_t) instead of uint8_t. 2017-11-24 11:21:51 -08:00
Branimir Karadžić c6e5062067 Rebuilt shaders. 2017-10-01 23:08:08 -07:00
Branimir Karadžić 6dabea4ddc Updated embedded shaders. 2017-09-01 21:28:21 -07: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ć 236ef4b875 Fixed shader binary truncation. Issue #1170. 2017-06-20 20:34:41 -07:00
Branimir Karadžić 07d799f72e Renamed constants to new style. 2017-06-09 21:57:08 -07:00
Branimir Karadžić 68c6b46a65 Exposed vertex stream argument to API. 2017-05-14 11:48:59 -07:00
Branimir Karadžić 6e9e862565 Renaming string functions. 2017-04-16 21:56:17 -07:00