mirror of
https://github.com/wolfpld/tracy
synced 2025-04-29 12:23:53 +00:00
Make View::Vis() public.
This commit is contained in:
parent
6e815d13a0
commit
d737b911e9
@ -126,6 +126,13 @@ public:
|
||||
|
||||
const MessageData* GetMessageHighlight() const { return m_msgHighlight; }
|
||||
|
||||
tracy_force_inline bool& Vis( const void* ptr )
|
||||
{
|
||||
auto it = m_visMap.find( ptr );
|
||||
if( it == m_visMap.end() ) it = m_visMap.emplace( ptr, true ).first;
|
||||
return it->second;
|
||||
}
|
||||
|
||||
void HighlightThread( uint64_t thread );
|
||||
void ZoomToRange( int64_t start, int64_t end, bool pause = true );
|
||||
bool DrawPlot( const TimelineContext& ctx, PlotData& plot, int& offset );
|
||||
@ -396,13 +403,6 @@ private:
|
||||
static const char* DecodeContextSwitchReason( uint8_t reason );
|
||||
static const char* DecodeContextSwitchReasonCode( uint8_t reason );
|
||||
|
||||
tracy_force_inline bool& Vis( const void* ptr )
|
||||
{
|
||||
auto it = m_visMap.find( ptr );
|
||||
if( it == m_visMap.end() ) it = m_visMap.emplace( ptr, true ).first;
|
||||
return it->second;
|
||||
}
|
||||
|
||||
Worker m_worker;
|
||||
std::string m_filename, m_filenameStaging;
|
||||
bool m_staticView;
|
||||
|
Loading…
x
Reference in New Issue
Block a user