=?UTF-8?Q?J=C3=B3zef=20Kucia=20?=: wined3d: Add usage flags introduced with d3d9ex.

Alexandre Julliard julliard at wine.codeweavers.com
Sat Jan 9 03:32:18 CST 2016


Module: wine
Branch: master
Commit: 025373ca0e0bb690bb6459b3563eb6c1e9b7e4f3
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=025373ca0e0bb690bb6459b3563eb6c1e9b7e4f3

Author: Józef Kucia <jkucia at codeweavers.com>
Date:   Fri Jan  8 12:59:59 2016 +0100

wined3d: Add usage flags introduced with d3d9ex.

Signed-off-by: Józef Kucia <jkucia at codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 include/wine/wined3d.h | 14 +++++++++-----
 1 file changed, 9 insertions(+), 5 deletions(-)

diff --git a/include/wine/wined3d.h b/include/wine/wined3d.h
index 9f39a6d..300b322 100644
--- a/include/wine/wined3d.h
+++ b/include/wine/wined3d.h
@@ -815,12 +815,16 @@ enum wined3d_display_rotation
 #define WINED3DUSAGE_NPATCHES                                   0x00000100
 #define WINED3DUSAGE_DYNAMIC                                    0x00000200
 #define WINED3DUSAGE_AUTOGENMIPMAP                              0x00000400
+#define WINED3DUSAGE_RESTRICTED_CONTENT                         0x00000800
+#define WINED3DUSAGE_RESTRICT_SHARED_RESOURCE_DRIVER            0x00001000
+#define WINED3DUSAGE_RESTRICT_SHARED_RESOURCE                   0x00002000
 #define WINED3DUSAGE_DMAP                                       0x00004000
-#define WINED3DUSAGE_MASK                                       0x00004fff
-#define WINED3DUSAGE_TEXTURE                                    0x10000000
-#define WINED3DUSAGE_OWNDC                                      0x20000000
-#define WINED3DUSAGE_STATICDECL                                 0x40000000
-#define WINED3DUSAGE_OVERLAY                                    0x80000000
+#define WINED3DUSAGE_TEXTAPI                                    0x10000000
+#define WINED3DUSAGE_MASK                                       0x10007fff
+#define WINED3DUSAGE_TEXTURE                                    0x01000000
+#define WINED3DUSAGE_OWNDC                                      0x02000000
+#define WINED3DUSAGE_STATICDECL                                 0x04000000
+#define WINED3DUSAGE_OVERLAY                                    0x08000000
 
 #define WINED3DUSAGE_QUERY_LEGACYBUMPMAP                        0x00008000
 #define WINED3DUSAGE_QUERY_FILTER                               0x00020000




More information about the wine-cvs mailing list