mirror of https://github.com/AxioDL/metaforce.git
Major Vulkan performance improvement
This commit is contained in:
parent
5eea7f3d70
commit
7e45600bed
|
@ -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;
|
||||||
|
}
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -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
2
hecl
|
@ -1 +1 @@
|
||||||
Subproject commit 72975a6186be4626cf8942122ad2f3669e80991d
|
Subproject commit 48996c1548344834a7c3c0713c8b8c7f337fa73b
|
Loading…
Reference in New Issue