* Reformatted comments; fixed a couple of oversights
* D bindings: deterministic sub-struct order
* Added missing default to IDL
* Fixed sub-struct linkage; regenerate D binds
* Culled D bindings for header-only C++ functions
* Added missing default to bgfx.idl
* cppinline now supported by all auto-gen bindings
The pattern "func.cppinline and not func.conly" is to make sure that C bindings for `bgfx_vertex_layout_has` are still generated.
* Fix mangling issue; use updated BindBC-Common API
* Add missing default to setTransform in IDL
* Fix erroneous generation of `uc_int64`
Non-deterministic ordering of hash-maps were the culprit all along!
* Add missing default to overrideInternal IDL & re-generate
* Reformatted comments; fixed a couple of oversights
* D bindings: deterministic sub-struct order
* Added missing default to IDL
* Fixed sub-struct linkage; regenerate D binds
* Culled D bindings for header-only C++ functions
* Added missing default to bgfx.idl
* cppinline now supported by all auto-gen bindings
The pattern "func.cppinline and not func.conly" is to make sure that C bindings for `bgfx_vertex_layout_has` are still generated.
* Fix mangling issue; use updated BindBC-Common API
* Fix D3D12 VBV reading size
When `stream.m_startVertex` is not 0 we target a position past the start of the buffer, so `BufferLocation + SizeInBytes` will be past the end of the buffer, which the debug layer will complaining about.
With this fix we're only creating a view for the part of the buffer we actually need to access.
* Reordered buffer size calculation.
---------
Co-authored-by: Бранимир Караџић <branimirkaradzic@gmail.com>
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.
* Fixed issue where printing profile names prints unreadable characters
* Use %S for StringLitera.
---------
Co-authored-by: Бранимир Караџић <branimirkaradzic@gmail.com>
The new Google Pixel 8 device supports maxTextureSize of 65535. The current implementation sets this value to 0 and lets crash my app. With the cast to uint32t the app works correctly again.
Fix access violation in headless mode during bgfx::shutdown().
This pointer is usually set by the SwapChainPanel which doesn't exist
in headless mode.
Co-authored-by: Yanna Kang <yaka@microsoft.com>
* Add linker options to add SONAME to the linked target so Android apps can dynamically resolve the library location from known locations (as opposed to a hard coded location often residing on the host cross compiling filesystem.
linked issue is,
https://github.com/bkaradzic/bgfx/pull/2176
* Kepp orginal code for linkoptions in the previous configuration block and add the additional linker flags for each Debug/Release configuration.
* Add comma character to EOL to match orginal code.