[PATCH vkd3d v2] vkd3d: Add an optional memory info callback extension.
Henri Verbeet
hverbeet at gmail.com
Fri Nov 15 12:56:31 CST 2019
On Thu, 14 Nov 2019 at 17:14, Conor McCarthy <cmccarthy at 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.
More information about the wine-devel
mailing list