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
376ffdf3
Commit
376ffdf3
authored
Nov 23, 2011
by
Henri Verbeet
Committed by
Alexandre Julliard
Nov 24, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Get rid of the WINED3DADAPTER_IDENTIFIER typedef.
parent
2fb21e0a
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
9 additions
and
9 deletions
+9
-9
directx.c
dlls/d3d8/directx.c
+1
-1
directx.c
dlls/d3d9/directx.c
+2
-2
ddraw.c
dlls/ddraw/ddraw.c
+1
-1
adapter.c
dlls/dxgi/adapter.c
+1
-1
directx.c
dlls/wined3d/directx.c
+1
-1
wined3d.h
include/wine/wined3d.h
+3
-3
No files found.
dlls/d3d8/directx.c
View file @
376ffdf3
...
...
@@ -123,7 +123,7 @@ static HRESULT WINAPI IDirect3D8Impl_GetAdapterIdentifier(LPDIRECT3D8 iface, UIN
DWORD
Flags
,
D3DADAPTER_IDENTIFIER8
*
pIdentifier
)
{
IDirect3D8Impl
*
This
=
impl_from_IDirect3D8
(
iface
);
WINED3DADAPTER_IDENTIFIER
adapter_id
;
struct
wined3d_adapter_identifier
adapter_id
;
HRESULT
hr
;
TRACE
(
"iface %p, adapter %u, flags %#x, identifier %p.
\n
"
,
...
...
dlls/d3d9/directx.c
View file @
376ffdf3
...
...
@@ -121,7 +121,7 @@ static HRESULT WINAPI IDirect3D9Impl_GetAdapterIdentifier(IDirect3D9Ex *iface, U
DWORD
Flags
,
D3DADAPTER_IDENTIFIER9
*
pIdentifier
)
{
IDirect3D9Impl
*
This
=
impl_from_IDirect3D9Ex
(
iface
);
WINED3DADAPTER_IDENTIFIER
adapter_id
;
struct
wined3d_adapter_identifier
adapter_id
;
HRESULT
hr
;
TRACE
(
"iface %p, adapter %u, flags %#x, identifier %p.
\n
"
,
...
...
@@ -529,7 +529,7 @@ static HRESULT WINAPI DECLSPEC_HOTPATCH IDirect3D9ExImpl_CreateDeviceEx(IDirect3
static
HRESULT
WINAPI
IDirect3D9ExImpl_GetAdapterLUID
(
IDirect3D9Ex
*
iface
,
UINT
adapter
,
LUID
*
luid
)
{
IDirect3D9Impl
*
This
=
impl_from_IDirect3D9Ex
(
iface
);
WINED3DADAPTER_IDENTIFIER
adapter_id
;
struct
wined3d_adapter_identifier
adapter_id
;
HRESULT
hr
;
TRACE
(
"iface %p, adapter %u, luid %p.
\n
"
,
iface
,
adapter
,
luid
);
...
...
dlls/ddraw/ddraw.c
View file @
376ffdf3
...
...
@@ -1551,7 +1551,7 @@ static HRESULT WINAPI ddraw7_GetAvailableVidMem(IDirectDraw7 *iface, DDSCAPS2 *C
*
free
=
wined3d_device_get_available_texture_mem
(
This
->
wined3d_device
);
if
(
total
)
{
WINED3DADAPTER_IDENTIFIER
desc
=
{
0
};
struct
wined3d_adapter_identifier
desc
=
{
0
};
hr
=
wined3d_get_adapter_identifier
(
This
->
wineD3D
,
WINED3DADAPTER_DEFAULT
,
0
,
&
desc
);
*
total
=
desc
.
video_memory
;
...
...
dlls/dxgi/adapter.c
View file @
376ffdf3
...
...
@@ -138,7 +138,7 @@ static HRESULT STDMETHODCALLTYPE dxgi_adapter_EnumOutputs(IWineDXGIAdapter *ifac
static
HRESULT
STDMETHODCALLTYPE
dxgi_adapter_GetDesc
(
IWineDXGIAdapter
*
iface
,
DXGI_ADAPTER_DESC
*
desc
)
{
struct
dxgi_adapter
*
This
=
impl_from_IWineDXGIAdapter
(
iface
);
WINED3DADAPTER_IDENTIFIER
adapter_id
;
struct
wined3d_adapter_identifier
adapter_id
;
char
description
[
128
];
struct
wined3d
*
wined3d
;
HRESULT
hr
;
...
...
dlls/wined3d/directx.c
View file @
376ffdf3
...
...
@@ -3031,7 +3031,7 @@ HRESULT CDECL wined3d_get_adapter_display_mode(const struct wined3d *wined3d, UI
/* NOTE: due to structure differences between dx8 and dx9 D3DADAPTER_IDENTIFIER,
and fields being inserted in the middle, a new structure is used in place */
HRESULT
CDECL
wined3d_get_adapter_identifier
(
const
struct
wined3d
*
wined3d
,
UINT
adapter_idx
,
DWORD
flags
,
WINED3DADAPTER_IDENTIFIER
*
identifier
)
UINT
adapter_idx
,
DWORD
flags
,
struct
wined3d_adapter_identifier
*
identifier
)
{
const
struct
wined3d_adapter
*
adapter
;
size_t
len
;
...
...
include/wine/wined3d.h
View file @
376ffdf3
...
...
@@ -1615,7 +1615,7 @@ struct wined3d_tri_patch_info
WINED3DDEGREETYPE
degree
;
};
typedef
struct
_WINED3DADAPTER_IDENTIFIER
struct
wined3d_adapter_identifier
{
char
*
driver
;
UINT
driver_size
;
...
...
@@ -1632,7 +1632,7 @@ typedef struct _WINED3DADAPTER_IDENTIFIER
DWORD
whql_level
;
LUID
adapter_luid
;
SIZE_T
video_memory
;
}
WINED3DADAPTER_IDENTIFIER
;
};
typedef
struct
_WINED3DPRESENT_PARAMETERS
{
...
...
@@ -2126,7 +2126,7 @@ UINT __cdecl wined3d_get_adapter_count(const struct wined3d *wined3d);
HRESULT
__cdecl
wined3d_get_adapter_display_mode
(
const
struct
wined3d
*
wined3d
,
UINT
adapter_idx
,
struct
wined3d_display_mode
*
mode
);
HRESULT
__cdecl
wined3d_get_adapter_identifier
(
const
struct
wined3d
*
wined3d
,
UINT
adapter_idx
,
DWORD
flags
,
WINED3DADAPTER_IDENTIFIER
*
identifier
);
DWORD
flags
,
struct
wined3d_adapter_identifier
*
identifier
);
UINT
__cdecl
wined3d_get_adapter_mode_count
(
const
struct
wined3d
*
wined3d
,
UINT
adapter_idx
,
enum
wined3d_format_id
format_id
);
HMONITOR
__cdecl
wined3d_get_adapter_monitor
(
const
struct
wined3d
*
wined3d
,
UINT
adapter_idx
);
...
...
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