Commit graph

170416 commits

Author SHA1 Message Date
Fabian Maurer 72987ffc66 imm32: Add CtfImmIsCiceroEnabled stub.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=56538
2024-04-11 09:02:39 -05:00
Nikolay Sivov 89111704a5 d2d1: Fix GetPropertyNameLength() return value.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2024-04-11 09:00:45 -05:00
Nikolay Sivov d05cfdd777 d2d1/effect: Add 'Rect' property to the Crop effect description.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2024-04-11 09:00:44 -05:00
Nikolay Sivov ce3d3f751a d2d1: Implement GetEffectProperties().
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2024-04-11 09:00:44 -05:00
Zhiyi Zhang ceefcca7ad winemac.drv: Update OpenGL context immediately after the window content view is visible.
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.
2024-04-11 09:00:34 -05:00
Zhiyi Zhang 1cbc85c436 opengl32/tests: Add default framebuffer tests. 2024-04-11 09:00:34 -05:00
Rémi Bernon b395d9ec9f winevulkan: Remove now unnecessary vkCreateSwapchainKHR driver entry. 2024-04-11 09:00:10 -05:00
Rémi Bernon 381125f749 winevulkan: Remove now unnecessary vkDestroySwapchain driver entry. 2024-04-11 09:00:07 -05:00
Rémi Bernon fa48563ba8 win32u: Move vkQueuePresent implementation out of the user drivers. 2024-04-11 09:00:07 -05:00
Rémi Bernon cde2c08e63 winewayland: Remove now unnecessary swapchain wrapper. 2024-04-11 09:00:07 -05:00
Rémi Bernon 7bab2b6c37 winewayland: Remove now unnecessary swapchain extents checks. 2024-04-11 09:00:07 -05:00
Rémi Bernon 01386ca7e9 win32u: Introduce a new vulkan_surface_presented driver entry. 2024-04-11 09:00:07 -05:00
Rémi Bernon d2892d352d winevulkan: Pass surface info for each vkQueuePresent swapchain to win32u. 2024-04-11 09:00:03 -05:00
Jacek Caban 00198c4084 winegcc: Add -marm64x option for linking ARM64X images. 2024-04-09 12:07:27 -05:00
Jacek Caban 753f405536 winegcc: Pass target and resources as arguments to build_spec_obj. 2024-04-09 12:07:27 -05:00
Jacek Caban 4243befce5 winebuild: Add -marm64x option for generating hybrid ARM64X import libraries. 2024-04-09 12:07:26 -05:00
Paul Gofman 6ad6064839 winegstreamer: Try to handle broken IStream_Stat implementation in WM reader OpenStream(). 2024-04-09 08:31:12 -05:00
Sam Joan Roque-Worcel 939b3d1931 win32u: Make SCROLL_MIN_THUMB larger.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=54759
2024-04-09 08:30:51 -05:00
Mohamad Al-Jaf b17ef15e12 windows.ui: Return success in IInputPane2::TryShow().
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=56536
2024-04-09 08:29:34 -05:00
Nikolay Sivov 0a9f2494df d2d1/effect: Make it possible to set render info for draw-transform nodes.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2024-04-09 08:29:21 -05:00
Nikolay Sivov d0b4040521 d2d1/tests: Use distinct types for vector and matrix values.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2024-04-09 08:29:21 -05:00
Nikolay Sivov 88af1e5b9e d2d1/effect: Zero value buffer on size or type mismatch.
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>
2024-04-09 08:29:19 -05:00
Rémi Bernon a0ace8f09f winevulkan: Remove unnecessary vkGetSwapchainImagesKHR driver entry. 2024-04-09 08:29:11 -05:00
Rémi Bernon e9200b1837 winevulkan: Return VK_SUBOPTIMAL_KHR from vkAcquireNextImage(2)KHR after resize. 2024-04-09 08:29:09 -05:00
Rémi Bernon 010b497cf6 winevulkan: Return VK_SUBOPTIMAL_KHR from vkQueuePresentKHR after resize. 2024-04-09 08:29:09 -05:00
Rémi Bernon 551b535cdd winevulkan: Move vkQueuePresent FPS trace out of the drivers. 2024-04-09 08:29:09 -05:00
Rémi Bernon de4edeaa24 winevulkan: Add a manual vkQueuePresent wrapper. 2024-04-09 08:29:07 -05:00
Rémi Bernon fa23650ff2 mfmediaengine: Allow decoder / converter to be resolved between topology nodes. 2024-04-09 08:28:58 -05:00
Rémi Bernon a9871e4ad1 mfmediaengine/tests: Test that effects allow converters between them. 2024-04-09 08:28:58 -05:00
Dmitry Timoshkov 1d0eb24ce1 widl: Add support for inherited interfaces to SLTG typelib generator.
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
2024-04-09 08:28:46 -05:00
Dmitry Timoshkov 7db6c30aea widl: Add support for interfaces to SLTG typelib generator.
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
2024-04-09 08:28:46 -05:00
Dmitry Timoshkov 61583ec2cd widl: Add support for recursive type references to SLTG typelib generator.
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
2024-04-09 08:27:56 -05:00
Dmitry Timoshkov b8921b414e widl: In old style typelibs all types are public.
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
2024-04-09 08:27:56 -05:00
Brendan Shanks a630b125ef winecoreaudio: Correctly handle devices whose UID contains non-ASCII characters. 2024-04-09 08:27:25 -05:00
Paul Gofman 14a51fa446 ntdll: Preserve untouched parts of xstate in set_thread_wow64_context(). 2024-04-09 08:27:01 -05:00
Paul Gofman 34e49897a3 wow64: Support generic xstate in call_user_exception_dispatcher(). 2024-04-09 08:27:01 -05:00
Paul Gofman ff97d3976e winhttp: Do not cache connection if suggested by request headers. 2024-04-09 08:26:03 -05:00
Paul Gofman 11b8243f06 winhttp/tests: Add some tests for actual connection caching. 2024-04-09 08:26:03 -05:00
Paul Gofman 5f93179744 winhttp: Set actual default receive response timeout to 21sec. 2024-04-09 08:26:03 -05:00
Hans Leidekker 7f0ca9c284 msi: Install global assemblies before running deferred custom actions.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=56493
2024-04-09 08:25:58 -05:00
Hans Leidekker 738ec82855 msi/tests: Get rid of workarounds for old Windows versions. 2024-04-09 08:25:49 -05:00
Hans Leidekker a6eb51f0e5 msi/tests: Try restarting tests elevated.
Wine starts processes non-elevated since e92ba2de43
which means that many tests are skipped now.
2024-04-09 08:25:46 -05:00
Hans Leidekker b3f11ceb7a msi/tests: Use the helpers from utils.h in more modules. 2024-04-09 08:25:46 -05:00
Rémi Bernon c1fb54adde mf/tests: Test device manager handling in the topology loader. 2024-04-09 08:25:18 -05:00
Rémi Bernon b0935b9291 mf/tests: Test D3D awareness handling in the topology loader. 2024-04-09 08:25:18 -05:00
Rémi Bernon 120f870a76 mf/tests: Split topology loader tests to a new file. 2024-04-09 08:25:18 -05:00
Rémi Bernon dcab600eef mf/tests: Fix printf format warning. 2024-04-09 08:25:18 -05:00
Rémi Bernon c43655d8ed include: Add MFTOPOLOGY_DXVA_MODE enum definition. 2024-04-09 08:25:16 -05:00
Alexandre Julliard 8a3b0d7bc3 Release 9.6. 2024-04-05 19:03:05 +02:00
Rémi Bernon 28cf663e2b winex11: Introduce a new attach_client_window helper. 2024-04-05 16:16:58 +02:00