Major Vulkan performance improvement

This commit is contained in:
Jack Andersen 2018-05-27 11:35:58 -10:00
parent 5eea7f3d70
commit 7e45600bed
3 changed files with 9 additions and 1 deletions

View File

@ -15,6 +15,13 @@ public:
printf("%s %f\n", name, std::chrono::duration_cast<std::chrono::microseconds>( printf("%s %f\n", name, std::chrono::duration_cast<std::chrono::microseconds>(
std::chrono::steady_clock::now() - m_start).count() / 1000000.f); std::chrono::steady_clock::now() - m_start).count() / 1000000.f);
} }
void reportReset(const char* name)
{
std::chrono::steady_clock::time_point now = std::chrono::steady_clock::now();
printf("%s %f\n", name, std::chrono::duration_cast<std::chrono::microseconds>
(now - m_start).count() / 1000000.f);
m_start = now;
}
}; };
} }

View File

@ -958,6 +958,7 @@ bool CGameArea::Invalidate(CStateManager* mgr)
ClearTokenList(); ClearTokenList();
if (mgr) if (mgr)
mgr->AreaUnloaded(GetAreaId()); mgr->AreaUnloaded(GetAreaId());
return true; return true;
} }

2
hecl

@ -1 +1 @@
Subproject commit 72975a6186be4626cf8942122ad2f3669e80991d Subproject commit 48996c1548344834a7c3c0713c8b8c7f337fa73b