Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wg_parser: Add missing argument flags for wow64_wg_parser_stream_enable #230

Open
wants to merge 389 commits into
base: bleeding-edge
Choose a base branch
from

Conversation

peterjc123
Copy link

No description provided.

rbernon and others added 30 commits February 20, 2024 09:49
…sting.

Speak during the delay, to test the code.

CW-Bug-Id: #20134
This reverts commit e8babc9
(Replace HDC with GpGraphics in parameters.) without having
to revert the font linking implementation. This is due to
graphics->hdc member being NULL when the GpGraphics object
is created with GdipGetImageGraphicsContext, so we need to
be able to pass a temporal HDC object when graphics->hdc is null.
Instead of creating the TTS voice engine directly in SetVoice, we save
the specified voice token, and only create them in ISpVoice::Speak when
necessary.

(cherry picked from commit 2a56d4e)
(cherry picked from commit c45bedb)

CW-Bug-Id: #22520
(cherry picked from commit ca6f3a7)

CW-Bug-Id: #22520
(cherry picked from commit b6c1760)

CW-Bug-Id: #22520
(cherry picked from commit 001d1a4)

CW-Bug-Id: #22520
(cherry picked from commit 59a7ee1)

CW-Bug-Id: #22520
(cherry picked from commit 261d7c3)

CW-Bug-Id: #22520
(cherry picked from commit 6f2a0c4)

CW-Bug-Id: #22520
(cherry picked from commit 6e8d450)

CW-Bug-Id: #22520
(cherry picked from commit afac7d7)
(cherry picked from commit 5243f2e)

CW-Bug-Id: #22520
…ry::EnumTokens.

(cherry picked from commit 4bbfd83)

CW-Bug-Id: #22520
(cherry picked from commit 0f8b59a)

CW-Bug-Id: #22520
(cherry picked from commit 62aec03)

CW-Bug-Id: #22520
(cherry picked from commit 5808735)

CW-Bug-Id: #22520
Paul Gofman and others added 16 commits April 9, 2024 20:46
…watch support."

This reverts commit 60b7ce6.

CW-Bug-Id: #23654
To avoid conflict with handle mapping macros.

(cherry picked from commit 84e4620)
For VK_EXT_debug_utils callbacks on destroy / free.
Introduce fs_hack_is_window_rect_fullscreen() and it replaces fs_hack_matches_current_mode()
for determining whether fshack should be enabled for a window. The difference
is that the new function considers a window with a rectangle larger than the
monitor rectangle also fullscreen. This is actually closer to the behavior of
NtUserIsWindowRectFullScreen(). Ideally, we should enable fshack for all windows
and scale them all when a ChangeDisplaySetting() call is made to change resolutions.
But that would be a bigger change and has higher overhead so let's not do that
unless necessary.

Another reason for this change is to avoid a black screen issue on Nvidia drivers.
For example, on Arch Linux with Nvidia driver 550. Call of Juarez (21980) changes
the resolution to 1024x768 then changes the game window to (-3, -22, 1030, 793).
Because the new window rectangle doesn't match the fake monitor resolution, fshack
is disabled for the window and its client window gets resized to the unscaled one.
However, the fshack monitor still has the fake 1024x768 so Vulkan swapchains need
to draw to a surface with the physical resolution. Because the unscaled client window
is smaller than the physical resolution, vkAcquireNextImageKHR() always returns
VK_ERROR_OUT_OF_DATE_KHR on Nvidia drivers. Of course, because Nvidia drivers are
proprietary so I can't confirm this is the exact cause.

CW-Bug-Id: #23466
…ferSizes().

To be dropped on next rebase.

CW-Bug-Id: #23665
… converter.

With VK_EXT_device_address_binding_report we can get debug_util
callbacks used to track memory bindings. Since it's the host's
implementation that starts the callback we have to be sure that we have
a way of converting it to the client side's variant before it's even
added to the handle map - i.e. we don't know the host handle at that
time yet.

ntuser_thread_info which is thread-local is used.
@kisak-valve
Copy link
Member

As noted at #232 (comment), it would make more sense for this to go into upstream wine.

@peterjc123 peterjc123 closed this Apr 16, 2024
@peterjc123
Copy link
Author

peterjc123 commented Apr 16, 2024

@kisak-valve It seems that this patch only applies here, not for upstream wine.

@peterjc123 peterjc123 reopened this Apr 16, 2024
@Plagman Plagman force-pushed the bleeding-edge branch 4 times, most recently from 03bcca0 to 24d3d22 Compare July 19, 2024 17:11
@Plagman Plagman force-pushed the bleeding-edge branch 3 times, most recently from 97aa0e7 to 4a22a2a Compare July 30, 2024 18:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.