* Fix error in dynamic version of D bindings
Dazed and confused but trying to continue
* Fix dispatch_indirect still using uint16_t in bgfx.idl
* D bindings: Mark enum conv. functions `nothrow @nogc pure @safe`
* D bindings: Fix a casing error
* Fix error in dynamic version of D bindings
Dazed and confused but trying to continue
* Fix dispatch_indirect still using uint16_t in bgfx.idl
* D bindings: Mark enum conv. functions `nothrow @nogc pure @safe`
* 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
* 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.
* 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
* Added shaderc default defines to docs
* Update tools.rst
* Update tools.rst
* WIP new D bindings
* New bindings "nearly done"
* More unfinished changes
* Nearly done; ctors still don't work
* Bindings auto-generation is done
* New auto-generated D bindings
* Reduced D bindings file count back to 2
---------
Co-authored-by: Бранимир Караџић <branimirkaradzic@gmail.com>
* Add support for remaining unsupported ASTC formats
Add new ASTC formats into pixelformats example and ninja scripts
Rebuild ASTC textures
* Update idl and generate
Move comma in pixelformats
Co-authored-by: Raziel Alphadios <raziely@gmail.com>
* Add 'frameNumber' to Frame struct
Previously, the frame number returned from bgfx::frame() was tracked separately in the Context. Now,
we store that information in the Frame. This will allow us to attach the frame number to ViewStats.
* Add frame number to ViewStats
When ViewStats are enabled, we tag each timer query with the current frame number, then include
that information in the final results. In this way, clients can correlate specific work that they
submitted to specific GPU timing information.
NOTE: Some backends not implemented, yet. They will always have 0 for frame number.
The ones which are implemented are:
* OpenGL
* Vulkan
* D3D 9,11,12
* Noop
* Add indirect draw with indirect count (BGFX_CAPS_DRAW_INDIRECT_COUNT)
* Update bindings
* VK: Add support for BGFX_CAPS_DRAW_INDIRECT_COUNT
* D3D12: Add support for BGFX_CAPS_DRAW_INDIRECT_COUNT
* GL: Add support for BGFX_CAPS_DRAW_INDIRECT_COUNT
* 48-drawindirect: Use BGFX_CAPS_DRAW_INDIRECT_COUNT if available
* 48-drawindirect: Update shaders
Current docs are a little ambiguous with the term "profiling"; sometimes it means
bgfx::CallbackI functions, and sometimes per-view stats collection. This makes it a little clearer.