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
c7f6dc64
Commit
c7f6dc64
authored
Nov 11, 2022
by
Anton Baskanov
Committed by
Alexandre Julliard
Nov 14, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Introduce a new flag to indicate that indirect draws won't be used.
parent
b4f99546
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
3 deletions
+4
-3
directx.c
dlls/d3d8/directx.c
+1
-1
directx.c
dlls/d3d9/directx.c
+1
-1
ddraw_private.h
dlls/ddraw/ddraw_private.h
+1
-1
wined3d.h
include/wine/wined3d.h
+1
-0
No files found.
dlls/d3d8/directx.c
View file @
c7f6dc64
...
...
@@ -476,7 +476,7 @@ BOOL d3d8_init(struct d3d8 *d3d8)
DWORD
flags
=
WINED3D_LEGACY_DEPTH_BIAS
|
WINED3D_VIDMEM_ACCOUNTING
|
WINED3D_HANDLE_RESTORE
|
WINED3D_PIXEL_CENTER_INTEGER
|
WINED3D_LEGACY_UNBOUND_RESOURCE_COLOR
|
WINED3D_NO_PRIMITIVE_RESTART
|
WINED3D_LEGACY_CUBEMAP_FILTERING
;
|
WINED3D_LEGACY_CUBEMAP_FILTERING
|
WINED3D_NO_DRAW_INDIRECT
;
unsigned
int
adapter_idx
,
output_idx
,
adapter_count
,
output_count
=
0
;
struct
wined3d_adapter
*
wined3d_adapter
;
...
...
dlls/d3d9/directx.c
View file @
c7f6dc64
...
...
@@ -685,7 +685,7 @@ BOOL d3d9_init(struct d3d9 *d3d9, BOOL extended)
DWORD
flags
=
WINED3D_PRESENT_CONVERSION
|
WINED3D_HANDLE_RESTORE
|
WINED3D_PIXEL_CENTER_INTEGER
|
WINED3D_SRGB_READ_WRITE_CONTROL
|
WINED3D_LEGACY_UNBOUND_RESOURCE_COLOR
|
WINED3D_NO_PRIMITIVE_RESTART
|
WINED3D_LEGACY_CUBEMAP_FILTERING
|
WINED3D_NORMALIZED_DEPTH_BIAS
;
|
WINED3D_NORMALIZED_DEPTH_BIAS
|
WINED3D_NO_DRAW_INDIRECT
;
unsigned
int
adapter_idx
,
output_idx
,
adapter_count
,
output_count
=
0
;
struct
wined3d_adapter
*
wined3d_adapter
;
...
...
dlls/ddraw/ddraw_private.h
View file @
c7f6dc64
...
...
@@ -66,7 +66,7 @@ struct FvfToDecl
#define DDRAW_WINED3D_FLAGS (WINED3D_LEGACY_DEPTH_BIAS | WINED3D_VIDMEM_ACCOUNTING \
| WINED3D_RESTORE_MODE_ON_ACTIVATE | WINED3D_FOCUS_MESSAGES | WINED3D_PIXEL_CENTER_INTEGER \
| WINED3D_LEGACY_UNBOUND_RESOURCE_COLOR | WINED3D_NO_PRIMITIVE_RESTART \
| WINED3D_LEGACY_CUBEMAP_FILTERING)
| WINED3D_LEGACY_CUBEMAP_FILTERING
| WINED3D_NO_DRAW_INDIRECT
)
#define DDRAW_MAX_ACTIVE_LIGHTS 32
#define DDRAW_MAX_TEXTURES 8
...
...
include/wine/wined3d.h
View file @
c7f6dc64
...
...
@@ -1322,6 +1322,7 @@ enum wined3d_memory_segment_group
#define WINED3D_NO_PRIMITIVE_RESTART 0x00000800
#define WINED3D_LEGACY_CUBEMAP_FILTERING 0x00001000
#define WINED3D_NORMALIZED_DEPTH_BIAS 0x00002000
#define WINED3D_NO_DRAW_INDIRECT 0x00004000
#define WINED3D_RESZ_CODE 0x7fa05000
...
...
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