mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-09-13 01:05:44 +00:00
Add Superluminal PerformanceAPI annotation support
This commit is contained in:
@@ -34,6 +34,7 @@
|
||||
#include "miniz/miniz.h"
|
||||
#include "replay/replay_driver.h"
|
||||
#include "strings/string_utils.h"
|
||||
#include "superluminal/superluminal.h"
|
||||
|
||||
// these entry points are for the replay/analysis side - not for the application.
|
||||
|
||||
@@ -984,3 +985,13 @@ extern "C" RENDERDOC_API int RENDERDOC_CC RENDERDOC_RunFunctionalTests(int pytho
|
||||
|
||||
return mainFunc((int)wideArgStrings.size(), wideArgStrings.data());
|
||||
}
|
||||
|
||||
extern "C" RENDERDOC_API void RENDERDOC_CC RENDERDOC_BeginProfileRegion(const rdcstr &name)
|
||||
{
|
||||
Superluminal::BeginProfileRange(name);
|
||||
}
|
||||
|
||||
extern "C" RENDERDOC_API void RENDERDOC_CC RENDERDOC_EndProfileRegion()
|
||||
{
|
||||
Superluminal::EndProfileRange();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user