Commit graph

17022 commits

Author SHA1 Message Date
Rémi Bernon 8d587a47eb win32u: Use a helper to set the window surface clipping, within the lock. 2024-05-30 19:53:21 +02:00
Rémi Bernon 7cdf20267c server: Merge get_surface_region / get_window_region requests together. 2024-05-30 19:53:21 +02:00
Rémi Bernon d2ad7c9374 win32u: Initialize window surfaces with a hwnd. 2024-05-30 19:52:59 +02:00
Vijay Kiran Kamuju 349c2275d4 ntdll: Add stub RtlLookupGenericTableAvl function.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=56736
2024-05-30 13:26:17 +02:00
Rémi Bernon 5d0efbcc6e win32u: Use a helper to flush window surface, factor locking and bounds reset. 2024-05-29 22:37:32 +02:00
Rémi Bernon 370966f51b win32u: Move window surface bounds to the window_surface base struct. 2024-05-29 22:27:39 +02:00
Rémi Bernon 1565d529ba win32u: Use helpers to lock/unlock window surfaces. 2024-05-29 22:27:39 +02:00
Rémi Bernon 00aec714dd win32u: Move the window surface mutex to the surface header. 2024-05-29 22:27:39 +02:00
Rémi Bernon ac63239cc0 win32u: Introduce a new window_surface_init helper. 2024-05-29 22:27:38 +02:00
Rémi Bernon a3b22d3bf7 win32u: Only keep DPI awareness context with window objects. 2024-05-28 20:45:11 +02:00
Rémi Bernon 37252fd505 win32u: Fix SetThreadDpiAwarenessContext. 2024-05-28 20:44:39 +02:00
Rémi Bernon dc05a4499e win32u: Pass the DPI awareness context in win_proc_params. 2024-05-28 20:44:39 +02:00
Rémi Bernon cda7027bc8 win32u: Get the thread DPI context instead of the awareness. 2024-05-28 20:44:39 +02:00
Rémi Bernon b3bec339d7 win32u: Use NtGdiDdDDICreateDCFromMemory for gdi16 DIBDRV.
Instead of a custom dib_window_surface.
2024-05-27 22:59:21 +02:00
Rémi Bernon b6223da118 win32u: Return UINT from NtUserGetWindowDpiAwarenessContext. 2024-05-27 22:59:21 +02:00
Rémi Bernon bcb33fd859 win32u: Use NtUserCallOnParam for SetThreadDpiAwarenessContext.
And an internal function call when possible.
2024-05-27 22:59:21 +02:00
Rémi Bernon 9f834614a9 user32: Test and implement GetDpiFromDpiAwarenessContext. 2024-05-27 22:59:21 +02:00
Rémi Bernon 04470e1eda win32u: Get rid of the UpdateDisplayDevices force parameter. 2024-05-27 13:11:36 +02:00
Rémi Bernon f7f213bdf8 win32u: Get rid of the drivers force_display_devices_refresh flag. 2024-05-27 13:11:36 +02:00
Alistair Leslie-Hughes ae6aa1c8a4 include: Add IFACEMETHOD macros. 2024-05-27 13:11:20 +02:00
Alistair Leslie-Hughes ccc803a06c include: Correct ListView_GetItemIndexRect macro. 2024-05-27 13:11:18 +02:00
Alistair Leslie-Hughes fc9fd3c5c3 include: Added sqlucode.h to sql.h. 2024-05-27 13:08:08 +02:00
Rémi Bernon 6ee5c60d5d win32u: Fix NtUserSetProcessDpiAwarenessContext. 2024-05-24 18:42:23 +02:00
Alexandre Julliard b9638ebc1c kernelbase: Fix the name of the default system locale. 2024-05-24 11:15:33 +02:00
Alistair Leslie-Hughes 77583eed19 include: Add C++ support for IUnknown. 2024-05-24 10:58:58 +02:00
Alistair Leslie-Hughes 5813a1fe23 include: Complete __wine_uuidof for C++.
/usr/local/include/wine/windows/guiddef.h:83:68: error: incomplete type ‘__wine_uuidof_type<IUnknown>::inst’ {aka ‘__wine_uuidof<IUnknown>’} used in nested name specifier
   83 | #define __uuidof(type) __wine_uuidof_type<__typeof__(type)>::inst::uuid
