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

Calculate which CPU zones to draw beforehand.

This commit is contained in:
Bartosz Taudul
2023-03-19 16:11:18 +01:00
parent b4893fafb7
commit 1d7afbd07e
3 changed files with 207 additions and 1 deletions
+31
View File
@@ -0,0 +1,31 @@
#ifndef __TRACYTIMELINEDRAW_HPP__
#define __TRACYTIMELINEDRAW_HPP__
#include <stdint.h>
#include "TracyEvent.hpp"
#include "TracyShortPtr.hpp"
namespace tracy
{
enum class TimelineDrawType : uint8_t
{
Folded,
Zone,
GhostFolded,
Ghost
};
struct TimelineDraw
{
TimelineDrawType type;
uint16_t depth;
short_ptr<void*> ev;
Int48 rend;
int num;
};
}
#endif