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
e71468c7
Commit
e71468c7
authored
Apr 07, 2006
by
Stefan Dösinger
Committed by
Alexandre Julliard
Apr 07, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Add WINED3DLOCKED_BOX to wined3d_types.h.
parent
14faf128
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
13 additions
and
6 deletions
+13
-6
volume.c
dlls/d3d8/volume.c
+1
-1
volumetexture.c
dlls/d3d8/volumetexture.c
+1
-1
volume.c
dlls/wined3d/volume.c
+1
-1
volumetexture.c
dlls/wined3d/volumetexture.c
+1
-1
wined3d_interface.h
include/wine/wined3d_interface.h
+2
-2
wined3d_types.h
include/wine/wined3d_types.h
+7
-0
No files found.
dlls/d3d8/volume.c
View file @
e71468c7
...
...
@@ -152,7 +152,7 @@ HRESULT WINAPI IDirect3DVolume8Impl_GetDesc(LPDIRECT3DVOLUME8 iface, D3DVOLUME_D
HRESULT
WINAPI
IDirect3DVolume8Impl_LockBox
(
LPDIRECT3DVOLUME8
iface
,
D3DLOCKED_BOX
*
pLockedVolume
,
CONST
D3DBOX
*
pBox
,
DWORD
Flags
)
{
IDirect3DVolume8Impl
*
This
=
(
IDirect3DVolume8Impl
*
)
iface
;
TRACE
(
"(%p) relay %p %p %p %ld
\n
"
,
This
,
This
->
wineD3DVolume
,
pLockedVolume
,
pBox
,
Flags
);
return
IWineD3DVolume_LockBox
(
This
->
wineD3DVolume
,
pLockedVolume
,
pBox
,
Flags
);
return
IWineD3DVolume_LockBox
(
This
->
wineD3DVolume
,
(
WINED3DLOCKED_BOX
*
)
pLockedVolume
,
pBox
,
Flags
);
}
HRESULT
WINAPI
IDirect3DVolume8Impl_UnlockBox
(
LPDIRECT3DVOLUME8
iface
)
{
...
...
dlls/d3d8/volumetexture.c
View file @
e71468c7
...
...
@@ -169,7 +169,7 @@ HRESULT WINAPI IDirect3DVolumeTexture8Impl_GetVolumeLevel(LPDIRECT3DVOLUMETEXTUR
HRESULT
WINAPI
IDirect3DVolumeTexture8Impl_LockBox
(
LPDIRECT3DVOLUMETEXTURE8
iface
,
UINT
Level
,
D3DLOCKED_BOX
*
pLockedVolume
,
CONST
D3DBOX
*
pBox
,
DWORD
Flags
)
{
IDirect3DVolumeTexture8Impl
*
This
=
(
IDirect3DVolumeTexture8Impl
*
)
iface
;
TRACE
(
"(%p) Relay %p %p %p %ld
\n
"
,
This
,
This
->
wineD3DVolumeTexture
,
pLockedVolume
,
pBox
,
Flags
);
return
IWineD3DVolumeTexture_LockBox
(
This
->
wineD3DVolumeTexture
,
Level
,
pLockedVolume
,
pBox
,
Flags
);
return
IWineD3DVolumeTexture_LockBox
(
This
->
wineD3DVolumeTexture
,
Level
,
(
WINED3DLOCKED_BOX
*
)
pLockedVolume
,
pBox
,
Flags
);
}
HRESULT
WINAPI
IDirect3DVolumeTexture8Impl_UnlockBox
(
LPDIRECT3DVOLUMETEXTURE8
iface
,
UINT
Level
)
{
...
...
dlls/wined3d/volume.c
View file @
e71468c7
...
...
@@ -159,7 +159,7 @@ HRESULT WINAPI IWineD3DVolumeImpl_GetDesc(IWineD3DVolume *iface, WINED3DVOLUME_D
return
D3D_OK
;
}
HRESULT
WINAPI
IWineD3DVolumeImpl_LockBox
(
IWineD3DVolume
*
iface
,
D3DLOCKED_BOX
*
pLockedVolume
,
CONST
D3DBOX
*
pBox
,
DWORD
Flags
)
{
HRESULT
WINAPI
IWineD3DVolumeImpl_LockBox
(
IWineD3DVolume
*
iface
,
WINE
D3DLOCKED_BOX
*
pLockedVolume
,
CONST
D3DBOX
*
pBox
,
DWORD
Flags
)
{
IWineD3DVolumeImpl
*
This
=
(
IWineD3DVolumeImpl
*
)
iface
;
FIXME
(
"(%p) : pBox=%p stub
\n
"
,
This
,
pBox
);
...
...
dlls/wined3d/volumetexture.c
View file @
e71468c7
...
...
@@ -229,7 +229,7 @@ HRESULT WINAPI IWineD3DVolumeTextureImpl_GetVolumeLevel(IWineD3DVolumeTexture *i
return
D3D_OK
;
}
HRESULT
WINAPI
IWineD3DVolumeTextureImpl_LockBox
(
IWineD3DVolumeTexture
*
iface
,
UINT
Level
,
D3DLOCKED_BOX
*
pLockedVolume
,
CONST
D3DBOX
*
pBox
,
DWORD
Flags
)
{
HRESULT
WINAPI
IWineD3DVolumeTextureImpl_LockBox
(
IWineD3DVolumeTexture
*
iface
,
UINT
Level
,
WINE
D3DLOCKED_BOX
*
pLockedVolume
,
CONST
D3DBOX
*
pBox
,
DWORD
Flags
)
{
HRESULT
hr
;
IWineD3DVolumeTextureImpl
*
This
=
(
IWineD3DVolumeTextureImpl
*
)
iface
;
...
...
include/wine/wined3d_interface.h
View file @
e71468c7
...
...
@@ -992,7 +992,7 @@ DECLARE_INTERFACE_(IWineD3DVolumeTexture,IWineD3DBaseTexture)
/*** IWineD3DVolumeTexture methods ***/
STDMETHOD
(
GetLevelDesc
)(
THIS_
UINT
Level
,
WINED3DVOLUME_DESC
*
pDesc
)
PURE
;
STDMETHOD
(
GetVolumeLevel
)(
THIS_
UINT
Level
,
struct
IWineD3DVolume
**
ppVolumeLevel
)
PURE
;
STDMETHOD
(
LockBox
)(
THIS_
UINT
Level
,
D3DLOCKED_BOX
*
pLockedVolume
,
CONST
D3DBOX
*
pBox
,
DWORD
Flags
)
PURE
;
STDMETHOD
(
LockBox
)(
THIS_
UINT
Level
,
WINE
D3DLOCKED_BOX
*
pLockedVolume
,
CONST
D3DBOX
*
pBox
,
DWORD
Flags
)
PURE
;
STDMETHOD
(
UnlockBox
)(
THIS_
UINT
Level
)
PURE
;
STDMETHOD
(
AddDirtyBox
)(
THIS_
CONST
D3DBOX
*
pDirtyBox
)
PURE
;
};
...
...
@@ -1140,7 +1140,7 @@ DECLARE_INTERFACE_(IWineD3DVolume,IWineD3DResource)
STDMETHOD
(
GetContainerParent
)(
THIS_
IUnknown
**
ppContainerParent
)
PURE
;
STDMETHOD
(
GetContainer
)(
THIS_
REFIID
riid
,
void
**
ppContainer
)
PURE
;
STDMETHOD
(
GetDesc
)(
THIS_
WINED3DVOLUME_DESC
*
pDesc
)
PURE
;
STDMETHOD
(
LockBox
)(
THIS_
D3DLOCKED_BOX
*
pLockedVolume
,
CONST
D3DBOX
*
pBox
,
DWORD
Flags
)
PURE
;
STDMETHOD
(
LockBox
)(
THIS_
WINE
D3DLOCKED_BOX
*
pLockedVolume
,
CONST
D3DBOX
*
pBox
,
DWORD
Flags
)
PURE
;
STDMETHOD
(
UnlockBox
)(
THIS
)
PURE
;
STDMETHOD
(
AddDirtyBox
)(
THIS_
CONST
D3DBOX
*
pDirtyBox
)
PURE
;
STDMETHOD
(
CleanDirtyBox
)(
THIS
)
PURE
;
...
...
include/wine/wined3d_types.h
View file @
e71468c7
...
...
@@ -695,6 +695,13 @@ typedef struct _WINED3DLOCKED_RECT {
void
*
pBits
;
}
WINED3DLOCKED_RECT
;
typedef
struct
_WINED3DLOCKED_BOX
{
INT
RowPitch
;
INT
SlicePitch
;
void
*
pBits
;
}
WINED3DLOCKED_BOX
;
/*Vertex cache optimization hints.*/
typedef
struct
WINED3DDEVINFO_VCACHE
{
/*Must be a 4 char code FOURCC (e.g. CACH)*/
...
...
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