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
e59ddb0a
Commit
e59ddb0a
authored
Jan 12, 2008
by
Stefan Dösinger
Committed by
Alexandre Julliard
Jan 14, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Add a new IWineD3DResource::UnLoad method.
parent
516008ff
Hide whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
86 additions
and
4 deletions
+86
-4
basetexture.c
dlls/wined3d/basetexture.c
+5
-0
cubetexture.c
dlls/wined3d/cubetexture.c
+5
-0
indexbuffer.c
dlls/wined3d/indexbuffer.c
+5
-0
resource.c
dlls/wined3d/resource.c
+6
-0
surface.c
dlls/wined3d/surface.c
+6
-0
surface_gdi.c
dlls/wined3d/surface_gdi.c
+19
-3
texture.c
dlls/wined3d/texture.c
+5
-0
vertexbuffer.c
dlls/wined3d/vertexbuffer.c
+5
-0
volume.c
dlls/wined3d/volume.c
+5
-0
volumetexture.c
dlls/wined3d/volumetexture.c
+5
-0
wined3d_private.h
dlls/wined3d/wined3d_private.h
+1
-0
wined3d_interface.h
include/wine/wined3d_interface.h
+19
-1
No files found.
dlls/wined3d/basetexture.c
View file @
e59ddb0a
...
...
@@ -111,6 +111,10 @@ void WINAPI IWineD3DBaseTextureImpl_PreLoad(IWineD3DBaseTexture *ifac
IWineD3DResourceImpl_PreLoad
((
IWineD3DResource
*
)
iface
);
}
void
WINAPI
IWineD3DBaseTextureImpl_UnLoad
(
IWineD3DBaseTexture
*
iface
)
{
IWineD3DResourceImpl_UnLoad
((
IWineD3DResource
*
)
iface
);
}
WINED3DRESOURCETYPE
WINAPI
IWineD3DBaseTextureImpl_GetType
(
IWineD3DBaseTexture
*
iface
)
{
return
IWineD3DResourceImpl_GetType
((
IWineD3DResource
*
)
iface
);
}
...
...
@@ -488,6 +492,7 @@ static const IWineD3DBaseTextureVtbl IWineD3DBaseTexture_Vtbl =
IWineD3DBaseTextureImpl_SetPriority
,
IWineD3DBaseTextureImpl_GetPriority
,
IWineD3DBaseTextureImpl_PreLoad
,
IWineD3DBaseTextureImpl_UnLoad
,
IWineD3DBaseTextureImpl_GetType
,
/*IWineD3DBaseTexture*/
IWineD3DBaseTextureImpl_SetLOD
,
...
...
dlls/wined3d/cubetexture.c
View file @
e59ddb0a
...
...
@@ -158,6 +158,10 @@ static void WINAPI IWineD3DCubeTextureImpl_PreLoad(IWineD3DCubeTexture *iface) {
return
;
}
static
void
WINAPI
IWineD3DCubeTextureImpl_UnLoad
(
IWineD3DCubeTexture
*
iface
)
{
IWineD3DResourceImpl_UnLoad
((
IWineD3DResource
*
)
iface
);
}
static
WINED3DRESOURCETYPE
WINAPI
IWineD3DCubeTextureImpl_GetType
(
IWineD3DCubeTexture
*
iface
)
{
return
IWineD3DResourceImpl_GetType
((
IWineD3DResource
*
)
iface
);
}
...
...
@@ -359,6 +363,7 @@ const IWineD3DCubeTextureVtbl IWineD3DCubeTexture_Vtbl =
IWineD3DCubeTextureImpl_SetPriority
,
IWineD3DCubeTextureImpl_GetPriority
,
IWineD3DCubeTextureImpl_PreLoad
,
IWineD3DCubeTextureImpl_UnLoad
,
IWineD3DCubeTextureImpl_GetType
,
/* IWineD3DBaseTexture */
IWineD3DCubeTextureImpl_SetLOD
,
...
...
dlls/wined3d/indexbuffer.c
View file @
e59ddb0a
...
...
@@ -110,6 +110,10 @@ static void WINAPI IWineD3DIndexBufferImpl_PreLoad(IWineD3DIndexBuffer *iface) {
IWineD3DResourceImpl_PreLoad
((
IWineD3DResource
*
)
iface
);
}
static
void
WINAPI
IWineD3DIndexBufferImpl_UnLoad
(
IWineD3DIndexBuffer
*
iface
)
{
IWineD3DResourceImpl_UnLoad
((
IWineD3DResource
*
)
iface
);
}
static
WINED3DRESOURCETYPE
WINAPI
IWineD3DIndexBufferImpl_GetType
(
IWineD3DIndexBuffer
*
iface
)
{
return
IWineD3DResourceImpl_GetType
((
IWineD3DResource
*
)
iface
);
}
...
...
@@ -201,6 +205,7 @@ const IWineD3DIndexBufferVtbl IWineD3DIndexBuffer_Vtbl =
IWineD3DIndexBufferImpl_SetPriority
,
IWineD3DIndexBufferImpl_GetPriority
,
IWineD3DIndexBufferImpl_PreLoad
,
IWineD3DIndexBufferImpl_UnLoad
,
IWineD3DIndexBufferImpl_GetType
,
/* IWineD3DIndexBuffer */
IWineD3DIndexBufferImpl_Lock
,
...
...
dlls/wined3d/resource.c
View file @
e59ddb0a
...
...
@@ -235,6 +235,11 @@ void WINAPI IWineD3DResourceImpl_PreLoad(IWineD3DResource *iface) {
FIXME
(
"(%p) : stub
\n
"
,
This
);
}
void
WINAPI
IWineD3DResourceImpl_UnLoad
(
IWineD3DResource
*
iface
)
{
IWineD3DResourceImpl
*
This
=
(
IWineD3DResourceImpl
*
)
iface
;
FIXME
(
"(%p) : stub
\n
"
,
This
);
}
WINED3DRESOURCETYPE
WINAPI
IWineD3DResourceImpl_GetType
(
IWineD3DResource
*
iface
)
{
IWineD3DResourceImpl
*
This
=
(
IWineD3DResourceImpl
*
)
iface
;
TRACE
(
"(%p) : returning %d
\n
"
,
This
,
This
->
resource
.
resourceType
);
...
...
@@ -271,5 +276,6 @@ static const IWineD3DResourceVtbl IWineD3DResource_Vtbl =
IWineD3DResourceImpl_SetPriority
,
IWineD3DResourceImpl_GetPriority
,
IWineD3DResourceImpl_PreLoad
,
IWineD3DResourceImpl_UnLoad
,
IWineD3DResourceImpl_GetType
};
dlls/wined3d/surface.c
View file @
e59ddb0a
...
...
@@ -489,6 +489,11 @@ void WINAPI IWineD3DSurfaceImpl_PreLoad(IWineD3DSurface *iface) {
return
;
}
void
WINAPI
IWineD3DSurfaceImpl_UnLoad
(
IWineD3DSurface
*
iface
)
{
FIXME
(
"(%p): Stub!
\n
"
,
iface
);
return
;
}
/* ******************************************************
IWineD3DSurface IWineD3DSurface parts follow
****************************************************** */
...
...
@@ -3936,6 +3941,7 @@ const IWineD3DSurfaceVtbl IWineD3DSurface_Vtbl =
IWineD3DBaseSurfaceImpl_SetPriority
,
IWineD3DBaseSurfaceImpl_GetPriority
,
IWineD3DSurfaceImpl_PreLoad
,
IWineD3DSurfaceImpl_UnLoad
,
IWineD3DBaseSurfaceImpl_GetType
,
/* IWineD3DSurface */
IWineD3DBaseSurfaceImpl_GetContainer
,
...
...
dlls/wined3d/surface_gdi.c
View file @
e59ddb0a
...
...
@@ -183,6 +183,20 @@ IWineGDISurfaceImpl_PreLoad(IWineD3DSurface *iface)
}
/*****************************************************************************
* IWineD3DSurface::Unoad, GDI version
*
* This call is unsupported on GDI surfaces, if it's called something went
* wrong in the parent library. Write an informative warning
*
*****************************************************************************/
static
void
WINAPI
IWineGDISurfaceImpl_UnLoad
(
IWineD3DSurface
*
iface
)
{
ERR
(
"(%p): UnLoad is not supported on X11 surfaces!
\n
"
,
iface
);
ERR
(
"(%p): Most likely the parent library did something wrong.
\n
"
,
iface
);
ERR
(
"(%p): Please report to wine-devel
\n
"
,
iface
);
}
/*****************************************************************************
* IWineD3DSurface::LockRect, GDI version
*
* Locks the surface and returns a pointer to the surface memory
...
...
@@ -490,13 +504,14 @@ const char* filename)
fwrite
(
output
,
3
*
This
->
pow2Width
,
1
,
f
);
}
}
else
{
int
red_shift
,
green_shift
,
blue_shift
,
pix_width
;
int
red_shift
,
green_shift
,
blue_shift
,
pix_width
,
alpha_shift
;
pix_width
=
This
->
bytesPerPixel
;
red_shift
=
get_shift
(
formatEntry
->
redMask
);
green_shift
=
get_shift
(
formatEntry
->
greenMask
);
blue_shift
=
get_shift
(
formatEntry
->
blueMask
);
alpha_shift
=
get_shift
(
formatEntry
->
alphaMask
);
for
(
y
=
0
;
y
<
This
->
pow2Height
;
y
++
)
{
unsigned
char
*
src
=
(
unsigned
char
*
)
This
->
resource
.
allocatedMemory
+
(
y
*
1
*
IWineD3DSurface_GetPitch
(
iface
));
...
...
@@ -515,8 +530,8 @@ const char* filename)
output
[
3
*
x
+
0
]
=
red_shift
>
0
?
comp
>>
red_shift
:
comp
<<
-
red_shift
;
comp
=
color
&
formatEntry
->
greenMask
;
output
[
3
*
x
+
1
]
=
green_shift
>
0
?
comp
>>
green_shift
:
comp
<<
-
green_shift
;
comp
=
color
&
formatEntry
->
blue
Mask
;
output
[
3
*
x
+
2
]
=
blue_shift
>
0
?
comp
>>
blue_shift
:
comp
<<
-
blue
_shift
;
comp
=
color
&
formatEntry
->
alpha
Mask
;
output
[
3
*
x
+
2
]
=
alpha_shift
>
0
?
comp
>>
alpha_shift
:
comp
<<
-
alpha
_shift
;
}
fwrite
(
output
,
3
*
This
->
pow2Width
,
1
,
f
);
}
...
...
@@ -775,6 +790,7 @@ const IWineD3DSurfaceVtbl IWineGDISurface_Vtbl =
IWineD3DBaseSurfaceImpl_SetPriority
,
IWineD3DBaseSurfaceImpl_GetPriority
,
IWineGDISurfaceImpl_PreLoad
,
IWineGDISurfaceImpl_UnLoad
,
IWineD3DBaseSurfaceImpl_GetType
,
/* IWineD3DSurface */
IWineD3DBaseSurfaceImpl_GetContainer
,
...
...
dlls/wined3d/texture.c
View file @
e59ddb0a
...
...
@@ -142,6 +142,10 @@ static void WINAPI IWineD3DTextureImpl_PreLoad(IWineD3DTexture *iface) {
return
;
}
static
void
WINAPI
IWineD3DTextureImpl_UnLoad
(
IWineD3DTexture
*
iface
)
{
IWineD3DResourceImpl_UnLoad
((
IWineD3DResource
*
)
iface
);
}
static
WINED3DRESOURCETYPE
WINAPI
IWineD3DTextureImpl_GetType
(
IWineD3DTexture
*
iface
)
{
return
IWineD3DResourceImpl_GetType
((
IWineD3DResource
*
)
iface
);
}
...
...
@@ -328,6 +332,7 @@ const IWineD3DTextureVtbl IWineD3DTexture_Vtbl =
IWineD3DTextureImpl_SetPriority
,
IWineD3DTextureImpl_GetPriority
,
IWineD3DTextureImpl_PreLoad
,
IWineD3DTextureImpl_UnLoad
,
IWineD3DTextureImpl_GetType
,
/* IWineD3DBaseTexture */
IWineD3DTextureImpl_SetLOD
,
...
...
dlls/wined3d/vertexbuffer.c
View file @
e59ddb0a
...
...
@@ -596,6 +596,10 @@ static void WINAPI IWineD3DVertexBufferImpl_PreLoad(IWineD3DVertexBuffer *if
HeapFree
(
GetProcessHeap
(),
0
,
data
);
}
static
void
WINAPI
IWineD3DVertexBufferImpl_UnLoad
(
IWineD3DVertexBuffer
*
iface
)
{
IWineD3DResourceImpl_UnLoad
((
IWineD3DResource
*
)
iface
);
}
static
WINED3DRESOURCETYPE
WINAPI
IWineD3DVertexBufferImpl_GetType
(
IWineD3DVertexBuffer
*
iface
)
{
return
IWineD3DResourceImpl_GetType
((
IWineD3DResource
*
)
iface
);
}
...
...
@@ -682,6 +686,7 @@ const IWineD3DVertexBufferVtbl IWineD3DVertexBuffer_Vtbl =
IWineD3DVertexBufferImpl_SetPriority
,
IWineD3DVertexBufferImpl_GetPriority
,
IWineD3DVertexBufferImpl_PreLoad
,
IWineD3DVertexBufferImpl_UnLoad
,
IWineD3DVertexBufferImpl_GetType
,
/* IWineD3DVertexBuffer */
IWineD3DVertexBufferImpl_Lock
,
...
...
dlls/wined3d/volume.c
View file @
e59ddb0a
...
...
@@ -97,6 +97,10 @@ static void WINAPI IWineD3DVolumeImpl_PreLoad(IWineD3DVolume *iface) {
IWineD3DResourceImpl_PreLoad
((
IWineD3DResource
*
)
iface
);
}
static
void
WINAPI
IWineD3DVolumeImpl_UnLoad
(
IWineD3DVolume
*
iface
)
{
IWineD3DResourceImpl_UnLoad
((
IWineD3DResource
*
)
iface
);
}
static
WINED3DRESOURCETYPE
WINAPI
IWineD3DVolumeImpl_GetType
(
IWineD3DVolume
*
iface
)
{
return
IWineD3DResourceImpl_GetType
((
IWineD3DResource
*
)
iface
);
}
...
...
@@ -316,6 +320,7 @@ const IWineD3DVolumeVtbl IWineD3DVolume_Vtbl =
IWineD3DVolumeImpl_SetPriority
,
IWineD3DVolumeImpl_GetPriority
,
IWineD3DVolumeImpl_PreLoad
,
IWineD3DVolumeImpl_UnLoad
,
IWineD3DVolumeImpl_GetType
,
/* IWineD3DVolume */
IWineD3DVolumeImpl_GetContainer
,
...
...
dlls/wined3d/volumetexture.c
View file @
e59ddb0a
...
...
@@ -135,6 +135,10 @@ static void WINAPI IWineD3DVolumeTextureImpl_PreLoad(IWineD3DVolumeTexture *ifac
return
;
}
static
void
WINAPI
IWineD3DVolumeTextureImpl_UnLoad
(
IWineD3DVolumeTexture
*
iface
)
{
IWineD3DResourceImpl_UnLoad
((
IWineD3DResource
*
)
iface
);
}
static
WINED3DRESOURCETYPE
WINAPI
IWineD3DVolumeTextureImpl_GetType
(
IWineD3DVolumeTexture
*
iface
)
{
return
IWineD3DResourceImpl_GetType
((
IWineD3DResource
*
)
iface
);
}
...
...
@@ -299,6 +303,7 @@ const IWineD3DVolumeTextureVtbl IWineD3DVolumeTexture_Vtbl =
IWineD3DVolumeTextureImpl_SetPriority
,
IWineD3DVolumeTextureImpl_GetPriority
,
IWineD3DVolumeTextureImpl_PreLoad
,
IWineD3DVolumeTextureImpl_UnLoad
,
IWineD3DVolumeTextureImpl_GetType
,
/* BaseTexture */
IWineD3DVolumeTextureImpl_SetLOD
,
...
...
dlls/wined3d/wined3d_private.h
View file @
e59ddb0a
...
...
@@ -1603,6 +1603,7 @@ unsigned int count_bits(unsigned int mask);
extern
DWORD
WINAPI
IWineD3DResourceImpl_SetPriority
(
IWineD3DResource
*
iface
,
DWORD
PriorityNew
);
extern
DWORD
WINAPI
IWineD3DResourceImpl_GetPriority
(
IWineD3DResource
*
iface
);
extern
void
WINAPI
IWineD3DResourceImpl_PreLoad
(
IWineD3DResource
*
iface
);
extern
void
WINAPI
IWineD3DResourceImpl_UnLoad
(
IWineD3DResource
*
iface
);
extern
WINED3DRESOURCETYPE
WINAPI
IWineD3DResourceImpl_GetType
(
IWineD3DResource
*
iface
);
/*** class static members ***/
void
IWineD3DResourceImpl_CleanUp
(
IWineD3DResource
*
iface
);
...
...
include/wine/wined3d_interface.h
View file @
e59ddb0a
...
...
@@ -643,6 +643,7 @@ DECLARE_INTERFACE_(IWineD3DResource,IWineD3DBase)
STDMETHOD_
(
DWORD
,
SetPriority
)(
THIS_
DWORD
PriorityNew
)
PURE
;
STDMETHOD_
(
DWORD
,
GetPriority
)(
THIS
)
PURE
;
STDMETHOD_
(
void
,
PreLoad
)(
THIS
)
PURE
;
STDMETHOD_
(
void
,
UnLoad
)(
THIS
)
PURE
;
STDMETHOD_
(
WINED3DRESOURCETYPE
,
GetType
)(
THIS
)
PURE
;
};
#undef INTERFACE
...
...
@@ -662,6 +663,7 @@ DECLARE_INTERFACE_(IWineD3DResource,IWineD3DBase)
#define IWineD3DResource_SetPriority(p,a) (p)->lpVtbl->SetPriority(p,a)
#define IWineD3DResource_GetPriority(p) (p)->lpVtbl->GetPriority(p)
#define IWineD3DResource_PreLoad(p) (p)->lpVtbl->PreLoad(p)
#define IWineD3DResource_UnLoad(p) (p)->lpVtbl->UnLoad(p)
#define IWineD3DResource_GetType(p) (p)->lpVtbl->GetType(p)
#endif
...
...
@@ -685,6 +687,7 @@ DECLARE_INTERFACE_(IWineD3DVertexBuffer,IWineD3DResource)
STDMETHOD_
(
DWORD
,
SetPriority
)(
THIS_
DWORD
PriorityNew
)
PURE
;
STDMETHOD_
(
DWORD
,
GetPriority
)(
THIS
)
PURE
;
STDMETHOD_
(
void
,
PreLoad
)(
THIS
)
PURE
;
STDMETHOD_
(
void
,
UnLoad
)(
THIS
)
PURE
;
STDMETHOD_
(
WINED3DRESOURCETYPE
,
GetType
)(
THIS
)
PURE
;
/*** IWineD3DVertexBuffer methods ***/
STDMETHOD
(
Lock
)(
THIS_
UINT
OffsetToLock
,
UINT
SizeToLock
,
BYTE
**
ppbData
,
DWORD
Flags
)
PURE
;
...
...
@@ -708,6 +711,7 @@ DECLARE_INTERFACE_(IWineD3DVertexBuffer,IWineD3DResource)
#define IWineD3DVertexBuffer_SetPriority(p,a) (p)->lpVtbl->SetPriority(p,a)
#define IWineD3DVertexBuffer_GetPriority(p) (p)->lpVtbl->GetPriority(p)
#define IWineD3DVertexBuffer_PreLoad(p) (p)->lpVtbl->PreLoad(p)
#define IWineD3DVertexBuffer_UnLoad(p) (p)->lpVtbl->UnLoad(p)
#define IWineD3DVertexBuffer_GetType(p) (p)->lpVtbl->GetType(p)
/*** IWineD3DVertexBuffer methods ***/
#define IWineD3DVertexBuffer_Lock(p,a,b,c,d) (p)->lpVtbl->Lock(p,a,b,c,d)
...
...
@@ -735,6 +739,7 @@ DECLARE_INTERFACE_(IWineD3DIndexBuffer,IWineD3DResource)
STDMETHOD_
(
DWORD
,
SetPriority
)(
THIS_
DWORD
PriorityNew
)
PURE
;
STDMETHOD_
(
DWORD
,
GetPriority
)(
THIS
)
PURE
;
STDMETHOD_
(
void
,
PreLoad
)(
THIS
)
PURE
;
STDMETHOD_
(
void
,
UnLoad
)(
THIS
)
PURE
;
STDMETHOD_
(
WINED3DRESOURCETYPE
,
GetType
)(
THIS
)
PURE
;
/*** IWineD3DIndexBuffer methods ***/
STDMETHOD
(
Lock
)(
THIS_
UINT
OffsetToLock
,
UINT
SizeToLock
,
BYTE
**
ppbData
,
DWORD
Flags
)
PURE
;
...
...
@@ -758,6 +763,7 @@ DECLARE_INTERFACE_(IWineD3DIndexBuffer,IWineD3DResource)
#define IWineD3DIndexBuffer_SetPriority(p,a) (p)->lpVtbl->SetPriority(p,a)
#define IWineD3DIndexBuffer_GetPriority(p) (p)->lpVtbl->GetPriority(p)
#define IWineD3DIndexBuffer_PreLoad(p) (p)->lpVtbl->PreLoad(p)
#define IWineD3DIndexBuffer_UnLoad(p) (p)->lpVtbl->UnLoad(p)
#define IWineD3DIndexBuffer_GetType(p) (p)->lpVtbl->GetType(p)
/*** IWineD3DIndexBuffer methods ***/
#define IWineD3DIndexBuffer_Lock(p,a,b,c,d) (p)->lpVtbl->Lock(p,a,b,c,d)
...
...
@@ -787,6 +793,7 @@ DECLARE_INTERFACE_(IWineD3DBaseTexture,IWineD3DResource)
STDMETHOD_
(
DWORD
,
SetPriority
)(
THIS_
DWORD
PriorityNew
)
PURE
;
STDMETHOD_
(
DWORD
,
GetPriority
)(
THIS
)
PURE
;
STDMETHOD_
(
void
,
PreLoad
)(
THIS
)
PURE
;
STDMETHOD_
(
void
,
UnLoad
)(
THIS
)
PURE
;
STDMETHOD_
(
WINED3DRESOURCETYPE
,
GetType
)(
THIS
)
PURE
;
/*** IWineD3DBaseTexture methods ***/
STDMETHOD_
(
DWORD
,
SetLOD
)(
THIS_
DWORD
LODNew
)
PURE
;
...
...
@@ -820,6 +827,7 @@ DECLARE_INTERFACE_(IWineD3DBaseTexture,IWineD3DResource)
#define IWineD3DBaseTexture_SetPriority(p,a) (p)->lpVtbl->SetPriority(p,a)
#define IWineD3DBaseTexture_GetPriority(p) (p)->lpVtbl->GetPriority(p)
#define IWineD3DBaseTexture_PreLoad(p) (p)->lpVtbl->PreLoad(p)
#define IWineD3DBaseTexture_UnLoad(p) (p)->lpVtbl->UnLoad(p)
#define IWineD3DBaseTexture_GetType(p) (p)->lpVtbl->GetType(p)
/*** IWineD3DBaseTexture methods ***/
#define IWineD3DBaseTexture_SetLOD(p,a) (p)->lpVtbl->SetLOD(p,a)
...
...
@@ -857,6 +865,7 @@ DECLARE_INTERFACE_(IWineD3DTexture,IWineD3DBaseTexture)
STDMETHOD_
(
DWORD
,
SetPriority
)(
THIS_
DWORD
PriorityNew
)
PURE
;
STDMETHOD_
(
DWORD
,
GetPriority
)(
THIS
)
PURE
;
STDMETHOD_
(
void
,
PreLoad
)(
THIS
)
PURE
;
STDMETHOD_
(
void
,
UnLoad
)(
THIS
)
PURE
;
STDMETHOD_
(
WINED3DRESOURCETYPE
,
GetType
)(
THIS
)
PURE
;
/*** IWineD3DBaseTexture methods ***/
STDMETHOD_
(
DWORD
,
SetLOD
)(
THIS_
DWORD
LODNew
)
PURE
;
...
...
@@ -896,6 +905,7 @@ DECLARE_INTERFACE_(IWineD3DTexture,IWineD3DBaseTexture)
#define IWineD3DTexture_SetPriority(p,a) (p)->lpVtbl->SetPriority(p,a)
#define IWineD3DTexture_GetPriority(p) (p)->lpVtbl->GetPriority(p)
#define IWineD3DTexture_PreLoad(p) (p)->lpVtbl->PreLoad(p)
#define IWineD3DTexture_UnLoad(p) (p)->lpVtbl->UnLoad(p)
#define IWineD3DTexture_GetType(p) (p)->lpVtbl->GetType(p)
/*** IWineD3DTexture methods: IWineD3DBaseTexture ***/
#define IWineD3DTexture_SetLOD(p,a) (p)->lpVtbl->SetLOD(p,a)
...
...
@@ -939,6 +949,7 @@ DECLARE_INTERFACE_(IWineD3DCubeTexture,IWineD3DBaseTexture)
STDMETHOD_
(
DWORD
,
SetPriority
)(
THIS_
DWORD
PriorityNew
)
PURE
;
STDMETHOD_
(
DWORD
,
GetPriority
)(
THIS
)
PURE
;
STDMETHOD_
(
void
,
PreLoad
)(
THIS
)
PURE
;
STDMETHOD_
(
void
,
UnLoad
)(
THIS
)
PURE
;
STDMETHOD_
(
WINED3DRESOURCETYPE
,
GetType
)(
THIS
)
PURE
;
/*** IWineD3DBaseTexture methods ***/
STDMETHOD_
(
DWORD
,
SetLOD
)(
THIS_
DWORD
LODNew
)
PURE
;
...
...
@@ -978,6 +989,7 @@ DECLARE_INTERFACE_(IWineD3DCubeTexture,IWineD3DBaseTexture)
#define IWineD3DCubeTexture_SetPriority(p,a) (p)->lpVtbl->SetPriority(p,a)
#define IWineD3DCubeTexture_GetPriority(p) (p)->lpVtbl->GetPriority(p)
#define IWineD3DCubeTexture_PreLoad(p) (p)->lpVtbl->PreLoad(p)
#define IWineD3DCubeTexture_UnLoad(p) (p)->lpVtbl->UnLoad(p)
#define IWineD3DCubeTexture_GetType(p) (p)->lpVtbl->GetType(p)
/*** IWineD3DCubeTexture methods: IWineD3DBaseTexture ***/
#define IWineD3DCubeTexture_SetLOD(p,a) (p)->lpVtbl->SetLOD(p,a)
...
...
@@ -1022,6 +1034,7 @@ DECLARE_INTERFACE_(IWineD3DVolumeTexture,IWineD3DBaseTexture)
STDMETHOD_
(
DWORD
,
SetPriority
)(
THIS_
DWORD
PriorityNew
)
PURE
;
STDMETHOD_
(
DWORD
,
GetPriority
)(
THIS
)
PURE
;
STDMETHOD_
(
void
,
PreLoad
)(
THIS
)
PURE
;
STDMETHOD_
(
void
,
UnLoad
)(
THIS
)
PURE
;
STDMETHOD_
(
WINED3DRESOURCETYPE
,
GetType
)(
THIS
)
PURE
;
/*** IWineD3DBaseTexture methods ***/
STDMETHOD_
(
DWORD
,
SetLOD
)(
THIS_
DWORD
LODNew
)
PURE
;
...
...
@@ -1061,6 +1074,7 @@ DECLARE_INTERFACE_(IWineD3DVolumeTexture,IWineD3DBaseTexture)
#define IWineD3DVolumeTexture_SetPriority(p,a) (p)->lpVtbl->SetPriority(p,a)
#define IWineD3DVolumeTexture_GetPriority(p) (p)->lpVtbl->GetPriority(p)
#define IWineD3DVolumeTexture_PreLoad(p) (p)->lpVtbl->PreLoad(p)
#define IWineD3DVolumeTexture_UnLoad(p) (p)->lpVtbl->UnLoad(p)
#define IWineD3DVolumeTexture_GetType(p) (p)->lpVtbl->GetType(p)
/*** IWineD3DVolumeTexture methods: IWineD3DBaseTexture ***/
#define IWineD3DVolumeTexture_SetLOD(p,a) (p)->lpVtbl->SetLOD(p,a)
...
...
@@ -1104,6 +1118,7 @@ DECLARE_INTERFACE_(IWineD3DSurface,IWineD3DResource)
STDMETHOD_
(
DWORD
,
SetPriority
)(
THIS_
DWORD
PriorityNew
)
PURE
;
STDMETHOD_
(
DWORD
,
GetPriority
)(
THIS
)
PURE
;
STDMETHOD_
(
void
,
PreLoad
)(
THIS
)
PURE
;
STDMETHOD_
(
void
,
UnLoad
)(
THIS
)
PURE
;
STDMETHOD_
(
WINED3DRESOURCETYPE
,
GetType
)(
THIS
)
PURE
;
/*** IWineD3DSurface methods ***/
STDMETHOD
(
GetContainer
)(
THIS_
REFIID
riid
,
void
**
ppContainer
)
PURE
;
...
...
@@ -1162,6 +1177,7 @@ DECLARE_INTERFACE_(IWineD3DSurface,IWineD3DResource)
#define IWineD3DSurface_SetPriority(p,a) (p)->lpVtbl->SetPriority(p,a)
#define IWineD3DSurface_GetPriority(p) (p)->lpVtbl->GetPriority(p)
#define IWineD3DSurface_PreLoad(p) (p)->lpVtbl->PreLoad(p)
#define IWineD3DSurface_UnLoad(p) (p)->lpVtbl->UnLoad(p)
#define IWineD3DSurface_GetType(p) (p)->lpVtbl->GetType(p)
/*** IWineD3DSurface methods ***/
#define IWineD3DSurface_GetContainer(p,a,b) (p)->lpVtbl->GetContainer(p,a,b)
...
...
@@ -1224,7 +1240,8 @@ DECLARE_INTERFACE_(IWineD3DVolume,IWineD3DResource)
STDMETHOD_
(
DWORD
,
SetPriority
)(
THIS_
DWORD
PriorityNew
)
PURE
;
STDMETHOD_
(
DWORD
,
GetPriority
)(
THIS
)
PURE
;
STDMETHOD_
(
void
,
PreLoad
)(
THIS
)
PURE
;
STDMETHOD_
(
WINED3DRESOURCETYPE
,
GetType
)(
THIS
)
PURE
;
STDMETHOD_
(
void
,
UnLoad
)(
THIS
)
PURE
;
STDMETHOD_
(
WINED3DRESOURCETYPE
,
GetType
)(
THIS
)
PURE
;
/*** IWineD3DVolume methods ***/
STDMETHOD
(
GetContainer
)(
THIS_
REFIID
riid
,
void
**
ppContainer
)
PURE
;
STDMETHOD
(
GetDesc
)(
THIS_
WINED3DVOLUME_DESC
*
pDesc
)
PURE
;
...
...
@@ -1252,6 +1269,7 @@ DECLARE_INTERFACE_(IWineD3DVolume,IWineD3DResource)
#define IWineD3DVolume_SetPriority(p,a) (p)->lpVtbl->SetPriority(p,a)
#define IWineD3DVolume_GetPriority(p) (p)->lpVtbl->GetPriority(p)
#define IWineD3DVolume_PreLoad(p) (p)->lpVtbl->PreLoad(p)
#define IWineD3DVolume_UnLoad(p) (p)->lpVtbl->UnLoad(p)
#define IWineD3DVolume_GetType(p) (p)->lpVtbl->GetType(p)
/*** IWineD3DVolume methods ***/
#define IWineD3DVolume_GetContainer(p,a,b) (p)->lpVtbl->GetContainer(p,a,b)
...
...
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