gpu-allocator icon indicating copy to clipboard operation
gpu-allocator copied to clipboard

Deduplicate code in visualizer

Open manon-traverse opened this issue 4 years ago • 2 comments

The visualizer code is very low quality at the moment. There is lots of duplication between the D3D12 and Vulkan variants. We should unify these more.

manon-traverse avatar Sep 07 '21 09:09 manon-traverse

@tosti007 it looks like you did exactly this in #176? Can we link the PR and close this?

MarijnS95 avatar Oct 04 '23 14:10 MarijnS95

Not fully, there's still some duplicated code, but solving that requires a larger overhaul regarding how the visualizations are done. I think the way forward would be to define some "output stats sctructs" that you can obtain from the allocator, which can then be passed into a single shared visualizer.

tosti007 avatar Oct 04 '23 14:10 tosti007