26 Jun
2022
26 Jun
'22
8:32 a.m.
On Tue Jun 21 08:01:58 2022 +0000, Matteo Bruni wrote:
Have you thought about merging the two thread functions into one? They basically do the exact same thing except for the d3dx functions they call and the queue / counter / lock they work on. The generic thread function could take a "role" parameter and key the stage-specific behavior off of it. I haven't actually tried the idea, it might be too confusing and not be worth it. I think it makes the code much harder to read. While the functions are similar there are many minor differences.
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/272#note_2717