- 11 Apr, 2024 9 commits
-
-
Zhiyi Zhang authored
Fix errors such as GL_FRAMEBUFFER_UNDEFINED and GL_INVALID_FRAMEBUFFER_OPERATION for OpenGL functions when the default framebuffer 0 is bound on macOS. These errors happen because the NSOpenGLContext doesn't have a view bound at the time of an OpenGL call. The view could not be set for the NSOpenGLContext because the window or view can still be invisible. Setting an invisible view for the NSOpenGLContext can generate invalid drawable messages as 682ed910 has shown. Thus setting the view could be deferred because the NSOpenGLContext needs a visible view. However, right after the window becomes visible, an OpenGL function that involves the default framebuffer can be called. And when the view is still not set at the time of the OpenGL call, errors such as GL_FRAMEBUFFER_UNDEFINED and GL_INVALID_FRAMEBUFFER_OPERATION could happen and result in rendering errors such as black screen. So we need to set the view for the NSOpenGLContext as soon as the view becomes visible. It's possible that the window and view are still invisible when OpenGL functions involving the default framebuffer get called. In such cases, I think errors like GL_FRAMEBUFFER_UNDEFINED are justified on macOS. Fix Active Trader Pro black screen at launch on macOS. The application creates a d3d9 device with an invisible window. And then it shows the window before calling d3d9_swapchain_Present(). So all the [NSOpenGLContext setView] opportunities are missed and no view is set. Then when glBlitFramebuffer() gets called, GL_FRAMEBUFFER_UNDEFINED happens and so nothing is rendered. The application only renders one frame before login so the window remains black.
-
Zhiyi Zhang authored
-
Rémi Bernon authored
-
Rémi Bernon authored
-
Rémi Bernon authored
-
Rémi Bernon authored
-
Rémi Bernon authored
-
Rémi Bernon authored
-
Rémi Bernon authored
-
- 09 Apr, 2024 31 commits
-
-
Jacek Caban authored
-
Jacek Caban authored
-
Jacek Caban authored
-
Paul Gofman authored
-
Sam Joan Roque-Worcel authored
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=54759
-
Mohamad Al-Jaf authored
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=56536
-
Nikolay Sivov authored
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
-
Nikolay Sivov authored
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
-
Nikolay Sivov authored
Found this after seeing test crashes caused by writing to adjacent stack memory, corrupting it. Happened with "size + 1" tests. Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
-
Rémi Bernon authored
-
Rémi Bernon authored
-
Rémi Bernon authored
-
Rémi Bernon authored
-
Rémi Bernon authored
-
Rémi Bernon authored
-
Rémi Bernon authored
-
Dmitry Timoshkov authored
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
-
Dmitry Timoshkov authored
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
-
Dmitry Timoshkov authored
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
-
Dmitry Timoshkov authored
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
-
Brendan Shanks authored
-
Paul Gofman authored
-
Paul Gofman authored
-
Paul Gofman authored
-
Paul Gofman authored
-
Paul Gofman authored
-
Hans Leidekker authored
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=56493
-
Hans Leidekker authored
-
Hans Leidekker authored
Wine starts processes non-elevated since e92ba2de which means that many tests are skipped now.
-
Hans Leidekker authored
-
Rémi Bernon authored
-