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:
@@ -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
|
||||
Reference in New Issue
Block a user