[TEST] Keep tuning the drain/ memory allocation

This commit is contained in:
CamilleLaVey
2026-07-28 00:06:09 -04:00
parent f649730cb1
commit 7f4529b15d
6 changed files with 38 additions and 4 deletions
@@ -142,6 +142,10 @@ public:
return GetDeviceMemoryUsage();
}
bool CanReportAllocationUsage() const {
return device.CanReportMemoryUsage();
}
void BindFastUniformBuffer(size_t stage, u32 binding_index, u32 size) {
const GLuint handle = fast_uniforms[stage][binding_index].handle;
const GLsizeiptr gl_size = static_cast<GLsizeiptr>(size);
@@ -91,6 +91,10 @@ public:
return GetDeviceMemoryUsage();
}
bool CanReportAllocationUsage() const {
return device.CanReportMemoryUsage();
}
bool CanReportMemoryUsage() const {
return device.CanReportMemoryUsage();
}