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
748fd83e
Commit
748fd83e
authored
Feb 15, 2007
by
H. Verbeet
Committed by
Alexandre Julliard
Feb 15, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Add WINED3DPBLENDCAPS flags and use them.
parent
8fdd88b4
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
44 additions
and
29 deletions
+44
-29
directx.c
dlls/wined3d/directx.c
+29
-29
wined3d_caps.h
include/wine/wined3d_caps.h
+15
-0
No files found.
dlls/wined3d/directx.c
View file @
748fd83e
...
...
@@ -1939,35 +1939,35 @@ static HRESULT WINAPI IWineD3DImpl_GetDeviceCaps(IWineD3D *iface, UINT Adapter,
D3DPCMPCAPS_NEVER
|
D3DPCMPCAPS_NOTEQUAL
;
*
pCaps
->
SrcBlendCaps
=
D3DPBLENDCAPS_BLENDFACTOR
|
D3DPBLENDCAPS_BOTHINVSRCALPHA
|
D3DPBLENDCAPS_BOTHSRCALPHA
|
D3DPBLENDCAPS_DESTALPHA
|
D3DPBLENDCAPS_DESTCOLOR
|
D3DPBLENDCAPS_INVDESTALPHA
|
D3DPBLENDCAPS_INVDESTCOLOR
|
D3DPBLENDCAPS_INVSRCALPHA
|
D3DPBLENDCAPS_INVSRCCOLOR
|
D3DPBLENDCAPS_ONE
|
D3DPBLENDCAPS_SRCALPHA
|
D3DPBLENDCAPS_SRCALPHASAT
|
D3DPBLENDCAPS_SRCCOLOR
|
D3DPBLENDCAPS_ZERO
;
*
pCaps
->
DestBlendCaps
=
D3DPBLENDCAPS_BLENDFACTOR
|
D3DPBLENDCAPS_BOTHINVSRCALPHA
|
D3DPBLENDCAPS_BOTHSRCALPHA
|
D3DPBLENDCAPS_DESTALPHA
|
D3DPBLENDCAPS_DESTCOLOR
|
D3DPBLENDCAPS_INVDESTALPHA
|
D3DPBLENDCAPS_INVDESTCOLOR
|
D3DPBLENDCAPS_INVSRCALPHA
|
D3DPBLENDCAPS_INVSRCCOLOR
|
D3DPBLENDCAPS_ONE
|
D3DPBLENDCAPS_SRCALPHA
|
D3DPBLENDCAPS_SRCALPHASAT
|
D3DPBLENDCAPS_SRCCOLOR
|
D3DPBLENDCAPS_ZERO
;
*
pCaps
->
SrcBlendCaps
=
WINE
D3DPBLENDCAPS_BLENDFACTOR
|
WINE
D3DPBLENDCAPS_BOTHINVSRCALPHA
|
WINE
D3DPBLENDCAPS_BOTHSRCALPHA
|
WINE
D3DPBLENDCAPS_DESTALPHA
|
WINE
D3DPBLENDCAPS_DESTCOLOR
|
WINE
D3DPBLENDCAPS_INVDESTALPHA
|
WINE
D3DPBLENDCAPS_INVDESTCOLOR
|
WINE
D3DPBLENDCAPS_INVSRCALPHA
|
WINE
D3DPBLENDCAPS_INVSRCCOLOR
|
WINE
D3DPBLENDCAPS_ONE
|
WINE
D3DPBLENDCAPS_SRCALPHA
|
WINE
D3DPBLENDCAPS_SRCALPHASAT
|
WINE
D3DPBLENDCAPS_SRCCOLOR
|
WINE
D3DPBLENDCAPS_ZERO
;
*
pCaps
->
DestBlendCaps
=
WINE
D3DPBLENDCAPS_BLENDFACTOR
|
WINE
D3DPBLENDCAPS_BOTHINVSRCALPHA
|
WINE
D3DPBLENDCAPS_BOTHSRCALPHA
|
WINE
D3DPBLENDCAPS_DESTALPHA
|
WINE
D3DPBLENDCAPS_DESTCOLOR
|
WINE
D3DPBLENDCAPS_INVDESTALPHA
|
WINE
D3DPBLENDCAPS_INVDESTCOLOR
|
WINE
D3DPBLENDCAPS_INVSRCALPHA
|
WINE
D3DPBLENDCAPS_INVSRCCOLOR
|
WINE
D3DPBLENDCAPS_ONE
|
WINE
D3DPBLENDCAPS_SRCALPHA
|
WINE
D3DPBLENDCAPS_SRCALPHASAT
|
WINE
D3DPBLENDCAPS_SRCCOLOR
|
WINE
D3DPBLENDCAPS_ZERO
;
*
pCaps
->
AlphaCmpCaps
=
D3DPCMPCAPS_ALWAYS
|
D3DPCMPCAPS_EQUAL
|
...
...
include/wine/wined3d_caps.h
View file @
748fd83e
...
...
@@ -19,6 +19,21 @@
#ifndef __WINE_WINED3D_CAPS_H
#define __WINE_WINED3D_CAPS_H
#define WINED3DPBLENDCAPS_ZERO 0x00000001
#define WINED3DPBLENDCAPS_ONE 0x00000002
#define WINED3DPBLENDCAPS_SRCCOLOR 0x00000004
#define WINED3DPBLENDCAPS_INVSRCCOLOR 0x00000008
#define WINED3DPBLENDCAPS_SRCALPHA 0x00000010
#define WINED3DPBLENDCAPS_INVSRCALPHA 0x00000020
#define WINED3DPBLENDCAPS_DESTALPHA 0x00000040
#define WINED3DPBLENDCAPS_INVDESTALPHA 0x00000080
#define WINED3DPBLENDCAPS_DESTCOLOR 0x00000100
#define WINED3DPBLENDCAPS_INVDESTCOLOR 0x00000200
#define WINED3DPBLENDCAPS_SRCALPHASAT 0x00000400
#define WINED3DPBLENDCAPS_BOTHSRCALPHA 0x00000800
#define WINED3DPBLENDCAPS_BOTHINVSRCALPHA 0x00001000
#define WINED3DPBLENDCAPS_BLENDFACTOR 0x00002000
#define WINED3DSTENCILCAPS_KEEP 0x00000001
#define WINED3DSTENCILCAPS_ZERO 0x00000002
#define WINED3DSTENCILCAPS_REPLACE 0x00000004
...
...
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