mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-27 00:04:35 +00:00
Display waiting dots in find zone menu during precompute.
This commit is contained in:
parent
d5914d2e7b
commit
f2f19241e6
@ -42,6 +42,8 @@
|
|||||||
namespace tracy
|
namespace tracy
|
||||||
{
|
{
|
||||||
|
|
||||||
|
static double s_time = 0;
|
||||||
|
|
||||||
static const char* s_tracyStackFrames[] = {
|
static const char* s_tracyStackFrames[] = {
|
||||||
"tracy::Callstack",
|
"tracy::Callstack",
|
||||||
"tracy::GpuCtxScope::{ctor}",
|
"tracy::GpuCtxScope::{ctor}",
|
||||||
@ -5627,6 +5629,8 @@ void View::DrawFindZone()
|
|||||||
if( !m_worker.AreSourceLocationZonesReady() )
|
if( !m_worker.AreSourceLocationZonesReady() )
|
||||||
{
|
{
|
||||||
ImGui::TextWrapped( "Please wait, computing data..." );
|
ImGui::TextWrapped( "Please wait, computing data..." );
|
||||||
|
s_time += ImGui::GetIO().DeltaTime;
|
||||||
|
DrawWaitingDots( s_time );
|
||||||
ImGui::End();
|
ImGui::End();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user