On Thu, 16 Jun 2022 at 20:38, Zebediah Figura zfigura@codeweavers.com wrote:
On 6/16/22 05:01, Henri Verbeet wrote:
Right, that probably makes sense, although the implications for objects currently referenced by the command stream probably deserve a look.
Hmm, I don't see what you mean? Since the only parent op is currently the destruction callback, it can't be called until all references have been dropped, and it'd definitely be an error to call wined3d_resource_set_parent_ops() without holding a reference to the resource.
Oh, I just meant I'm waving my hand at that part and haven't thought that part through; it may very well be fine.