wined3d: Add/update the D3DPRESENTFLAG constants.

Henri Verbeet hverbeet at codeweavers.com
Mon Sep 22 07:52:42 CDT 2008


---
 include/d3d8types.h          |    2 ++
 include/d3d9types.h          |    2 ++
 include/wine/wined3d_types.h |    7 +++++++
 3 files changed, 11 insertions(+), 0 deletions(-)

diff --git a/include/d3d8types.h b/include/d3d8types.h
index 2ed2bf9..21e30b5 100644
--- a/include/d3d8types.h
+++ b/include/d3d8types.h
@@ -1131,6 +1131,8 @@ typedef struct _D3DPRESENT_PARAMETERS_ {
 
 } D3DPRESENT_PARAMETERS;
 
+#define D3DPRESENTFLAG_LOCKABLE_BACKBUFFER  0x00000001
+
 typedef struct _D3DRANGE {
     UINT                Offset;
     UINT                Size;
diff --git a/include/d3d9types.h b/include/d3d9types.h
index 8642339..61e321c 100644
--- a/include/d3d9types.h
+++ b/include/d3d9types.h
@@ -201,6 +201,8 @@
 #define D3DPRESENTFLAG_DISCARD_DEPTHSTENCIL 0x00000002 /* Discard Z buffer */
 #define D3DPRESENTFLAG_DEVICECLIP           0x00000004 /* Clip the window blited into the client area 2k + xp only */
 #define D3DPRESENTFLAG_VIDEO                0x00000010 /* backbuffer 'may' contain video data */
+#define D3DPRESENTFLAG_NOAUTOROTATE         0x00000020 /* d3d9ex, ignore display rotation */
+#define D3DPRESENTFLAG_UNPRUNEDMODE         0x00000040 /* d3d9ex, specify invalid display modes */
 
 #define D3DPRESENT_BACK_BUFFERS_MAX         3L
 #define D3DPRESENT_RATE_DEFAULT             0x00000000
diff --git a/include/wine/wined3d_types.h b/include/wine/wined3d_types.h
index 5b722e7..2e7d5d7 100644
--- a/include/wine/wined3d_types.h
+++ b/include/wine/wined3d_types.h
@@ -888,6 +888,13 @@ typedef struct _WINED3DPRESENT_PARAMETERS {
     UINT                    PresentationInterval;
 } WINED3DPRESENT_PARAMETERS;
 
+#define WINED3DPRESENTFLAG_LOCKABLE_BACKBUFFER  0x00000001
+#define WINED3DPRESENTFLAG_DISCARD_DEPTHSTENCIL 0x00000002
+#define WINED3DPRESENTFLAG_DEVICECLIP           0x00000004
+#define WINED3DPRESENTFLAG_VIDEO                0x00000010
+#define WINED3DPRESENTFLAG_NOAUTOROTATE         0x00000020
+#define WINED3DPRESENTFLAG_UNPRUNEDMODE         0x00000040
+
 typedef enum _WINED3DRESOURCETYPE {
     WINED3DRTYPE_SURFACE                =  1,
     WINED3DRTYPE_VOLUME                 =  2,
-- 
1.5.6.4



--------------030009050204060500030302--



More information about the wine-patches mailing list