2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-10 13:47:46 +00:00

Using optick, linked from boo

This commit is contained in:
Henrique Gemignani Passos Lima
2021-04-03 19:48:39 +03:00
committed by Luke Street
parent e3896bdee9
commit d6f19d26e7
25 changed files with 65 additions and 13 deletions

View File

@@ -3,6 +3,7 @@
#include <array>
#include <vector>
#include <chrono>
#include "optick.h"
#include "Runtime/RetroTypes.hpp"
@@ -438,7 +439,7 @@ public:
};
#define SCOPED_GRAPHICS_DEBUG_GROUP(...) GraphicsDebugGroup _GfxDbg_(__VA_ARGS__);
#else
#define SCOPED_GRAPHICS_DEBUG_GROUP(...)
#define SCOPED_GRAPHICS_DEBUG_GROUP(name, ...) OPTICK_EVENT_DYNAMIC(name)
#endif
} // namespace urde