On Sun Aug 18 11:58:27 2024 +0000, Rémi Bernon wrote:
This is doing too many different things and is getting quite complicated. It would be better to have different helpers to create different kind of surfaces, and move the destruction to the callers (which would save the need for UWS_FORCE_CREATE).
I haven't made changes explicitly in this direction in v4 (although the code became a bit simpler because of the other changes). However, I have experimented a bit and pushed a WIP commit (the last one) at https://gitlab.winehq.org/afrantzis/wine/-/commits/wip/child-accel-rendering.... If you like the direction in that commit or you have some other ideas I can work on incorporating these in the next MR revision.