Ihsan Akmal : include: Add missing dxgi.idl constants.

Alexandre Julliard julliard at winehq.org
Tue Sep 26 14:56:16 CDT 2017


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

Author: Ihsan Akmal <ihsanapps at gmail.com>
Date:   Tue Sep 26 17:21:21 2017 +0200

include: Add missing dxgi.idl constants.

Signed-off-by: Ihsan Akmal <ihsanapps at gmail.com>
Signed-off-by: Henri Verbeet <hverbeet at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 include/dxgi.idl | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/include/dxgi.idl b/include/dxgi.idl
index b2e53e3..0626315 100644
--- a/include/dxgi.idl
+++ b/include/dxgi.idl
@@ -45,6 +45,16 @@ const DXGI_USAGE DXGI_USAGE_UNORDERED_ACCESS        = 0x400L;
 const UINT DXGI_ENUM_MODES_INTERLACED               = 1;
 const UINT DXGI_ENUM_MODES_SCALING                  = 2;
 
+const UINT DXGI_RESOURCE_PRIORITY_MINIMUM           = 0x28000000;
+const UINT DXGI_RESOURCE_PRIORITY_LOW               = 0x50000000;
+const UINT DXGI_RESOURCE_PRIORITY_NORMAL            = 0x78000000;
+const UINT DXGI_RESOURCE_PRIORITY_HIGH              = 0xa0000000;
+const UINT DXGI_RESOURCE_PRIORITY_MAXIMUM           = 0xc8000000;
+
+const UINT DXGI_MAP_READ                            = 0x1;
+const UINT DXGI_MAP_WRITE                           = 0x2;
+const UINT DXGI_MAP_DISCARD                         = 0x4;
+
 typedef enum DXGI_SWAP_EFFECT {
     DXGI_SWAP_EFFECT_DISCARD    = 0,
     DXGI_SWAP_EFFECT_SEQUENTIAL = 1,
@@ -297,6 +307,8 @@ cpp_quote("#define DXGI_PRESENT_DO_NOT_WAIT            __MSABI_LONG(0x00000008U)
 cpp_quote("#define DXGI_PRESENT_STEREO_PREFER_RIGHT    __MSABI_LONG(0x00000010U)")
 cpp_quote("#define DXGI_PRESENT_STEREO_TEMPORARY_MONO  __MSABI_LONG(0x00000020U)")
 cpp_quote("#define DXGI_PRESENT_RESTRICT_TO_OUTPUT     __MSABI_LONG(0x00000040U)")
+cpp_quote("#define DXGI_PRESENT_USE_DURATION           __MSABI_LONG(0x00000100U)")
+cpp_quote("#define DXGI_PRESENT_ALLOW_TEARING          __MSABI_LONG(0x00000200U)")
 
 [
     object,




More information about the wine-cvs mailing list