Commit graph

169876 commits

Author SHA1 Message Date
Rémi Bernon 24ad74ee26 server: Send emulated mouse messages on primary pointer updates. 2024-03-06 19:20:09 +01:00
Rémi Bernon 40b65e28a7 server: Continuously send pointer update messages while it's down. 2024-03-06 19:20:09 +01:00
Rémi Bernon d8b8ac85eb server: Generate WM_POINTERENTER / WM_POINTERLEAVE messages. 2024-03-06 19:20:09 +01:00
Rémi Bernon 5b833c83be server: Stop waiting on LL-hooks for non-injected input. 2024-03-06 19:19:47 +01:00
Alexandros Frantzis 4bba16fd18 winewayland.drv: Handle resizing of OpenGL content.
Wayland surfaces don't have an inherent native size that the EGL
implementation can track, so we need to explicitly tell EGL about changes
in the native size with wl_egl_window_resize.

Since the resize can be triggered outside the GL render thread, and
wl_egl_window_resize is not thread safe (with respect to other EGL/GL
calls), we cannot call it directly at will. Instead we mark the
wayland_gl_drawable as resized, and actually call the
wl_egl_window_resize function from the thread in which the respective
drawable is current.

Note that the first EGL/GL operation that requires a new backbuffer
latches whatever native size we have reported, until the next
eglSwapBuffers. In order to ensure the current native size is applied as
soon as possible (to avoid glitches), we check for and apply resizes at
a few extra points where a new backbuffer may be required (e.g.,
glClear, eglMakeCurrent).
2024-03-06 19:12:18 +01:00
Alexandros Frantzis aed0c822f1 winewayland.drv: Implement wglSwapBuffers. 2024-03-06 19:12:16 +01:00
Alexandros Frantzis 075a0e2623 winewayland.drv: Implement wglMakeCurrent and wglMakeContextCurrentARB. 2024-03-06 19:12:14 +01:00
Alexandros Frantzis e8f7660c75 winewayland.drv: Implement OpenGL context creation.
Each WGL context is backed by a config-less EGL context. We require the
EGL_KHR_no_config_context extension.
2024-03-06 19:12:12 +01:00
Alexandros Frantzis e7ccb1480a winewayland.drv: Implement wglSetPixelFormat(WINE).
Introduce the internal wayland_gl_drawable object, which associates a
window (and its backing Wayland surface) with an EGL surface.
2024-03-06 19:12:08 +01:00
Alexandros Frantzis 825ec8c597 winewayland.drv: Implement wglDescribePixelFormat.
Create an array of supported EGLConfigs, and use this information to
populate the PIXELFORMATDESCRIPTOR.
2024-03-06 19:12:07 +01:00
Alexandros Frantzis d47220a23c winewayland.drv: Implement wglGetProcAddress. 2024-03-06 19:12:05 +01:00
Alexandros Frantzis e5d995d826 winewayland.drv: Implement wglGetExtensionsString{ARB,EXT}. 2024-03-06 19:12:03 +01:00
Alexandros Frantzis ea522c6135 winewayland.drv: Initialize core GL functions. 2024-03-06 19:12:01 +01:00
Alexandros Frantzis aaaac72fdb winewayland.drv: Add skeleton OpenGL driver.
The driver performs basic EGL initialization.
2024-03-06 19:11:56 +01:00
Rémi Bernon c0d0468da9 winex11: Select XI_Touch* input and translate it to WM_POINTER*. 2024-03-06 19:03:26 +01:00
Rémi Bernon 0f1322d2df winex11: Support XInput2 events on individual windows. 2024-03-06 19:03:26 +01:00
Hans Leidekker e7ff2688c8 wbemprox: Use separate critical sections for tables and table list. 2024-03-06 19:03:11 +01:00
Ziqing Hui ff0cd457b4 winegstreamer: Set AvgTimePerFrame in GetOutputType() for WMV decoder.
Krkr2 game engine need AvgTimePerFrame to calculate video frame time.
2024-03-06 19:01:38 +01:00
Ziqing Hui 732ed62819 mf/tests: Test AvgTimePerFrame for WMV decoder DMO. 2024-03-06 19:01:38 +01:00
Zebediah Figura f8ddba3ad0 shell32: Implement IDataObject::SetData(). 2024-03-06 19:01:28 +01:00
Zebediah Figura 4f02c8ba2d shell32: Reimplement the data object to store a generic array of HGLOBALs. 2024-03-06 19:01:28 +01:00
Zebediah Figura 0344f3aa85 shell32: Do not interpret the direction in IDataObject::EnumFormatEtc(). 2024-03-06 19:01:28 +01:00
Zebediah Figura b6128bbb51 shell32/tests: Add more tests for IDataObject. 2024-03-06 19:01:28 +01:00
Rémi Bernon e614610aaf win32u: Introduce and use new reg_(open|create)_ascii_key helpers. 2024-03-06 18:59:34 +01:00
Rémi Bernon 6b8b35f950 win32u: Use set_reg_ascii_value whenever possible. 2024-03-06 18:59:34 +01:00
Rémi Bernon 3909a93bc2 win32u: Remove unnecessary class_guidW double check. 2024-03-06 18:59:34 +01:00
Rémi Bernon eaed90d9b4 win32u: Use REG_SZ instead of REG_BINARY for some adapter keys. 2024-03-06 18:59:34 +01:00
Rémi Bernon 20a09a3071 win32u: Remove unused wine_devpropkey_monitor_adapternameW property. 2024-03-06 18:59:34 +01:00
Rémi Bernon ab5d9bb67b win32u: Simplify adapter key path creation from gpu_guid. 2024-03-06 18:59:34 +01:00
Rémi Bernon 8fcc3c4efe win32u: Use char array for the device manager context gpuid. 2024-03-06 18:59:34 +01:00
Zebediah Figura 910bd392f6 mciwave: Abort the playback thread regardless of state when stopping. 2024-03-06 18:57:12 +01:00
Alexandre Julliard 5bb80251b1 vkd3d: Import upstream release 1.11. 2024-03-06 12:45:47 +01:00
Alexandre Julliard ec2e266c76 ntdll: Implement KiUserExceptionDispatcher on ARM64EC. 2024-03-06 12:32:18 +01:00
Alexandre Julliard e6ce5d5df7 ntdll: Implement exception dispatching on ARM64EC. 2024-03-06 12:24:15 +01:00
Alexandre Julliard daea0b9b57 ntdll: Allocate the data structure and stack for the ARM64EC emulator. 2024-03-06 12:24:15 +01:00
Nikolay Sivov 5eb46419b4 d3d10_1/tests: Add an effect compilation test using 10.1 features.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2024-03-05 22:32:17 +01:00
Nikolay Sivov 0a9ad614e6 d3d10_1/tests: Add a basic test for returned preferred profiles.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2024-03-05 22:32:17 +01:00
Henri Verbeet 37bb8c14e0 wined3d: Slightly adjust an ERR in shader_spirv_compile_shader().
We're not necessarily compiling DXBC shaders here after commit
1474f5cc47.
2024-03-05 20:52:48 +01:00
Daniel Lehman 91e5d21cdf ole32/tests: Remove todo from lock tests. 2024-03-05 20:52:41 +01:00
Daniel Lehman 2fc073591b ole32: Do not lock storage in read-only deny-write mode. 2024-03-05 20:52:41 +01:00
Zebediah Figura 6fa1458378 wined3d/nvrc: Remove now redundant WINED3D_TSS_RESULT_ARG handlers.
nvrc_update_color_op() takes care of this. Redirect WINED3D_TSS_RESULT_ARG to nvrc_colorop() so that the shader is invalidated.
2024-03-05 20:50:40 +01:00
Zebediah Figura c3840b6c49 wined3d/nvrc: Move alpha op application to nvrc_apply_draw_state(). 2024-03-05 20:50:39 +01:00
Zebediah Figura 115d690731 wined3d/nvrc: Remove now redundant STATE_SAMPLER handlers.
nvrc_update_color_op() takes care of this. Redirect STATE_SAMPLER to nvrc_colorop() so that the shader is invalidated.
2024-03-05 20:50:38 +01:00
Zebediah Figura 1c03b29f7b wined3d/nvrc: Move color ops from nvrc_colorop() to nvrc_apply_draw_state(). 2024-03-05 20:50:37 +01:00
Zebediah Figura e65679f455 wined3d/nvrc: Move FFP bumpenv constant loading to nvrc_apply_draw_state(). 2024-03-05 20:50:35 +01:00
Zebediah Figura 8f2586cfb5 wined3d/nvrc: Move TEXTUREFACTOR constant loading to nvrc_apply_draw_state(). 2024-03-05 20:50:34 +01:00
Martin Storsjö aa78b46e9c arm64: Expose information about more modern CPU extensions.
Signed-off-by: Martin Storsjö <martin@martin.st>
2024-03-05 20:50:23 +01:00
Rémi Bernon c9ffab4602 win32u: Add support for sending and receiving WM_POINTER* messages. 2024-03-05 20:50:07 +01:00
Rémi Bernon 61d1c18957 server: Add support for sending and receiving WM_POINTER* messages. 2024-03-05 20:50:07 +01:00
Rémi Bernon 48f8db6c30 mouhid.sys: Send WM_POINTER* messages on contact updates. 2024-03-05 20:50:07 +01:00