mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-29 17:23:40 +01:00
Better debug vis for push pools
This commit is contained in:
1 parent
9fcd6d6612
commit
c8b25e50b0
3 files changed
+29
-31
No files matched your search
@@ -78,10 +78,10 @@ void DrawAllocatorVis(UIContext *ui, GPUInterface *gpu) {
|
||||
auto managers = GetActiveVulkanMemoryManagers();
|
||||
std::sort(managers.begin(), managers.end(), comparePushBufferNames);
|
||||
|
||||
char buffer[512];
|
||||
for (auto manager : managers) {
|
||||
str << " " << manager->Name() << " "
|
||||
<< NiceSizeFormat(manager->GetTotalCapacity()) << ", used: "
|
||||
<< NiceSizeFormat(manager->GetTotalSize()) << std::endl;
|
||||
manager->GetDebugString(buffer, sizeof(buffer));
|
||||
str << " " << buffer << std::endl;
|
||||
}
|
||||
|
||||
const int padding = 10 + System_GetPropertyFloat(SYSPROP_DISPLAY_SAFE_INSET_LEFT);
|
||||
|
||||
Reference in new issue
Block a user