Exposed internal profiler callbacks.

This commit is contained in:
Branimir Karadžić
2017-10-06 18:07:40 -07:00
parent c0cf48425d
commit 4cdab3e971
6 changed files with 143 additions and 32 deletions

View File

@@ -112,6 +112,18 @@ struct BgfxCallback : public bgfx::CallbackI
bx::debugPrintfVargs(_format, _argList);
}
virtual void profilerBegin(const char* /*_name*/, uint32_t /*_abgr*/, const char* /*_filePath*/, uint16_t /*_line*/) override
{
}
virtual void profilerBeginLiteral(const char* /*_name*/, uint32_t /*_abgr*/, const char* /*_filePath*/, uint16_t /*_line*/) override
{
}
virtual void profilerEnd() override
{
}
virtual uint32_t cacheReadSize(uint64_t _id) override
{
char filePath[256];