Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
3c3bfbfd
Commit
3c3bfbfd
authored
Apr 10, 2024
by
Brendan Shanks
Committed by
Alexandre Julliard
Apr 18, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dxgi: Add IDXGISwapChain3 stubs for D3D11.
parent
3fdf97a2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
4 deletions
+4
-4
device.c
dlls/dxgi/device.c
+1
-1
dxgi_private.h
dlls/dxgi/dxgi_private.h
+1
-1
swapchain.c
dlls/dxgi/swapchain.c
+0
-0
dxgi.c
dlls/dxgi/tests/dxgi.c
+2
-2
No files found.
dlls/dxgi/device.c
View file @
3c3bfbfd
...
...
@@ -470,7 +470,7 @@ static HRESULT STDMETHODCALLTYPE dxgi_swapchain_factory_create_swapchain(IWineDX
TRACE
(
"Created swapchain %p.
\n
"
,
object
);
*
swapchain
=
(
IDXGISwapChain1
*
)
&
object
->
IDXGISwapChain
2
_iface
;
*
swapchain
=
(
IDXGISwapChain1
*
)
&
object
->
IDXGISwapChain
3
_iface
;
return
S_OK
;
}
...
...
dlls/dxgi/dxgi_private.h
View file @
3c3bfbfd
...
...
@@ -172,7 +172,7 @@ struct dxgi_adapter *unsafe_impl_from_IDXGIAdapter(IDXGIAdapter *iface);
/* IDXGISwapChain */
struct
d3d11_swapchain
{
IDXGISwapChain
2
IDXGISwapChain2
_iface
;
IDXGISwapChain
3
IDXGISwapChain3
_iface
;
LONG
refcount
;
struct
wined3d_private_store
private_store
;
struct
wined3d_swapchain
*
wined3d_swapchain
;
...
...
dlls/dxgi/swapchain.c
View file @
3c3bfbfd
This diff is collapsed.
Click to expand it.
dlls/dxgi/tests/dxgi.c
View file @
3c3bfbfd
...
...
@@ -4329,13 +4329,13 @@ static void test_swapchain_resize(IUnknown *device, BOOL is_d3d12)
present_queue
[
1
]
=
device
;
if
(
IDXGISwapChain_QueryInterface
(
swapchain
,
&
IID_IDXGISwapChain3
,
(
void
**
)
&
swapchain3
)
==
E_NOINTERFACE
)
{
skip
(
"IDXGISwapChain3 is not supported.
\n
"
);
win_
skip
(
"IDXGISwapChain3 is not supported.
\n
"
);
}
else
if
(
!
is_d3d12
)
{
hr
=
IDXGISwapChain3_ResizeBuffers1
(
swapchain3
,
2
,
320
,
240
,
DXGI_FORMAT_B8G8R8A8_UNORM
,
0
,
node_mask
,
present_queue
);
ok
(
hr
==
DXGI_ERROR_INVALID_CALL
,
"Got unexpected hr %#lx.
\n
"
,
hr
);
todo_wine
ok
(
hr
==
DXGI_ERROR_INVALID_CALL
,
"Got unexpected hr %#lx.
\n
"
,
hr
);
IDXGISwapChain3_Release
(
swapchain3
);
}
else
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment