On Thu, 14 Nov 2019 at 17:14, Conor McCarthy cmccarthy@codeweavers.com wrote:
+typedef void (STDMETHODCALLTYPE *PFN_vkd3d_memory_usage_callback)(IUnknown *adapter,
unsigned int non_local, UINT64 total, UINT64 usage);
+struct vkd3d_optional_device_callback_info +{
- enum vkd3d_structure_type type;
- const void *next;
- PFN_vkd3d_memory_usage_callback pfn_memory_usage_callback;
+};
Perhaps it makes sense to expose the totals in some form, but I'd argue that for wined3d the deltas would be more natural.