1
0
mirror of https://github.com/wolfpld/tracy.git synced 2025-03-20 07:40:02 +08:00

Move list of Tracy stack frames to a separate file.

This commit is contained in:
Bartosz Taudul
2020-10-06 14:37:39 +02:00
parent 3b84324259
commit c9b64ef5c5
5 changed files with 44 additions and 18 deletions
+1 -18
View File
@@ -36,6 +36,7 @@
#include "TracyPrint.hpp"
#include "TracySort.hpp"
#include "TracySourceView.hpp"
#include "TracyStackFrames.hpp"
#include "TracyView.hpp"
#include "../imgui/imgui_internal.h"
@@ -55,24 +56,6 @@ namespace tracy
static double s_time = 0;
constexpr const char* s_tracyStackFrames[] = {
"tracy::Callstack",
"tracy::Callstack(int)",
"tracy::GpuCtxScope::{ctor}",
"tracy::Profiler::SendCallstack",
"tracy::Profiler::SendCallstack(int)",
"tracy::Profiler::SendCallstack(int, unsigned long)",
"tracy::Profiler::MemAllocCallstack",
"tracy::Profiler::MemAllocCallstack(void const*, unsigned long, int)",
"tracy::Profiler::MemFreeCallstack",
"tracy::Profiler::MemFreeCallstack(void const*, int)",
"tracy::ScopedZone::{ctor}",
"tracy::ScopedZone::ScopedZone(tracy::SourceLocationData const*, int, bool)",
"tracy::CallTrace",
"tracy::Profiler::Message",
nullptr
};
constexpr const char* GpuContextNames[] = {
"Invalid",
"OpenGL",