Generate random names for new annotations.

This commit is contained in:
Bartosz Taudul
2026-06-09 23:24:58 +02:00
parent 4a8fe6f56e
commit feb4e7c989

View File

@@ -1,4 +1,5 @@
#include "TracyImGui.hpp"
#include "TracyNameGen.hpp"
#include "TracyPrint.hpp"
#include "TracyView.hpp"
#include "tracy_pdqsort.h"
@@ -10,6 +11,7 @@ namespace tracy
void View::AddAnnotation( int64_t start, int64_t end )
{
auto ann = std::make_shared<Annotation>();
ann->text = GenerateAbstractName();
ann->range.active = true;
ann->range.min = start;
ann->range.max = end;