Changeset 25949 in vbox for trunk/src/VBox/Additions/WINNT/Graphics/Wine/include/wine/wined3d.idl
- Timestamp:
- Jan 21, 2010 9:26:23 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/WINNT/Graphics/Wine/include/wine/wined3d.idl
r23571 r25949 61 61 char Buffer[1]; 62 62 } RGNDATA; 63 64 typedef struct _LUID 65 { 66 DWORD LowPart; 67 LONG HighPart; 68 } LUID, *PLUID; 63 69 cpp_quote("#endif") 64 70 … … 171 177 WINED3DFMT_D32_UNORM, 172 178 WINED3DFMT_S1_UINT_D15_UNORM, 173 WINED3DFMT_S8_UINT_D24_UNORM,174 179 WINED3DFMT_X8D24_UNORM, 175 180 WINED3DFMT_S4X4_UINT_D24_UNORM, … … 267 272 WINED3DFMT_B8G8R8A8_UNORM, 268 273 WINED3DFMT_B8G8R8X8_UNORM, 274 /* FOURCC formats. */ 275 WINED3DFMT_UYVY = 0x59565955, /* UYVY */ 276 WINED3DFMT_YUY2 = 0x32595559, /* YUY2 */ 277 WINED3DFMT_YV12 = 0x32315659, /* YV12 */ 278 WINED3DFMT_DXT1 = 0x31545844, /* DXT1 */ 279 WINED3DFMT_DXT2 = 0x32545844, /* DXT2 */ 280 WINED3DFMT_DXT3 = 0x33545844, /* DXT3 */ 281 WINED3DFMT_DXT4 = 0x34545844, /* DXT4 */ 282 WINED3DFMT_DXT5 = 0x35545844, /* DXT5 */ 283 WINED3DFMT_MULTI2_ARGB8 = 0x3154454d, /* MET1 */ 284 WINED3DFMT_G8R8_G8B8 = 0x42475247, /* GRGB */ 285 WINED3DFMT_R8G8_B8G8 = 0x47424752, /* RGBG */ 286 WINED3DFMT_ATI2N = 0x32495441, /* ATI2 */ 287 WINED3DFMT_INST = 0x54534e49, /* INST */ 288 WINED3DFMT_NVHU = 0x5548564e, /* NVHU */ 289 WINED3DFMT_NVHS = 0x5348564e, /* NVHS */ 269 290 270 291 WINED3DFMT_FORCE_DWORD = 0xffffffff 271 292 } WINED3DFORMAT; 272 cpp_quote("#define WINEMAKEFOURCC(ch0, ch1, ch2, ch3) \\")273 cpp_quote(" ((DWORD)(BYTE)(ch0) | ((DWORD)(BYTE)(ch1) << 8) | \\")274 cpp_quote(" ((DWORD)(BYTE)(ch2) << 16) | ((DWORD)(BYTE)(ch3) << 24 ))")275 cpp_quote("#define WINED3DFMT_UYVY WINEMAKEFOURCC('U', 'Y', 'V', 'Y')")276 cpp_quote("#define WINED3DFMT_YUY2 WINEMAKEFOURCC('Y', 'U', 'Y', '2')")277 cpp_quote("#define WINED3DFMT_YV12 WINEMAKEFOURCC('Y', 'V', '1', '2')")278 cpp_quote("#define WINED3DFMT_DXT1 WINEMAKEFOURCC('D', 'X', 'T', '1')")279 cpp_quote("#define WINED3DFMT_DXT2 WINEMAKEFOURCC('D', 'X', 'T', '2')")280 cpp_quote("#define WINED3DFMT_DXT3 WINEMAKEFOURCC('D', 'X', 'T', '3')")281 cpp_quote("#define WINED3DFMT_DXT4 WINEMAKEFOURCC('D', 'X', 'T', '4')")282 cpp_quote("#define WINED3DFMT_DXT5 WINEMAKEFOURCC('D', 'X', 'T', '5')")283 cpp_quote("#define WINED3DFMT_MULTI2_ARGB8 WINEMAKEFOURCC('M', 'E', 'T', '1')")284 cpp_quote("#define WINED3DFMT_G8R8_G8B8 WINEMAKEFOURCC('G', 'R', 'G', 'B')")285 cpp_quote("#define WINED3DFMT_R8G8_B8G8 WINEMAKEFOURCC('R', 'G', 'B', 'G')")286 /* Vendor specific formats */287 cpp_quote("#define WINED3DFMT_ATI2N WINEMAKEFOURCC('A', 'T', 'I', '2')")288 cpp_quote("#define WINED3DFMT_NVHU WINEMAKEFOURCC('N', 'V', 'H', 'U')")289 cpp_quote("#define WINED3DFMT_NVHS WINEMAKEFOURCC('N', 'V', 'H', 'S')")290 293 291 294 typedef enum _WINED3DRENDERSTATETYPE … … 732 735 WINED3DTS_TEXTURE6 = 22, 733 736 WINED3DTS_TEXTURE7 = 23, 737 WINED3DTS_WORLD = 256, /*WINED3DTS_WORLDMATRIX(0)*/ 738 WINED3DTS_WORLD1 = 257, 739 WINED3DTS_WORLD2 = 258, 740 WINED3DTS_WORLD3 = 259, 734 741 WINED3DTS_FORCE_DWORD = 0x7fffffff 735 742 } WINED3DTRANSFORMSTATETYPE; 736 cpp_quote("#define WINED3DTS_WORLD WINED3DTS_WORLDMATRIX(0)")737 cpp_quote("#define WINED3DTS_WORLD1 WINED3DTS_WORLDMATRIX(1)")738 cpp_quote("#define WINED3DTS_WORLD2 WINED3DTS_WORLDMATRIX(2)")739 cpp_quote("#define WINED3DTS_WORLD3 WINED3DTS_WORLDMATRIX(3)")740 743 cpp_quote("#define WINED3DTS_WORLDMATRIX(index) (WINED3DTRANSFORMSTATETYPE)(index + 256)") 741 744 … … 921 924 const UINT WINED3DUSAGE_DMAP = 0x00004000; 922 925 const UINT WINED3DUSAGE_MASK = 0x00004fff; 926 const UINT WINED3DUSAGE_STATICDECL = 0x40000000; 923 927 const UINT WINED3DUSAGE_OVERLAY = 0x80000000; 924 928 … … 1717 1721 GUID device_identifier; 1718 1722 DWORD whql_level; 1723 LUID adapter_luid; 1724 SIZE_T video_memory; 1719 1725 } WINED3DADAPTER_IDENTIFIER; 1720 1726 … … 2337 2343 interface IWineD3DResource : IWineD3DBase 2338 2344 { 2339 HRESULT GetDevice(2340 [out] IWineD3DDevice **device2341 );2342 2345 HRESULT SetPrivateData( 2343 2346 [in] REFGUID guid, … … 2725 2728 interface IWineD3DVertexDeclaration : IWineD3DBase 2726 2729 { 2727 HRESULT GetDevice(2728 [out] IWineD3DDevice **device2729 );2730 2730 } 2731 2731 … … 2735 2735 uuid(83b073ce-6f30-11d9-c687-00046142c14f) 2736 2736 ] 2737 interface IWineD3DStateBlock : IWineD3DBase 2738 { 2739 HRESULT GetDevice( 2740 [out] IWineD3DDevice **device 2741 ); 2737 interface IWineD3DStateBlock : IUnknown 2738 { 2742 2739 HRESULT Capture( 2743 2740 ); … … 2755 2752 interface IWineD3DQuery : IWineD3DBase 2756 2753 { 2757 HRESULT GetDevice(2758 [out] IWineD3DDevice **device2759 );2760 2754 HRESULT GetData( 2761 2755 [out] void *data, … … 2847 2841 interface IWineD3DBaseShader : IWineD3DBase 2848 2842 { 2849 HRESULT GetDevice(2850 [out] IWineD3DDevice **device2851 );2852 2843 HRESULT GetFunction( 2853 2844 [out] void *data, … … 2873 2864 object, 2874 2865 local, 2866 uuid(8276c113-388b-49d1-ad8b-c9dd8bcbabcd) 2867 ] 2868 interface IWineD3DGeometryShader : IWineD3DBaseShader 2869 { 2870 } 2871 2872 [ 2873 object, 2874 local, 2875 2875 uuid(818503da-6f30-11d9-c687-00046142c14f) 2876 2876 ] … … 2896 2896 [in] UINT length, 2897 2897 [in] DWORD usage, 2898 [in] DWORD fvf,2899 2898 [in] WINED3DPOOL pool, 2900 2899 [out] IWineD3DBuffer **vertex_buffer, … … 3011 3010 [in] const struct wined3d_parent_ops *parent_ops 3012 3011 ); 3012 HRESULT CreateGeometryShader( 3013 [in] const DWORD *byte_code, 3014 [in] const struct wined3d_shader_signature *output_signature, 3015 [out] IWineD3DGeometryShader **shader, 3016 [in] IUnknown *parent, 3017 [in] const struct wined3d_parent_ops *parent_ops 3018 ); 3013 3019 HRESULT CreatePixelShader( 3014 3020 [in] const DWORD *function, … … 3094 3100 [in] BOOL show 3095 3101 ); 3096 HRESULT TestCooperativeLevel(3097 );3098 3102 HRESULT SetClipPlane( 3099 3103 [in] DWORD plane_idx, … … 3225 3229 HRESULT SetRenderTarget( 3226 3230 [in] DWORD render_target_idx, 3227 [in] IWineD3DSurface *render_target 3231 [in] IWineD3DSurface *render_target, 3232 [in] BOOL set_viewport 3228 3233 ); 3229 3234 HRESULT GetRenderTarget(
Note:
See TracChangeset
for help on using the changeset viewer.