Henri Verbeet : wined3d: Add/update the D3DPRESENTFLAG constants.
Alexandre Julliard
julliard at winehq.org
Tue Sep 23 09:28:29 CDT 2008
Module: wine
Branch: master
Commit: 66654cf057832eda1606d8d664f2b64caa18b8cb
URL: http://source.winehq.org/git/wine.git/?a=commit;h=66654cf057832eda1606d8d664f2b64caa18b8cb
Author: Henri Verbeet <hverbeet at codeweavers.com>
Date: Mon Sep 22 14:52:42 2008 +0200
wined3d: Add/update the D3DPRESENTFLAG constants.
---
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,
More information about the wine-cvs
mailing list