May 28, 2026
11:26 p.m.
So one thought I had about this is to replace the "is_root" flag with an "is_implicit" flag, somewhat analogous to how we have WINED3D_SWAPCHAIN_IMPLICIT for implicit swapchains in wined3d.
It might be a matter of taste, but I find this even less clear than the is_root/is_chain_start names... I'll think about it for a minute.
Better suggestions are always welcome, of course. :) The key point here though is that the main property we care about for "is_root"/"is_implicit" is whether the surface was directly created by the application, or internally by ddraw. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/10992#note_141624