mirror of
https://github.com/wolfpld/tracy
synced 2025-04-29 04:23:51 +00:00
Manage GPU index counter in View.
This commit is contained in:
parent
2711af39e5
commit
ec3e88ce53
@ -112,6 +112,7 @@ public:
|
||||
const ViewData& GetViewData() const { return m_vd; }
|
||||
|
||||
ShortenName GetShortenName() const { return m_shortenName; }
|
||||
int GetNextGpuIdx() { return m_gpuIdx++; }
|
||||
|
||||
void HighlightThread( uint64_t thread );
|
||||
void ZoomToRange( int64_t start, int64_t end, bool pause = true );
|
||||
@ -559,6 +560,8 @@ private:
|
||||
|
||||
void(*m_cbMainThread)(std::function<void()>, bool);
|
||||
|
||||
int m_gpuIdx = 0;
|
||||
|
||||
struct FindZone {
|
||||
enum : uint64_t { Unselected = std::numeric_limits<uint64_t>::max() - 1 };
|
||||
enum class GroupBy : int { Thread, UserText, ZoneName, Callstack, Parent, NoGrouping };
|
||||
|
Loading…
x
Reference in New Issue
Block a user