[Git][wine/wine][master] wined3d/gl: Only check GL context when accessing onscreen resources.
"Alexandre Julliard (@julliard) via Wine-commits" <[email protected]> Mon, 22 Dec 2025 16:58:56 -0600
| Newsgroups | gmane.comp.emulators.wine.cvs |
|---|---|
| Message-ID | <[email protected]> |
Alexandre Julliard pushed to branch master at wine / wine Commits: 80a14c2a by Matteo Bruni at 2025-12-22T13:12:14+01:00 wined3d/gl: Only check GL context when accessing onscreen resources. Checking every time the GL context is acquired is a lot. We could do something more fancy (e.g. checking in TestCooperativeLevel() and such) but I don't think it's worth it. This avoids frequent GetDC() calls, which introduce significant locking overhead. - - - - - 1 changed file: - dlls/wined3d/context_gl.c View it on GitLab: https://gitlab.winehq.org/wine/wine/-/commit/80a14c2a04952ee667c0904cea77f2e22b029bfc -- View it on GitLab: https://gitlab.winehq.org/wine/wine/-/commit/80a14c2a04952ee667c0904cea77f2e22b029bfc You're receiving this email because of your account on gitlab.winehq.org.