[PATCH v2 7/7] wined3d: Try to allocate new Vulkan BOs from the client thread for DISCARD maps.

Henri Verbeet hverbeet at gmail.com
Thu Nov 4 10:43:37 CDT 2021


On Thu, 4 Nov 2021 at 16:31, Zebediah Figura <zfigura at codeweavers.com> wrote:
> That one occurred to me as well. (I wasn't sure if there was a reason it
> wasn't done like that in the first place. Not that wined3d_bo_vk and
> wined3d_bo_gl used to have anything in common, but at least "void *"
> would have made more sense...)
>
It evolved from being a GLuint containing a GL buffer object id. When
the wined3d_bo_vk structure was originally introduced, that changed to
being a uintptr_t containing either a pointer to a wined3d_bo_vk
structure or a GL buffer object id. The wined3d_bo_gl structure is a
bit more recent still, and not all of the consequences from
introducing that have entirely settled yet.



More information about the wine-devel mailing list