Skip to content

Commit

Permalink
Add CppCon 2023 video.
Browse files Browse the repository at this point in the history
  • Loading branch information
wolfpld committed Mar 7, 2024
1 parent 7d813ec commit c0789c2
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ Tracy supports profiling CPU (Direct support is provided for C, C++, and Lua int

![](doc/profiler3.png)

[An Introduction to Tracy Profiler in C++ - Marcos Slomp - CppCon 2023](https://youtu.be/ghXk3Bk5F2U?t=37)

[Introduction to Tracy Profiler v0.2](https://www.youtube.com/watch?v=fB5B46lbapc)
[New features in Tracy Profiler v0.3](https://www.youtube.com/watch?v=3SXpDpDh2Uo)
[New features in Tracy Profiler v0.4](https://www.youtube.com/watch?v=eAkgkaO8B9o)
Expand Down
21 changes: 21 additions & 0 deletions profiler/src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -513,6 +513,15 @@ static void UpdateBroadcastClients()
}
}

static void TextComment( const char* str )
{
ImGui::SameLine();
ImGui::PushFont( s_smallFont );
ImGui::AlignTextToFramePadding();
tracy::TextDisabledUnformatted( str );
ImGui::PopFont();
}

static void DrawContents()
{
static bool reconnect = false;
Expand Down Expand Up @@ -657,34 +666,46 @@ static void DrawContents()
tracy::OpenWebpage( "https://github.com/wolfpld/tracy" );
}
ImGui::Separator();
if( ImGui::Selectable( ICON_FA_VIDEO " An Introduction to Tracy Profiler in C++ - Marcos Slomp - CppCon 2023" ) )
{
tracy::OpenWebpage( "https://youtu.be/ghXk3Bk5F2U?t=37" );
}
ImGui::Separator();
if( ImGui::Selectable( ICON_FA_VIDEO " New features in v0.8" ) )
{
tracy::OpenWebpage( "https://www.youtube.com/watch?v=30wpRpHTTag" );
}
TextComment( "2022-03-28" );
if( ImGui::Selectable( ICON_FA_VIDEO " New features in v0.7" ) )
{
tracy::OpenWebpage( "https://www.youtube.com/watch?v=_hU7vw00MZ4" );
}
TextComment( "2020-06-11" );
if( ImGui::Selectable( ICON_FA_VIDEO " New features in v0.6" ) )
{
tracy::OpenWebpage( "https://www.youtube.com/watch?v=uJkrFgriuOo" );
}
TextComment( "2019-11-17" );
if( ImGui::Selectable( ICON_FA_VIDEO " New features in v0.5" ) )
{
tracy::OpenWebpage( "https://www.youtube.com/watch?v=P6E7qLMmzTQ" );
}
TextComment( "2019-08-10" );
if( ImGui::Selectable( ICON_FA_VIDEO " New features in v0.4" ) )
{
tracy::OpenWebpage( "https://www.youtube.com/watch?v=eAkgkaO8B9o" );
}
TextComment( "2018-10-09" );
if( ImGui::Selectable( ICON_FA_VIDEO " New features in v0.3" ) )
{
tracy::OpenWebpage( "https://www.youtube.com/watch?v=3SXpDpDh2Uo" );
}
TextComment( "2018-07-03" );
if( ImGui::Selectable( ICON_FA_VIDEO " Overview of v0.2" ) )
{
tracy::OpenWebpage( "https://www.youtube.com/watch?v=fB5B46lbapc" );
}
TextComment( "2018-03-25" );
ImGui::EndPopup();
}
ImGui::SameLine();
Expand Down

0 comments on commit c0789c2

Please sign in to comment.