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

amd_ags_x64: Implement agsSetDisplayMode #195

Open
wants to merge 758 commits into
base: experimental_8.0
Choose a base branch
from

Conversation

misyltoad
Copy link
Contributor

Gets HDR working with Elden Ring.

Signed-off-by: Joshua Ashton joshua@froggi.es

… thread.

When applying a new cursor clipping rect, or to the previous foreground
thread when foreground changes, to notify it of the cursor clipping rect
being reset.

(cherry picked from commit 5ebb1ed)
Instead of synchronizing the cursor on mouse changes. The SetCursor call
should now only be made when cursor or window handle have changed.

(cherry picked from commit 9f8d9ee)
This might be the case when in virtual desktop mode for instance, where
we don't change Wine foreground window when the virtual desktop is
focused out.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=55046
(cherry picked from commit 8941592)
If the focus changes between Wine windows, the wineserver logic will
decide to reset the clipping rectangle. However winex11 also needs to
support the case when focus changes to a host window, in virtual desktop
mode, and in this case the foreground window doesn't actually change.

To fix this, in virtual desktop mode, release the cursor on focus out
events, and reapply the cursor clipping rect when the virtual desktop
window is focused again.

We can use the same logic on NotifyGrab events, when the WM grabs the
keyboard, and later reapply the Wine clipping rect when we are notified
about the keyboard ungrab.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=55046
(cherry picked from commit 1f90d03)
We don't need the window anymore, it was only used to send ClipCursor
notifications. This improves cursor clipping performance a lot as it
avoids re-creating a window every time.

(cherry picked from commit 272f712)
besentv and others added 23 commits August 15, 2023 22:40
Signed-off-by: Bernhard Kölbl <bkoelbl@codeweavers.com>
(cherry picked from commit 13106b2)
This does not enable VK_NV_device_generated_commands_compute because
the extension will likely see an API breaking naming fix.

(cherry picked from commit eb5be00)
…text().

(cherry picked from commit a743f08)

CW-Bug-Id: #22608
… when drawing to front buffer.

CW-Bug-Id: #22608
…age_count for Rainbow Six Extraction.

CW-Bug-Id: #22634
…tency.

HACK: winegstreamer: Do not report live latency for some games.

CW-Bug-Id: #22581
Elden Ring is using this version.
Signed-off-by: Joshua Ashton <joshua@froggi.es>
Also allows us to expose HDR features and colorimetry of the display.

Signed-off-by: Joshua Ashton <joshua@froggi.es>
The enum stuff is slightly different here.

Signed-off-by: Joshua Ashton <joshua@froggi.es>
Gets HDR working with Elden Ring.

Signed-off-by: Joshua Ashton <joshua@froggi.es>
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.