2024-05-24 10:58:58 +02:00
Jacek Caban 434702fdc9 ntdll: Use assembly wrapper for unixlib calls on ARM64EC.
Instead of using indirect C calls, which need to go through the call dispatcher.
2024-05-23 12:20:48 +02:00
Alexandre Julliard 127650c293 ntdll: Make __wine_unix_call() an inline function. 2024-05-23 12:20:48 +02:00
Rémi Bernon 1e21f30007 win32u: Query GPU memory from vulkan physical device. 2024-05-21 20:35:01 +02:00
Alexandros Frantzis 653f00cf3e opengl32: Remove the wglDescribePixelFormat driver entry point.
All drivers have now switched to the get_pixel_formats entry point.
2024-05-20 11:57:16 +02:00
Alistair Leslie-Hughes 849baece66 include: Add some D3D12_FEATURE_DATA_D3D12_OPTIONS* types. 2024-05-15 22:51:34 +02:00
Hans Leidekker af3a8fa27b odbc32: Don't load libodbc.so dynamically.
Implementations are guarded by native function pointer checks but all functions
have been present in libodbc for a very long time, so it doesn't appear to be
needed anymore.

The loading code checks the LIB_ODBC_DRIVER_MANAGER environment variable to
allow the user to override the system version of the library. This can be
achieved by other means, if it's still needed.
2024-05-14 18:18:52 +02:00
Hans Leidekker d206e3ab33 include: Add missing Unicode SQL function declarations. 2024-05-14 18:13:12 +02:00
Georg Lehmann 6d896d9be0 winevulkan: Update to VK spec version 1.3.285. 2024-05-12 16:33:19 +02:00
Rémi Bernon bf64ae2627 mfplat: Implement MFCreateVideoMediaType. 2024-05-12 16:32:25 +02:00
Rémi Bernon 9fac589765 mfplat: Implement MFInitMediaTypeFromMPEG2VideoInfo. 2024-05-12 16:32:24 +02:00
Rémi Bernon 8c77a1a099 mfplat: Implement MFInitMediaTypeFromMPEG1VideoInfo. 2024-05-12 16:32:23 +02:00
Paul Gofman 0884b503c9 win32u: Update last message time in NtUserGetRawInputBuffer(). 2024-05-12 16:31:50 +02:00
Daniel Lehman 243a014123 msvcrt/tests: Add tests for _wcsicmp_l. 2024-05-12 16:26:51 +02:00
Nikolay Sivov a1dadf3683 d2d1/effect: Fix GetImageLocalBounds() prototype.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2024-05-12 16:26:17 +02:00
Rémi Bernon 9c93676d0c win32u: Return STATUS_ALREADY_COMPLETE from UpdateDisplayDevices.
When no display cache update is needed.
2024-05-07 22:49:44 +02:00
Rémi Bernon d525da5907 win32u: Pass gdi_gpu structure members as add_gpu parameters. 2024-05-07 22:49:44 +02:00
Rémi Bernon 0300016ac5 win32u: Remove driver-specific id from struct gdi_gpu. 2024-05-07 22:49:44 +02:00
Rémi Bernon 62c60a9e10 win32u: Use struct pci_id in struct gdi_gpu. 2024-05-07 22:49:44 +02:00
Biswapriyo Nath 469a4837bc include: Avoid a C++ keyword.
This fixes the following C++ compiler error

mfmediaengine.h:1216:18: error: expected ',' or '...' before 'protected'
 1216 |            BOOL *protected) = 0;
      |                  ^~~~~~~~~
2024-05-06 22:20:24 +02:00
Rémi Bernon d519cf6ccc win32u: Move thread detach from winex11. 2024-05-01 22:33:53 +02:00
Rémi Bernon f30f8a4258 win32u: Return the host surface directly from vulkan_surface_create. 2024-05-01 22:33:04 +02:00
Paul Gofman aa122902a9 msvcrt: Implement _mbsncpy_s[_l](). 2024-05-01 22:31:43 +02:00
Paul Gofman deb273a926 ntdll: Implement NtQuerySystemInformation(SystemProcessIdInformation). 2024-05-01 16:54:00 +02:00
Kirill Zhumarin 898ab8dab1 ntdll: Use termios2 for serial when possible. 2024-04-30 22:32:51 +02:00