mirror of
https://github.com/wolfpld/tracy
synced 2025-04-29 12:23:53 +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; }
|
const ViewData& GetViewData() const { return m_vd; }
|
||||||
|
|
||||||
ShortenName GetShortenName() const { return m_shortenName; }
|
ShortenName GetShortenName() const { return m_shortenName; }
|
||||||
|
int GetNextGpuIdx() { return m_gpuIdx++; }
|
||||||
|
|
||||||
void HighlightThread( uint64_t thread );
|
void HighlightThread( uint64_t thread );
|
||||||
void ZoomToRange( int64_t start, int64_t end, bool pause = true );
|
void ZoomToRange( int64_t start, int64_t end, bool pause = true );
|
||||||
@ -559,6 +560,8 @@ private:
|
|||||||
|
|
||||||
void(*m_cbMainThread)(std::function<void()>, bool);
|
void(*m_cbMainThread)(std::function<void()>, bool);
|
||||||
|
|
||||||
|
int m_gpuIdx = 0;
|
||||||
|
|
||||||
struct FindZone {
|
struct FindZone {
|
||||||
enum : uint64_t { Unselected = std::numeric_limits<uint64_t>::max() - 1 };
|
enum : uint64_t { Unselected = std::numeric_limits<uint64_t>::max() - 1 };
|
||||||
enum class GroupBy : int { Thread, UserText, ZoneName, Callstack, Parent, NoGrouping };
|
enum class GroupBy : int { Thread, UserText, ZoneName, Callstack, Parent, NoGrouping };
|
||||||
|
Loading…
x
Reference in New Issue
Block a user