Zhiyi Zhang : wined3d: Specify a wined3d output for swapchain creation.
Alexandre Julliard
julliard at winehq.org
Wed May 13 16:29:54 CDT 2020
Module: wine
Branch: master
Commit: d3e088cc0002addf75fe5a1dc96ae97db80040c5
URL: https://source.winehq.org/git/wine.git/?a=commit;h=d3e088cc0002addf75fe5a1dc96ae97db80040c5
Author: Zhiyi Zhang <zzhang at codeweavers.com>
Date: Tue May 12 20:49:31 2020 +0800
wined3d: Specify a wined3d output for swapchain creation.
As tests showed, DirectDraw, Direct3D 8 and 9 always use the adapter
specified in the device creation parameters regardless of the device
window position when creating a swapchain. Whereas DXGI uses the device
window position to determine which DXGI output to use.
Signed-off-by: Zhiyi Zhang <zzhang at codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/d3d8/device.c | 21 +++++++++++++++------
dlls/d3d9/device.c | 21 ++++++++++++++-------
dlls/ddraw/ddraw.c | 1 +
dlls/dxgi/device.c | 45 +++++++++++++++++++++++++++++++++++++++++++--
dlls/dxgi/dxgi_private.h | 4 +++-
dlls/dxgi/swapchain.c | 33 +++++++++++++++++++++++++++++----
dlls/dxgi/utils.c | 8 ++++++--
dlls/wined3d/device.c | 1 +
dlls/wined3d/swapchain.c | 14 +++-----------
include/wine/wined3d.h | 1 +
10 files changed, 116 insertions(+), 33 deletions(-)
Diff: https://source.winehq.org/git/wine.git/?a=commitdiff;h=d3e088cc0002addf75fe5a1dc96ae97db80040c5
More information about the wine-cvs
mailing list