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
b59dc811
Commit
b59dc811
authored
Feb 03, 2011
by
Henri Verbeet
Committed by
Alexandre Julliard
Feb 04, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Get rid of the IWineD3DClipper typedefs.
parent
304d7138
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
19 additions
and
15 deletions
+19
-15
clipper.c
dlls/wined3d/clipper.c
+6
-5
surface_base.c
dlls/wined3d/surface_base.c
+9
-6
wined3d_private.h
dlls/wined3d/wined3d_private.h
+4
-4
No files found.
dlls/wined3d/clipper.c
View file @
b59dc811
...
@@ -145,17 +145,18 @@ HRESULT CDECL wined3d_clipper_is_clip_list_changed(const struct wined3d_clipper
...
@@ -145,17 +145,18 @@ HRESULT CDECL wined3d_clipper_is_clip_list_changed(const struct wined3d_clipper
struct
wined3d_clipper
*
CDECL
wined3d_clipper_create
(
void
)
struct
wined3d_clipper
*
CDECL
wined3d_clipper_create
(
void
)
{
{
IWineD3DClipperImpl
*
obj
;
struct
wined3d_clipper
*
clipper
;
TRACE
(
"
\n
"
);
TRACE
(
"
\n
"
);
obj
=
HeapAlloc
(
GetProcessHeap
(),
HEAP_ZERO_MEMORY
,
sizeof
(
*
obj
));
clipper
=
HeapAlloc
(
GetProcessHeap
(),
HEAP_ZERO_MEMORY
,
sizeof
(
*
clipper
));
if
(
!
obj
)
if
(
!
clipper
)
{
{
ERR
(
"Out of memory when trying to allocate a WineD3D Clipper
\n
"
);
ERR
(
"Out of memory when trying to allocate a WineD3D Clipper
\n
"
);
return
NULL
;
return
NULL
;
}
}
wined3d_clipper_incref
(
obj
);
wined3d_clipper_incref
(
clipper
);
return
(
IWineD3DClipper
*
)
obj
;
return
clipper
;
}
}
dlls/wined3d/surface_base.c
View file @
b59dc811
...
@@ -472,21 +472,24 @@ HRESULT WINAPI IWineD3DBaseSurfaceImpl_UpdateOverlay(IWineD3DSurface *iface, con
...
@@ -472,21 +472,24 @@ HRESULT WINAPI IWineD3DBaseSurfaceImpl_UpdateOverlay(IWineD3DSurface *iface, con
return
WINED3D_OK
;
return
WINED3D_OK
;
}
}
HRESULT
WINAPI
IWineD3DBaseSurfaceImpl_SetClipper
(
IWineD3DSurface
*
iface
,
IWineD3DC
lipper
*
clipper
)
HRESULT
WINAPI
IWineD3DBaseSurfaceImpl_SetClipper
(
IWineD3DSurface
*
iface
,
struct
wined3d_c
lipper
*
clipper
)
{
{
IWineD3DSurfaceImpl
*
This
=
(
IWineD3DSurfaceImpl
*
)
iface
;
IWineD3DSurfaceImpl
*
This
=
(
IWineD3DSurfaceImpl
*
)
iface
;
TRACE
(
"(%p)->(%p)
\n
"
,
This
,
clipper
);
This
->
clipper
=
(
IWineD3DClipperImpl
*
)
clipper
;
TRACE
(
"iface %p, clipper %p.
\n
"
,
iface
,
clipper
);
This
->
clipper
=
clipper
;
return
WINED3D_OK
;
return
WINED3D_OK
;
}
}
HRESULT
WINAPI
IWineD3DBaseSurfaceImpl_GetClipper
(
IWineD3DSurface
*
iface
,
IWineD3DC
lipper
**
clipper
)
HRESULT
WINAPI
IWineD3DBaseSurfaceImpl_GetClipper
(
IWineD3DSurface
*
iface
,
struct
wined3d_c
lipper
**
clipper
)
{
{
IWineD3DSurfaceImpl
*
This
=
(
IWineD3DSurfaceImpl
*
)
iface
;
IWineD3DSurfaceImpl
*
This
=
(
IWineD3DSurfaceImpl
*
)
iface
;
TRACE
(
"(%p)->(%p)
\n
"
,
This
,
clipper
);
*
clipper
=
(
IWineD3DClipper
*
)
This
->
clipper
;
TRACE
(
"iface %p, clipper %p.
\n
"
,
iface
,
clipper
);
*
clipper
=
This
->
clipper
;
if
(
*
clipper
)
if
(
*
clipper
)
wined3d_clipper_incref
(
*
clipper
);
wined3d_clipper_incref
(
*
clipper
);
...
...
dlls/wined3d/wined3d_private.h
View file @
b59dc811
...
@@ -58,8 +58,6 @@ typedef struct IWineD3DSwapChainImpl IWineD3DSwapChainImpl;
...
@@ -58,8 +58,6 @@ typedef struct IWineD3DSwapChainImpl IWineD3DSwapChainImpl;
struct
IWineD3DBaseShaderImpl
;
struct
IWineD3DBaseShaderImpl
;
struct
IWineD3DBaseTextureImpl
;
struct
IWineD3DBaseTextureImpl
;
struct
IWineD3DResourceImpl
;
struct
IWineD3DResourceImpl
;
typedef
struct
wined3d_clipper
IWineD3DClipperImpl
;
typedef
struct
wined3d_clipper
IWineD3DClipper
;
/* Texture format fixups */
/* Texture format fixups */
...
@@ -2208,8 +2206,10 @@ HRESULT WINAPI IWineD3DBaseSurfaceImpl_UpdateOverlayZOrder(IWineD3DSurface *ifac
...
@@ -2208,8 +2206,10 @@ HRESULT WINAPI IWineD3DBaseSurfaceImpl_UpdateOverlayZOrder(IWineD3DSurface *ifac
DWORD
flags
,
IWineD3DSurface
*
Ref
)
DECLSPEC_HIDDEN
;
DWORD
flags
,
IWineD3DSurface
*
Ref
)
DECLSPEC_HIDDEN
;
HRESULT
WINAPI
IWineD3DBaseSurfaceImpl_UpdateOverlay
(
IWineD3DSurface
*
iface
,
const
RECT
*
SrcRect
,
HRESULT
WINAPI
IWineD3DBaseSurfaceImpl_UpdateOverlay
(
IWineD3DSurface
*
iface
,
const
RECT
*
SrcRect
,
IWineD3DSurface
*
DstSurface
,
const
RECT
*
DstRect
,
DWORD
flags
,
const
WINEDDOVERLAYFX
*
FX
)
DECLSPEC_HIDDEN
;
IWineD3DSurface
*
DstSurface
,
const
RECT
*
DstRect
,
DWORD
flags
,
const
WINEDDOVERLAYFX
*
FX
)
DECLSPEC_HIDDEN
;
HRESULT
WINAPI
IWineD3DBaseSurfaceImpl_SetClipper
(
IWineD3DSurface
*
iface
,
IWineD3DClipper
*
clipper
)
DECLSPEC_HIDDEN
;
HRESULT
WINAPI
IWineD3DBaseSurfaceImpl_SetClipper
(
IWineD3DSurface
*
iface
,
HRESULT
WINAPI
IWineD3DBaseSurfaceImpl_GetClipper
(
IWineD3DSurface
*
iface
,
IWineD3DClipper
**
clipper
)
DECLSPEC_HIDDEN
;
struct
wined3d_clipper
*
clipper
)
DECLSPEC_HIDDEN
;
HRESULT
WINAPI
IWineD3DBaseSurfaceImpl_GetClipper
(
IWineD3DSurface
*
iface
,
struct
wined3d_clipper
**
clipper
)
DECLSPEC_HIDDEN
;
HRESULT
WINAPI
IWineD3DBaseSurfaceImpl_SetFormat
(
IWineD3DSurface
*
iface
,
HRESULT
WINAPI
IWineD3DBaseSurfaceImpl_SetFormat
(
IWineD3DSurface
*
iface
,
enum
wined3d_format_id
format_id
)
DECLSPEC_HIDDEN
;
enum
wined3d_format_id
format_id
)
DECLSPEC_HIDDEN
;
HRESULT
IWineD3DBaseSurfaceImpl_CreateDIBSection
(
IWineD3DSurface
*
iface
)
DECLSPEC_HIDDEN
;
HRESULT
IWineD3DBaseSurfaceImpl_CreateDIBSection
(
IWineD3DSurface
*
iface
)
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