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
bd5488cd
Commit
bd5488cd
authored
Feb 15, 2007
by
H. Verbeet
Committed by
Alexandre Julliard
Feb 16, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Add WINED3DCREATE flags and use them.
parent
a4bc52a8
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
1 deletion
+11
-1
context.c
dlls/wined3d/context.c
+1
-1
wined3d_types.h
include/wine/wined3d_types.h
+10
-0
No files found.
dlls/wined3d/context.c
View file @
bd5488cd
...
...
@@ -596,7 +596,7 @@ static inline void SetupForBlit(IWineD3DDeviceImpl *This, WineD3DContext *contex
*
*****************************************************************************/
void
ActivateContext
(
IWineD3DDeviceImpl
*
This
,
IWineD3DSurface
*
target
,
ContextUsage
usage
)
{
DWORD
tid
=
This
->
createParms
.
BehaviorFlags
&
D3DCREATE_MULTITHREADED
?
GetCurrentThreadId
()
:
0
;
DWORD
tid
=
This
->
createParms
.
BehaviorFlags
&
WINE
D3DCREATE_MULTITHREADED
?
GetCurrentThreadId
()
:
0
;
int
i
;
DWORD
dirtyState
,
idx
;
BYTE
shift
;
...
...
include/wine/wined3d_types.h
View file @
bd5488cd
...
...
@@ -1565,4 +1565,14 @@ typedef enum _WINED3DSURFTYPE {
/* SetPrivateData flags */
#define WINED3DSPD_IUNKNOWN 0x00000001
/* IWineD3D::CreateDevice behaviour flags */
#define WINED3DCREATE_FPU_PRESERVE 0x00000002
#define WINED3DCREATE_MULTITHREADED 0x00000004
#define WINED3DCREATE_PUREDEVICE 0x00000010
#define WINED3DCREATE_SOFTWARE_VERTEXPROCESSING 0x00000020
#define WINED3DCREATE_HARDWARE_VERTEXPROCESSING 0x00000040
#define WINED3DCREATE_MIXED_VERTEXPROCESSING 0x00000080
#define WINED3DCREATE_DISABLE_DRIVER_MANAGEMENT 0x00000100
#define WINED3DCREATE_ADAPTERGROUP_DEVICE 0x00000200
#endif
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