1
0
mirror of https://github.com/wolfpld/tracy.git synced 2025-03-20 07:40:02 +08:00

Push item visibility to Preprocess().

This commit is contained in:
Bartosz Taudul
2023-03-25 15:10:58 +01:00
parent 8c1b519fa1
commit 7ec68f8b52
4 changed files with 9 additions and 6 deletions
+1 -1
View File
@@ -24,7 +24,7 @@ public:
void Draw( bool firstFrame, const TimelineContext& ctx, int yOffset );
bool WantPreprocess() const { return m_wantPreprocess; }
virtual void Preprocess( const TimelineContext& ctx, TaskDispatch& td ) { assert( false ); }
virtual void Preprocess( const TimelineContext& ctx, TaskDispatch& td, bool visible ) { assert( false ); }
void VisibilityCheckbox();
virtual void SetVisible( bool visible ) { m_visible = visible; }