Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
fc17a99e
Commit
fc17a99e
authored
Oct 28, 2008
by
Henri Verbeet
Committed by
Alexandre Julliard
Oct 28, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dxgi: Make some functions static.
parent
13606ed4
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
24 additions
and
24 deletions
+24
-24
device.c
dlls/dxgi/device.c
+12
-12
factory.c
dlls/dxgi/factory.c
+12
-12
No files found.
dlls/dxgi/device.c
View file @
fc17a99e
...
...
@@ -26,7 +26,7 @@ WINE_DEFAULT_DEBUG_CHANNEL(dxgi);
/* IUnknown methods */
HRESULT
STDMETHODCALLTYPE
dxgi_device_QueryInterface
(
IDXGIDevice
*
iface
,
REFIID
riid
,
void
**
object
)
static
HRESULT
STDMETHODCALLTYPE
dxgi_device_QueryInterface
(
IDXGIDevice
*
iface
,
REFIID
riid
,
void
**
object
)
{
TRACE
(
"iface %p, riid %s, object %p
\n
"
,
iface
,
debugstr_guid
(
riid
),
object
);
...
...
@@ -45,7 +45,7 @@ HRESULT STDMETHODCALLTYPE dxgi_device_QueryInterface(IDXGIDevice* iface, REFIID
return
E_NOINTERFACE
;
}
ULONG
STDMETHODCALLTYPE
dxgi_device_AddRef
(
IDXGIDevice
*
iface
)
static
ULONG
STDMETHODCALLTYPE
dxgi_device_AddRef
(
IDXGIDevice
*
iface
)
{
struct
dxgi_device
*
This
=
(
struct
dxgi_device
*
)
iface
;
ULONG
refcount
=
InterlockedIncrement
(
&
This
->
refcount
);
...
...
@@ -55,7 +55,7 @@ ULONG STDMETHODCALLTYPE dxgi_device_AddRef(IDXGIDevice* iface)
return
refcount
;
}
ULONG
STDMETHODCALLTYPE
dxgi_device_Release
(
IDXGIDevice
*
iface
)
static
ULONG
STDMETHODCALLTYPE
dxgi_device_Release
(
IDXGIDevice
*
iface
)
{
struct
dxgi_device
*
This
=
(
struct
dxgi_device
*
)
iface
;
ULONG
refcount
=
InterlockedDecrement
(
&
This
->
refcount
);
...
...
@@ -72,28 +72,28 @@ ULONG STDMETHODCALLTYPE dxgi_device_Release(IDXGIDevice* iface)
/* IDXGIObject methods */
HRESULT
STDMETHODCALLTYPE
dxgi_device_SetPrivateData
(
IDXGIDevice
*
iface
,
REFGUID
guid
,
UINT
data_size
,
const
void
*
data
)
static
HRESULT
STDMETHODCALLTYPE
dxgi_device_SetPrivateData
(
IDXGIDevice
*
iface
,
REFGUID
guid
,
UINT
data_size
,
const
void
*
data
)
{
FIXME
(
"iface %p, guid %s, data_size %u, data %p stub!
\n
"
,
iface
,
debugstr_guid
(
guid
),
data_size
,
data
);
return
E_NOTIMPL
;
}
HRESULT
STDMETHODCALLTYPE
dxgi_device_SetPrivateDataInterface
(
IDXGIDevice
*
iface
,
REFGUID
guid
,
const
IUnknown
*
object
)
static
HRESULT
STDMETHODCALLTYPE
dxgi_device_SetPrivateDataInterface
(
IDXGIDevice
*
iface
,
REFGUID
guid
,
const
IUnknown
*
object
)
{
FIXME
(
"iface %p, guid %s, object %p stub!
\n
"
,
iface
,
debugstr_guid
(
guid
),
object
);
return
E_NOTIMPL
;
}
HRESULT
STDMETHODCALLTYPE
dxgi_device_GetPrivateData
(
IDXGIDevice
*
iface
,
REFGUID
guid
,
UINT
*
data_size
,
void
*
data
)
static
HRESULT
STDMETHODCALLTYPE
dxgi_device_GetPrivateData
(
IDXGIDevice
*
iface
,
REFGUID
guid
,
UINT
*
data_size
,
void
*
data
)
{
FIXME
(
"iface %p, guid %s, data_size %p, data %p stub!
\n
"
,
iface
,
debugstr_guid
(
guid
),
data_size
,
data
);
return
E_NOTIMPL
;
}
HRESULT
STDMETHODCALLTYPE
dxgi_device_GetParent
(
IDXGIDevice
*
iface
,
REFIID
riid
,
void
**
parent
)
static
HRESULT
STDMETHODCALLTYPE
dxgi_device_GetParent
(
IDXGIDevice
*
iface
,
REFIID
riid
,
void
**
parent
)
{
FIXME
(
"iface %p, riid %s, parent %p stub!
\n
"
,
iface
,
debugstr_guid
(
riid
),
parent
);
...
...
@@ -102,14 +102,14 @@ HRESULT STDMETHODCALLTYPE dxgi_device_GetParent(IDXGIDevice* iface, REFIID riid,
/* IDXGIDevice methods */
HRESULT
STDMETHODCALLTYPE
dxgi_device_GetAdapter
(
IDXGIDevice
*
iface
,
IDXGIAdapter
**
adapter
)
static
HRESULT
STDMETHODCALLTYPE
dxgi_device_GetAdapter
(
IDXGIDevice
*
iface
,
IDXGIAdapter
**
adapter
)
{
FIXME
(
"iface %p, adapter %p stub!
\n
"
,
iface
,
adapter
);
return
E_NOTIMPL
;
}
HRESULT
STDMETHODCALLTYPE
dxgi_device_CreateSurface
(
IDXGIDevice
*
iface
,
static
HRESULT
STDMETHODCALLTYPE
dxgi_device_CreateSurface
(
IDXGIDevice
*
iface
,
const
DXGI_SURFACE_DESC
*
desc
,
UINT
surface_count
,
DXGI_USAGE
usage
,
const
DXGI_SHARED_RESOURCE
*
shared_resource
,
IDXGISurface
**
surface
)
{
...
...
@@ -119,7 +119,7 @@ HRESULT STDMETHODCALLTYPE dxgi_device_CreateSurface(IDXGIDevice* iface,
return
E_NOTIMPL
;
}
HRESULT
STDMETHODCALLTYPE
dxgi_device_QueryResourceResidency
(
IDXGIDevice
*
iface
,
static
HRESULT
STDMETHODCALLTYPE
dxgi_device_QueryResourceResidency
(
IDXGIDevice
*
iface
,
IUnknown
*
const
*
resources
,
DXGI_RESIDENCY
*
residency
,
UINT
resource_count
)
{
FIXME
(
"iface %p, resources %p, residency %p, resource_count %u stub!
\n
"
,
...
...
@@ -128,14 +128,14 @@ HRESULT STDMETHODCALLTYPE dxgi_device_QueryResourceResidency(IDXGIDevice* iface,
return
E_NOTIMPL
;
}
HRESULT
STDMETHODCALLTYPE
dxgi_device_SetGPUThreadPriority
(
IDXGIDevice
*
iface
,
INT
priority
)
static
HRESULT
STDMETHODCALLTYPE
dxgi_device_SetGPUThreadPriority
(
IDXGIDevice
*
iface
,
INT
priority
)
{
FIXME
(
"iface %p, priority %d stub!
\n
"
,
iface
,
priority
);
return
E_NOTIMPL
;
}
HRESULT
STDMETHODCALLTYPE
dxgi_device_GetGPUThreadPriority
(
IDXGIDevice
*
iface
,
INT
*
priority
)
static
HRESULT
STDMETHODCALLTYPE
dxgi_device_GetGPUThreadPriority
(
IDXGIDevice
*
iface
,
INT
*
priority
)
{
FIXME
(
"iface %p, priority %p stub!
\n
"
,
iface
,
priority
);
...
...
dlls/dxgi/factory.c
View file @
fc17a99e
...
...
@@ -26,7 +26,7 @@ WINE_DEFAULT_DEBUG_CHANNEL(dxgi);
/* IUnknown methods */
HRESULT
STDMETHODCALLTYPE
dxgi_factory_QueryInterface
(
IDXGIFactory
*
iface
,
REFIID
riid
,
void
**
object
)
static
HRESULT
STDMETHODCALLTYPE
dxgi_factory_QueryInterface
(
IDXGIFactory
*
iface
,
REFIID
riid
,
void
**
object
)
{
TRACE
(
"iface %p, riid %s, object %p
\n
"
,
iface
,
debugstr_guid
(
riid
),
object
);
...
...
@@ -45,7 +45,7 @@ HRESULT STDMETHODCALLTYPE dxgi_factory_QueryInterface(IDXGIFactory* iface, REFII
return
E_NOINTERFACE
;
}
ULONG
STDMETHODCALLTYPE
dxgi_factory_AddRef
(
IDXGIFactory
*
iface
)
static
ULONG
STDMETHODCALLTYPE
dxgi_factory_AddRef
(
IDXGIFactory
*
iface
)
{
struct
dxgi_factory
*
This
=
(
struct
dxgi_factory
*
)
iface
;
ULONG
refcount
=
InterlockedIncrement
(
&
This
->
refcount
);
...
...
@@ -55,7 +55,7 @@ ULONG STDMETHODCALLTYPE dxgi_factory_AddRef(IDXGIFactory* iface)
return
refcount
;
}
ULONG
STDMETHODCALLTYPE
dxgi_factory_Release
(
IDXGIFactory
*
iface
)
static
ULONG
STDMETHODCALLTYPE
dxgi_factory_Release
(
IDXGIFactory
*
iface
)
{
struct
dxgi_factory
*
This
=
(
struct
dxgi_factory
*
)
iface
;
ULONG
refcount
=
InterlockedDecrement
(
&
This
->
refcount
);
...
...
@@ -72,7 +72,7 @@ ULONG STDMETHODCALLTYPE dxgi_factory_Release(IDXGIFactory* iface)
/* IDXGIObject methods */
HRESULT
STDMETHODCALLTYPE
dxgi_factory_SetPrivateData
(
IDXGIFactory
*
iface
,
static
HRESULT
STDMETHODCALLTYPE
dxgi_factory_SetPrivateData
(
IDXGIFactory
*
iface
,
REFGUID
guid
,
UINT
data_size
,
const
void
*
data
)
{
FIXME
(
"iface %p, guid %s, data_size %u, data %p stub!
\n
"
,
iface
,
debugstr_guid
(
guid
),
data_size
,
data
);
...
...
@@ -80,7 +80,7 @@ HRESULT STDMETHODCALLTYPE dxgi_factory_SetPrivateData(IDXGIFactory* iface,
return
E_NOTIMPL
;
}
HRESULT
STDMETHODCALLTYPE
dxgi_factory_SetPrivateDataInterface
(
IDXGIFactory
*
iface
,
static
HRESULT
STDMETHODCALLTYPE
dxgi_factory_SetPrivateDataInterface
(
IDXGIFactory
*
iface
,
REFGUID
guid
,
const
IUnknown
*
object
)
{
FIXME
(
"iface %p, guid %s, object %p stub!
\n
"
,
iface
,
debugstr_guid
(
guid
),
object
);
...
...
@@ -88,7 +88,7 @@ HRESULT STDMETHODCALLTYPE dxgi_factory_SetPrivateDataInterface(IDXGIFactory* ifa
return
E_NOTIMPL
;
}
HRESULT
STDMETHODCALLTYPE
dxgi_factory_GetPrivateData
(
IDXGIFactory
*
iface
,
static
HRESULT
STDMETHODCALLTYPE
dxgi_factory_GetPrivateData
(
IDXGIFactory
*
iface
,
REFGUID
guid
,
UINT
*
data_size
,
void
*
data
)
{
FIXME
(
"iface %p, guid %s, data_size %p, data %p stub!
\n
"
,
iface
,
debugstr_guid
(
guid
),
data_size
,
data
);
...
...
@@ -96,7 +96,7 @@ HRESULT STDMETHODCALLTYPE dxgi_factory_GetPrivateData(IDXGIFactory* iface,
return
E_NOTIMPL
;
}
HRESULT
STDMETHODCALLTYPE
dxgi_factory_GetParent
(
IDXGIFactory
*
iface
,
REFIID
riid
,
void
**
parent
)
static
HRESULT
STDMETHODCALLTYPE
dxgi_factory_GetParent
(
IDXGIFactory
*
iface
,
REFIID
riid
,
void
**
parent
)
{
FIXME
(
"iface %p, riid %s, parent %p stub!
\n
"
,
iface
,
debugstr_guid
(
riid
),
parent
);
...
...
@@ -105,28 +105,28 @@ HRESULT STDMETHODCALLTYPE dxgi_factory_GetParent(IDXGIFactory* iface, REFIID rii
/* IDXGIFactory methods */
HRESULT
STDMETHODCALLTYPE
dxgi_factory_EnumAdapters
(
IDXGIFactory
*
iface
,
UINT
adapter_idx
,
IDXGIAdapter
**
adapter
)
static
HRESULT
STDMETHODCALLTYPE
dxgi_factory_EnumAdapters
(
IDXGIFactory
*
iface
,
UINT
adapter_idx
,
IDXGIAdapter
**
adapter
)
{
FIXME
(
"iface %p, adapter_idx %u, adapter %p stub!
\n
"
,
iface
,
adapter_idx
,
adapter
);
return
E_NOTIMPL
;
}
HRESULT
STDMETHODCALLTYPE
dxgi_factory_MakeWindowAssociation
(
IDXGIFactory
*
iface
,
HWND
window
,
UINT
flags
)
static
HRESULT
STDMETHODCALLTYPE
dxgi_factory_MakeWindowAssociation
(
IDXGIFactory
*
iface
,
HWND
window
,
UINT
flags
)
{
FIXME
(
"iface %p, window %p, flags %#x stub!
\n\n
"
,
iface
,
window
,
flags
);
return
E_NOTIMPL
;
}
HRESULT
STDMETHODCALLTYPE
dxgi_factory_GetWindowAssociation
(
IDXGIFactory
*
iface
,
HWND
*
window
)
static
HRESULT
STDMETHODCALLTYPE
dxgi_factory_GetWindowAssociation
(
IDXGIFactory
*
iface
,
HWND
*
window
)
{
FIXME
(
"iface %p, window %p stub!
\n
"
,
iface
,
window
);
return
E_NOTIMPL
;
}
HRESULT
STDMETHODCALLTYPE
dxgi_factory_CreateSwapChain
(
IDXGIFactory
*
iface
,
static
HRESULT
STDMETHODCALLTYPE
dxgi_factory_CreateSwapChain
(
IDXGIFactory
*
iface
,
IUnknown
*
device
,
DXGI_SWAP_CHAIN_DESC
*
desc
,
IDXGISwapChain
**
swapchain
)
{
FIXME
(
"iface %p, device %p, desc %p, swapchain %p stub!
\n
"
,
iface
,
device
,
desc
,
swapchain
);
...
...
@@ -134,7 +134,7 @@ HRESULT STDMETHODCALLTYPE dxgi_factory_CreateSwapChain(IDXGIFactory* iface,
return
E_NOTIMPL
;
}
HRESULT
STDMETHODCALLTYPE
dxgi_factory_CreateSoftwareAdapter
(
IDXGIFactory
*
iface
,
static
HRESULT
STDMETHODCALLTYPE
dxgi_factory_CreateSoftwareAdapter
(
IDXGIFactory
*
iface
,
HMODULE
swrast
,
IDXGIAdapter
**
adapter
)
{
FIXME
(
"iface %p, swrast %p, adapter %p stub!
\n
"
,
iface
,
swrast
,
adapter
);
...
...
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