Re: [PATCH v6 0/3] MR9382: win32u: Keep internal pixel format and surfaces on the DCs.
19 Nov
2025
19 Nov
'25
6:58 p.m.
On Wed Nov 19 18:58:01 2025 +0000, Elizabeth Figura wrote:
Anyway, it's not needed anymore, I moved the cleanup to ReleaseDC, limited to the kind of DCs that wined3d uses, it should be good enough for now. Wait, does this mean we're destroying the drawable on every ReleaseDC() call? Isn't that going to kill performance? That's only the case for (D3D) drawables created from a `wglSetPixelFormatWINE` call, and they should be kept referenced as long as they are needed?
The window GL drawable(s) created with the window pixel format are kept with the window itself (at least we keep one unused around). -- https://gitlab.winehq.org/wine/wine/-/merge_requests/9382#note_122985
107
Age (days ago)
107
Last active (days ago)
0 comments
1 participants
participants (1)
-
Rémi Bernon