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
7e67bced
Commit
7e67bced
authored
Jan 07, 2011
by
Henri Verbeet
Committed by
Alexandre Julliard
Jan 07, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Pass an IWineD3DResourceImpl pointer to resource_set_priority().
parent
2d9748b1
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
22 additions
and
18 deletions
+22
-18
buffer.c
dlls/wined3d/buffer.c
+1
-1
cubetexture.c
dlls/wined3d/cubetexture.c
+3
-2
resource.c
dlls/wined3d/resource.c
+5
-6
surface_base.c
dlls/wined3d/surface_base.c
+3
-2
texture.c
dlls/wined3d/texture.c
+3
-2
volume.c
dlls/wined3d/volume.c
+3
-2
volumetexture.c
dlls/wined3d/volumetexture.c
+3
-2
wined3d_private.h
dlls/wined3d/wined3d_private.h
+1
-1
No files found.
dlls/wined3d/buffer.c
View file @
7e67bced
...
...
@@ -780,7 +780,7 @@ static HRESULT STDMETHODCALLTYPE buffer_FreePrivateData(IWineD3DBuffer *iface, R
static
DWORD
STDMETHODCALLTYPE
buffer_SetPriority
(
IWineD3DBuffer
*
iface
,
DWORD
priority
)
{
return
resource_set_priority
((
IWineD3DResource
*
)
iface
,
priority
);
return
resource_set_priority
((
IWineD3DResource
Impl
*
)
iface
,
priority
);
}
static
DWORD
STDMETHODCALLTYPE
buffer_GetPriority
(
IWineD3DBuffer
*
iface
)
...
...
dlls/wined3d/cubetexture.c
View file @
7e67bced
...
...
@@ -229,8 +229,9 @@ static HRESULT WINAPI IWineD3DCubeTextureImpl_FreePrivateData(IWineD3DCubeTextur
return
resource_free_private_data
((
IWineD3DResourceImpl
*
)
iface
,
refguid
);
}
static
DWORD
WINAPI
IWineD3DCubeTextureImpl_SetPriority
(
IWineD3DCubeTexture
*
iface
,
DWORD
PriorityNew
)
{
return
resource_set_priority
((
IWineD3DResource
*
)
iface
,
PriorityNew
);
static
DWORD
WINAPI
IWineD3DCubeTextureImpl_SetPriority
(
IWineD3DCubeTexture
*
iface
,
DWORD
priority
)
{
return
resource_set_priority
((
IWineD3DResourceImpl
*
)
iface
,
priority
);
}
static
DWORD
WINAPI
IWineD3DCubeTextureImpl_GetPriority
(
IWineD3DCubeTexture
*
iface
)
...
...
dlls/wined3d/resource.c
View file @
7e67bced
...
...
@@ -250,13 +250,12 @@ HRESULT resource_free_private_data(struct IWineD3DResourceImpl *resource, REFGUI
return
WINED3D_OK
;
}
DWORD
resource_set_priority
(
IWineD3DResource
*
iface
,
DWORD
PriorityNew
)
DWORD
resource_set_priority
(
struct
IWineD3DResourceImpl
*
resource
,
DWORD
priority
)
{
IWineD3DResourceImpl
*
This
=
(
IWineD3DResourceImpl
*
)
iface
;
DWORD
PriorityOld
=
This
->
resource
.
priority
;
This
->
resource
.
priority
=
PriorityNew
;
TRACE
(
"(%p) : new priority %d, returning old priority %d
\n
"
,
This
,
PriorityNew
,
PriorityOld
);
return
PriorityOld
;
DWORD
prev
=
resource
->
resource
.
priority
;
resource
->
resource
.
priority
=
priority
;
TRACE
(
"resource %p, new priority %u, returning old priority %u.
\n
"
,
resource
,
priority
,
prev
);
return
prev
;
}
DWORD
resource_get_priority
(
struct
IWineD3DResourceImpl
*
resource
)
...
...
dlls/wined3d/surface_base.c
View file @
7e67bced
...
...
@@ -128,8 +128,9 @@ HRESULT WINAPI IWineD3DBaseSurfaceImpl_FreePrivateData(IWineD3DSurface *iface, R
return
resource_free_private_data
((
IWineD3DResourceImpl
*
)
iface
,
refguid
);
}
DWORD
WINAPI
IWineD3DBaseSurfaceImpl_SetPriority
(
IWineD3DSurface
*
iface
,
DWORD
PriorityNew
)
{
return
resource_set_priority
((
IWineD3DResource
*
)
iface
,
PriorityNew
);
DWORD
WINAPI
IWineD3DBaseSurfaceImpl_SetPriority
(
IWineD3DSurface
*
iface
,
DWORD
priority
)
{
return
resource_set_priority
((
IWineD3DResourceImpl
*
)
iface
,
priority
);
}
DWORD
WINAPI
IWineD3DBaseSurfaceImpl_GetPriority
(
IWineD3DSurface
*
iface
)
...
...
dlls/wined3d/texture.c
View file @
7e67bced
...
...
@@ -254,8 +254,9 @@ static HRESULT WINAPI IWineD3DTextureImpl_FreePrivateData(IWineD3DTexture *iface
return
resource_free_private_data
((
IWineD3DResourceImpl
*
)
iface
,
refguid
);
}
static
DWORD
WINAPI
IWineD3DTextureImpl_SetPriority
(
IWineD3DTexture
*
iface
,
DWORD
PriorityNew
)
{
return
resource_set_priority
((
IWineD3DResource
*
)
iface
,
PriorityNew
);
static
DWORD
WINAPI
IWineD3DTextureImpl_SetPriority
(
IWineD3DTexture
*
iface
,
DWORD
priority
)
{
return
resource_set_priority
((
IWineD3DResourceImpl
*
)
iface
,
priority
);
}
static
DWORD
WINAPI
IWineD3DTextureImpl_GetPriority
(
IWineD3DTexture
*
iface
)
...
...
dlls/wined3d/volume.c
View file @
7e67bced
...
...
@@ -167,8 +167,9 @@ static HRESULT WINAPI IWineD3DVolumeImpl_FreePrivateData(IWineD3DVolume *iface,
return
resource_free_private_data
((
IWineD3DResourceImpl
*
)
iface
,
refguid
);
}
static
DWORD
WINAPI
IWineD3DVolumeImpl_SetPriority
(
IWineD3DVolume
*
iface
,
DWORD
PriorityNew
)
{
return
resource_set_priority
((
IWineD3DResource
*
)
iface
,
PriorityNew
);
static
DWORD
WINAPI
IWineD3DVolumeImpl_SetPriority
(
IWineD3DVolume
*
iface
,
DWORD
priority
)
{
return
resource_set_priority
((
IWineD3DResourceImpl
*
)
iface
,
priority
);
}
static
DWORD
WINAPI
IWineD3DVolumeImpl_GetPriority
(
IWineD3DVolume
*
iface
)
...
...
dlls/wined3d/volumetexture.c
View file @
7e67bced
...
...
@@ -174,8 +174,9 @@ static HRESULT WINAPI IWineD3DVolumeTextureImpl_FreePrivateData(IWineD3DVolumeTe
return
resource_free_private_data
((
IWineD3DResourceImpl
*
)
iface
,
refguid
);
}
static
DWORD
WINAPI
IWineD3DVolumeTextureImpl_SetPriority
(
IWineD3DVolumeTexture
*
iface
,
DWORD
PriorityNew
)
{
return
resource_set_priority
((
IWineD3DResource
*
)
iface
,
PriorityNew
);
static
DWORD
WINAPI
IWineD3DVolumeTextureImpl_SetPriority
(
IWineD3DVolumeTexture
*
iface
,
DWORD
priority
)
{
return
resource_set_priority
((
IWineD3DResourceImpl
*
)
iface
,
priority
);
}
static
DWORD
WINAPI
IWineD3DVolumeTextureImpl_GetPriority
(
IWineD3DVolumeTexture
*
iface
)
...
...
dlls/wined3d/wined3d_private.h
View file @
7e67bced
...
...
@@ -1837,7 +1837,7 @@ HRESULT resource_init(struct IWineD3DResourceImpl *resource, WINED3DRESOURCETYPE
IWineD3DDeviceImpl
*
device
,
UINT
size
,
DWORD
usage
,
const
struct
wined3d_format
*
format
,
WINED3DPOOL
pool
,
void
*
parent
,
const
struct
wined3d_parent_ops
*
parent_ops
)
DECLSPEC_HIDDEN
;
WINED3DRESOURCETYPE
resource_get_type
(
IWineD3DResource
*
iface
)
DECLSPEC_HIDDEN
;
DWORD
resource_set_priority
(
IWineD3DResource
*
iface
,
DWORD
new_
priority
)
DECLSPEC_HIDDEN
;
DWORD
resource_set_priority
(
struct
IWineD3DResourceImpl
*
resource
,
DWORD
priority
)
DECLSPEC_HIDDEN
;
HRESULT
resource_set_private_data
(
struct
IWineD3DResourceImpl
*
resource
,
REFGUID
guid
,
const
void
*
data
,
DWORD
data_size
,
DWORD
flags
)
DECLSPEC_HIDDEN
;
void
resource_unload
(
IWineD3DResourceImpl
*
resource
)
DECLSPEC_HIDDEN
;
...
...
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