--
v2: wined3d/nvrc: Remove now redundant WINED3D_TSS_RESULT_ARG handlers.
wined3d/nvrc: Move alpha op application to nvrc_apply_draw_state().
wined3d/nvrc: Remove now redundant STATE_SAMPLER handlers.
wined3d/nvrc: Move color ops from nvrc_colorop() to nvrc_apply_draw_state().
wined3d/nvrc: Move FFP bumpenv constant loading to nvrc_apply_draw_state().
wined3d/nvrc: Move TEXTUREFACTOR constant loading to nvrc_apply_draw_state().
https://gitlab.winehq.org/wine/wine/-/merge_requests/5171
--
v2: win32u: Add support for sending and receiving WM_POINTER* messages.
server: Add support for sending and receiving WM_POINTER* messages.
mouhid.sys: Send WM_POINTER* messages on contact updates.
dinput/tests: Test the WM_POINTER* message parameter values.
win32u: Use a custom struct hid_input for NtUserSendHardwareInput.
https://gitlab.winehq.org/wine/wine/-/merge_requests/5193
This was implemented in vkd3d 1.10. Another known feature that has to be enabled with compatibility flag is d3d9 style sampling functions. We currently don't do that, making them supported unconditionally.
--
v2: d3dcompiler: Enable semantic names mapping in compatibility mode.
https://gitlab.winehq.org/wine/wine/-/merge_requests/5146
Split from https://gitlab.winehq.org/wine/wine/-/merge_requests/5137
--
v2: win32u: Introduce and use new reg_(open|create)_ascii_key helpers.
win32u: Use set_reg_ascii_value whenever possible.
win32u: Remove unnecessary class_guidW double check.
win32u: Use REG_SZ instead of REG_BINARY for some adapter keys.
win32u: Remove unused wine_devpropkey_monitor_adapternameW property.
win32u: Simplify adapter key path creation from gpu_guid.
win32u: Use char array for the device manager context gpuid.
https://gitlab.winehq.org/wine/wine/-/merge_requests/5174
I think the behaviour of SetWindowPos() in this case is partially explained by the fact that topmost state is not strictly applicable to child windows and so Windows denies such requests. Child window can still end up with WS_EX_TOPMOST style if it was set at window creation (doesn't work this way in Wine now) or, e. g., like in the test added in the patch.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=20190
Also fixes game load dialog in Indiana Jones and the Infernal Machine.
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/667
I don't think this should be committed so late in the release cycle, but the work others have been doing with point checking functions inspired me to move on this, and I wanted to let folks know what I'm thinking about and get some feedback. Consider it a proof of concept for now.
The problem: GdipGetRegionHRgn is expensive. Regardless of how much of the region we actually care about, we must rasterize the entire plane of that region. Currently, we rely on gdi32 to do this, which doesn't provide us with any way to ask for a smaller area. This has been a real problem for applications that work with very large, non-rectangular regions or paths.
So it seems to me, the solution will involve writing two functions, one of which is in this MR: a bounding-box calculation for regions, and rasterization. Since the result of rasterization will be short-lived, I think it should always be an array of bytes (which are effectively a bitmap but don't require bitwise operations to work with). The rasterization should be limited to a specific integer rectangle, which in the case of GdipIsVisibleRegionPoint can be 1x1 pixel. We should then be able to eliminate all internal uses of GdipGetRegionHRgn, except when we have to return an HRGN to the application.
This would also be useful for implementing anti-aliasing, as we could keep the memory usage down by only rasterizing the part we need for each scanline at a time.
My current concerns about what I've written so far:
* Although it shouldn't change the behavior, I doubt it's adequately tested, even including the Mono tests. I'd like to ideally test every combine mode in a variety of cases.
* This is too clever for its own good. Unfortunately, with the complexity of handling so many combine modes as well as infinities for each region being combined, I think the only available choices are "too clever for its own good" and "20 different special cases that need to be considered manually". Still, I want to make this as simple and easy to follow as possible, within its requirements.
--
v3: gdiplus: Check bounding box in GdipIsVisibleRegionPoint.
https://gitlab.winehq.org/wine/wine/-/merge_requests/4206