On Sat Nov 15 00:06:26 2025 +0000, Brendan Shanks wrote:
It's not really hurting anything, but since we're not creating a CGImage I don't think there's a need for this code and the CGDataProvider stuff any more. Without it, I'm not sure how we would set the `window_background` though. Maybe we just create the DIB like `window_surface_create()` would (`NtGdiCreateDIBSection( 0, NULL, 0, info, DIB_RGB_COLORS, 0, 0, 0, NULL )`), and then set the window_background there? I left things as is for now, but indeed I believe we don't need a `CGDataProvider` here as well (in an earlier prototype I also got rid of it, but I tried keeping the diff here small for now).
This can be simplified later probably... -- https://gitlab.winehq.org/wine/wine/-/merge_requests/7938#note_124675