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
08dc9e00
Commit
08dc9e00
authored
May 09, 2006
by
Stefan Dösinger
Committed by
Alexandre Julliard
May 09, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Implement IWineD3DSurface::IsLost and Restore.
parent
10ff0d81
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
4 deletions
+11
-4
surface.c
dlls/wined3d/surface.c
+10
-4
wined3d_private.h
dlls/wined3d/wined3d_private.h
+1
-0
No files found.
dlls/wined3d/surface.c
View file @
08dc9e00
...
...
@@ -1698,13 +1698,19 @@ HRESULT WINAPI IWineD3DSurfaceImpl_GetFlipStatus(IWineD3DSurface *iface, DWORD F
}
HRESULT
WINAPI
IWineD3DSurfaceImpl_IsLost
(
IWineD3DSurface
*
iface
)
{
FIXME
(
"This is unimplemented for now(d3d7 merge)
\n
"
);
return
WINED3DERR_INVALIDCALL
;
IWineD3DSurfaceImpl
*
This
=
(
IWineD3DSurfaceImpl
*
)
iface
;
TRACE
(
"(%p)
\n
"
,
This
);
return
This
->
Flags
&
SFLAG_LOST
?
DDERR_SURFACELOST
:
WINED3D_OK
;
}
HRESULT
WINAPI
IWineD3DSurfaceImpl_Restore
(
IWineD3DSurface
*
iface
)
{
FIXME
(
"This is unimplemented for now(d3d7 merge)
\n
"
);
return
WINED3DERR_INVALIDCALL
;
IWineD3DSurfaceImpl
*
This
=
(
IWineD3DSurfaceImpl
*
)
iface
;
TRACE
(
"(%p)
\n
"
,
This
);
/* So far we don't lose anything :) */
This
->
Flags
&=
~
SFLAG_LOST
;
return
WINED3D_OK
;
}
HRESULT
WINAPI
IWineD3DSurfaceImpl_BltFast
(
IWineD3DSurface
*
iface
,
DWORD
dstx
,
DWORD
dsty
,
IWineD3DSurface
*
Source
,
RECT
*
rsrc
,
DWORD
trans
)
{
...
...
dlls/wined3d/wined3d_private.h
View file @
08dc9e00
...
...
@@ -855,6 +855,7 @@ extern const IWineD3DSurfaceVtbl IWineD3DSurface_Vtbl;
#define SFLAG_DYNCHANGE 0x1800
/* Surface contents are changed very often, implies DYNLOCK */
#define SFLAG_DCINUSE 0x2000
/* Set between GetDC and ReleaseDC calls */
#define SFLAG_NEWDC 0x4000
/* To inform LockRect about a new dc */
#define SFLAG_LOST 0x8000
/* Surface lost flag for DDraw */
/* In some conditions the surface memory must not be freed:
* SFLAG_OVERSIZE: Not all data can be kept in GL
...
...
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