wolfpld / tracy

Frame profiler
https://tracy.nereid.pl/
Other
9.89k stars 658 forks source link

Moved methods into public scope and add GetQueryPool() method to enable use of the VkCtx directly rather than just from VkCtxScope #695

Closed robertosfield closed 9 months ago

robertosfield commented 9 months ago

To support loosely coupled integration of the VulkanSceneGraph with Tracy I had to move the VkCtx::NextQueryId() and GetId() from private to public scope, and add a VkCtx::GetQueryPool(). This change makes it possible to use the VkCtx without going via VkCtxScope and associated macros.

If these changes are deemed suitable and are merged then I can tell the VulkanSceneGraph community to just use tracy master rather than my fork's VkCtx_public_methods branch.