WineD3D: Add DDOVERLAYFX struct
Stefan Dösinger
stefandoesinger at gmx.at
Thu Oct 5 09:42:50 CDT 2006
IWineD3DSurface::UpdateOverlay will need this. Although DDOVERLAYFX can be
used without issues I don't want to add dependency on yet another structure
from a foreign header in the time of the work on header independence
-------------- next part --------------
From bff6aaf48cd4850e622e1ae02a69fb4a1a121a6c Mon Sep 17 00:00:00 2001
From: Stefan Doesinger <stefan at codeweavers.com>
Date: Thu, 5 Oct 2006 15:11:52 +0200
Subject: [PATCH] WineD3D: Add WINEDDOVERLAYFX Struct
---
include/wine/wined3d_types.h | 24 ++++++++++++++++++++++++
1 files changed, 24 insertions(+), 0 deletions(-)
diff --git a/include/wine/wined3d_types.h b/include/wine/wined3d_types.h
index ef3f588..e70a814 100644
--- a/include/wine/wined3d_types.h
+++ b/include/wine/wined3d_types.h
@@ -963,6 +963,30 @@ typedef struct WineDirect3DVertexStrided
} u;
} WineDirect3DVertexStridedData;
+typedef struct _WINEDDOVERLAYFX
+{
+ DWORD dwSize; /* size of structure */
+ DWORD dwAlphaEdgeBlendBitDepth; /* Bit depth used to specify constant for alpha edge blend */
+ DWORD dwAlphaEdgeBlend; /* Constant to use as alpha for edge blend */
+ DWORD dwReserved;
+ DWORD dwAlphaDestConstBitDepth; /* Bit depth used to specify alpha constant for destination */
+ union
+ {
+ DWORD dwAlphaDestConst; /* Constant to use as alpha channel for dest */
+ LPDIRECTDRAWSURFACE lpDDSAlphaDest; /* Surface to use as alpha channel for dest */
+ } DUMMYUNIONNAME1;
+ DWORD dwAlphaSrcConstBitDepth; /* Bit depth used to specify alpha constant for source */
+ union
+ {
+ DWORD dwAlphaSrcConst; /* Constant to use as alpha channel for src */
+ LPDIRECTDRAWSURFACE lpDDSAlphaSrc; /* Surface to use as alpha channel for src */
+ } DUMMYUNIONNAME2;
+ DDCOLORKEY dckDestColorkey; /* DestColorkey override */
+ DDCOLORKEY dckSrcColorkey; /* DestColorkey override */
+ DWORD dwDDFX; /* Overlay FX */
+ DWORD dwFlags; /* flags */
+} WINEDDOVERLAYFX;
+
/****************************
* * Vertex Shaders Declaration
* */
--
1.4.1.1
More information about the wine-patches
mailing list