Changeset 20612 in vbox for trunk/src/VBox/Additions/WINNT/Graphics/Wine/include/wine
- Timestamp:
- Jun 16, 2009 9:20:54 AM (16 years ago)
- svn:sync-xref-src-repo-rev:
- 48670
- Location:
- trunk/src/VBox/Additions/WINNT/Graphics/Wine/include/wine
- Files:
-
- 1 added
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/WINNT/Graphics/Wine/include/wine/mscvpdb.h
r16477 r20612 19 19 * License along with this library; if not, write to the Free Software 20 20 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA 21 */22 23 /*24 * Sun LGPL Disclaimer: For the avoidance of doubt, except that if any license choice25 * other than GPL or LGPL is available it will apply instead, Sun elects to use only26 * the Lesser General Public License version 2.1 (LGPLv2) at this time for any software where27 * a choice of LGPL license versions is made available with the language indicating28 * that LGPLv2 or any later version may be used, or where a choice of which version29 * of the LGPL is applied is otherwise unspecified.30 21 */ 31 22 -
trunk/src/VBox/Additions/WINNT/Graphics/Wine/include/wine/rpcfc.h
r16410 r20612 2 2 * RPC format chars, as found by studying MIDL output. 3 3 * Some, but not all, usage of these are explained on MSDN. 4 */ 5 6 /* 7 * Sun LGPL Disclaimer: For the avoidance of doubt, except that if any license choice 8 * other than GPL or LGPL is available it will apply instead, Sun elects to use only 9 * the Lesser General Public License version 2.1 (LGPLv2) at this time for any software where 10 * a choice of LGPL license versions is made available with the language indicating 11 * that LGPLv2 or any later version may be used, or where a choice of which version 12 * of the LGPL is applied is otherwise unspecified. 4 13 */ 5 14 -
trunk/src/VBox/Additions/WINNT/Graphics/Wine/include/wine/wgl.h
r19678 r20612 88 88 #define WGL_GENERIC_ACCELERATION_ARB 0x2026 89 89 #define WGL_FULL_ACCELERATION_ARB 0x2027 90 91 #define WGL_SWAP_EXCHANGE_ARB 0x2028 92 #define WGL_SWAP_COPY_ARB 0x2029 93 #define WGL_SWAP_UNDEFINED_ARB 0x202A 90 94 91 95 #define WGL_PBUFFER_WIDTH_ARB 0x2034 -
trunk/src/VBox/Additions/WINNT/Graphics/Wine/include/wine/wined3d.h
r19678 r20612 1 /*** Autogenerated by WIDL 1.1.2 1from ../../include/wine/wined3d.idl - Do not edit ***/1 /*** Autogenerated by WIDL 1.1.23 from ../../include/wine/wined3d.idl - Do not edit ***/ 2 2 3 3 #include <rpc.h> … … 872 872 SURFACE_GDI = 2 873 873 } WINED3DSURFTYPE; 874 enum wined3d_sysval_semantic { 875 WINED3D_SV_DEPTH = 0xffffffff, 876 WINED3D_SV_TARGET0 = 0, 877 WINED3D_SV_TARGET1 = 1, 878 WINED3D_SV_TARGET2 = 2, 879 WINED3D_SV_TARGET3 = 3, 880 WINED3D_SV_TARGET4 = 4, 881 WINED3D_SV_TARGET5 = 5, 882 WINED3D_SV_TARGET6 = 6, 883 WINED3D_SV_TARGET7 = 7 884 }; 885 874 886 #define WINED3DCOLORWRITEENABLE_RED (1 << 0) 875 887 … … 2582 2594 }; 2583 2595 2596 struct wined3d_shader_signature_element { 2597 const char *semantic_name; 2598 UINT semantic_idx; 2599 enum wined3d_sysval_semantic sysval_semantic; 2600 DWORD component_type; 2601 UINT register_idx; 2602 DWORD mask; 2603 }; 2604 2605 struct wined3d_shader_signature { 2606 UINT element_count; 2607 struct wined3d_shader_signature_element *elements; 2608 char *string_data; 2609 }; 2610 2584 2611 #ifndef __IWineD3DResource_FWD_DEFINED__ 2585 2612 #define __IWineD3DResource_FWD_DEFINED__ … … 4831 4858 ) = 0; 4832 4859 4833 virtual void STDMETHODCALLTYPE ApplyStateChanges(4834 const DWORD texture_states[18],4835 const DWORD sampler_states[14]) = 0;4836 4837 4860 }; 4838 4861 #else … … 4932 4955 BOOL (STDMETHODCALLTYPE *IsCondNP2)( 4933 4956 IWineD3DBaseTexture* This); 4934 4935 void (STDMETHODCALLTYPE *ApplyStateChanges)(4936 IWineD3DBaseTexture* This,4937 const DWORD texture_states[18],4938 const DWORD sampler_states[14]);4939 4957 4940 4958 END_INTERFACE … … 4973 4991 #define IWineD3DBaseTexture_GetTextureDimensions(This) (This)->lpVtbl->GetTextureDimensions(This) 4974 4992 #define IWineD3DBaseTexture_IsCondNP2(This) (This)->lpVtbl->IsCondNP2(This) 4975 #define IWineD3DBaseTexture_ApplyStateChanges(This,texture_states,sampler_states) (This)->lpVtbl->ApplyStateChanges(This,texture_states,sampler_states)4976 4993 #endif 4977 4994 … … 5055 5072 IWineD3DBaseTexture* This); 5056 5073 void __RPC_STUB IWineD3DBaseTexture_IsCondNP2_Stub( 5057 IRpcStubBuffer* This,5058 IRpcChannelBuffer* pRpcChannelBuffer,5059 PRPC_MESSAGE pRpcMessage,5060 DWORD* pdwStubPhase);5061 void STDMETHODCALLTYPE IWineD3DBaseTexture_ApplyStateChanges_Proxy(5062 IWineD3DBaseTexture* This,5063 const DWORD texture_states[18],5064 const DWORD sampler_states[14]);5065 void __RPC_STUB IWineD3DBaseTexture_ApplyStateChanges_Stub(5066 5074 IRpcStubBuffer* This, 5067 5075 IRpcChannelBuffer* pRpcChannelBuffer, … … 5201 5209 BOOL (STDMETHODCALLTYPE *IsCondNP2)( 5202 5210 IWineD3DTexture* This); 5203 5204 void (STDMETHODCALLTYPE *ApplyStateChanges)(5205 IWineD3DTexture* This,5206 const DWORD texture_states[18],5207 const DWORD sampler_states[14]);5208 5211 5209 5212 /*** IWineD3DTexture methods ***/ … … 5272 5275 #define IWineD3DTexture_GetTextureDimensions(This) (This)->lpVtbl->GetTextureDimensions(This) 5273 5276 #define IWineD3DTexture_IsCondNP2(This) (This)->lpVtbl->IsCondNP2(This) 5274 #define IWineD3DTexture_ApplyStateChanges(This,texture_states,sampler_states) (This)->lpVtbl->ApplyStateChanges(This,texture_states,sampler_states)5275 5277 /*** IWineD3DTexture methods ***/ 5276 5278 #define IWineD3DTexture_Destroy(This,destroy_surface_callback) (This)->lpVtbl->Destroy(This,destroy_surface_callback) … … 5474 5476 BOOL (STDMETHODCALLTYPE *IsCondNP2)( 5475 5477 IWineD3DCubeTexture* This); 5476 5477 void (STDMETHODCALLTYPE *ApplyStateChanges)(5478 IWineD3DCubeTexture* This,5479 const DWORD texture_states[18],5480 const DWORD sampler_states[14]);5481 5478 5482 5479 /*** IWineD3DCubeTexture methods ***/ … … 5549 5546 #define IWineD3DCubeTexture_GetTextureDimensions(This) (This)->lpVtbl->GetTextureDimensions(This) 5550 5547 #define IWineD3DCubeTexture_IsCondNP2(This) (This)->lpVtbl->IsCondNP2(This) 5551 #define IWineD3DCubeTexture_ApplyStateChanges(This,texture_states,sampler_states) (This)->lpVtbl->ApplyStateChanges(This,texture_states,sampler_states)5552 5548 /*** IWineD3DCubeTexture methods ***/ 5553 5549 #define IWineD3DCubeTexture_Destroy(This,destroy_surface_callback) (This)->lpVtbl->Destroy(This,destroy_surface_callback) … … 5751 5747 BOOL (STDMETHODCALLTYPE *IsCondNP2)( 5752 5748 IWineD3DVolumeTexture* This); 5753 5754 void (STDMETHODCALLTYPE *ApplyStateChanges)(5755 IWineD3DVolumeTexture* This,5756 const DWORD texture_states[18],5757 const DWORD sampler_states[14]);5758 5749 5759 5750 /*** IWineD3DVolumeTexture methods ***/ … … 5822 5813 #define IWineD3DVolumeTexture_GetTextureDimensions(This) (This)->lpVtbl->GetTextureDimensions(This) 5823 5814 #define IWineD3DVolumeTexture_IsCondNP2(This) (This)->lpVtbl->IsCondNP2(This) 5824 #define IWineD3DVolumeTexture_ApplyStateChanges(This,texture_states,sampler_states) (This)->lpVtbl->ApplyStateChanges(This,texture_states,sampler_states)5825 5815 /*** IWineD3DVolumeTexture methods ***/ 5826 5816 #define IWineD3DVolumeTexture_Destroy(This,destroy_volume_callback) (This)->lpVtbl->Destroy(This,destroy_volume_callback) … … 6627 6617 { 6628 6618 virtual HRESULT STDMETHODCALLTYPE SetFunction( 6629 const DWORD *function) = 0; 6619 const DWORD *function, 6620 const struct wined3d_shader_signature *output_signature) = 0; 6630 6621 6631 6622 }; … … 6654 6645 HRESULT (STDMETHODCALLTYPE *SetFunction)( 6655 6646 IWineD3DBaseShader* This, 6656 const DWORD *function); 6647 const DWORD *function, 6648 const struct wined3d_shader_signature *output_signature); 6657 6649 6658 6650 END_INTERFACE … … 6670 6662 #define IWineD3DBaseShader_GetParent(This,parent) (This)->lpVtbl->GetParent(This,parent) 6671 6663 /*** IWineD3DBaseShader methods ***/ 6672 #define IWineD3DBaseShader_SetFunction(This,function ) (This)->lpVtbl->SetFunction(This,function)6664 #define IWineD3DBaseShader_SetFunction(This,function,output_signature) (This)->lpVtbl->SetFunction(This,function,output_signature) 6673 6665 #endif 6674 6666 … … 6677 6669 HRESULT STDMETHODCALLTYPE IWineD3DBaseShader_SetFunction_Proxy( 6678 6670 IWineD3DBaseShader* This, 6679 const DWORD *function); 6671 const DWORD *function, 6672 const struct wined3d_shader_signature *output_signature); 6680 6673 void __RPC_STUB IWineD3DBaseShader_SetFunction_Stub( 6681 6674 IRpcStubBuffer* This, … … 6703 6696 UINT *data_size) = 0; 6704 6697 6705 virtual void STDMETHODCALLTYPE FakeSemantics(6706 IWineD3DVertexDeclaration *vertex_declaration) = 0;6707 6708 6698 virtual HRESULT STDMETHODCALLTYPE SetLocalConstantsF( 6709 6699 UINT start_idx, … … 6736 6726 HRESULT (STDMETHODCALLTYPE *SetFunction)( 6737 6727 IWineD3DVertexShader* This, 6738 const DWORD *function); 6728 const DWORD *function, 6729 const struct wined3d_shader_signature *output_signature); 6739 6730 6740 6731 /*** IWineD3DVertexShader methods ***/ … … 6747 6738 void *data, 6748 6739 UINT *data_size); 6749 6750 void (STDMETHODCALLTYPE *FakeSemantics)(6751 IWineD3DVertexShader* This,6752 IWineD3DVertexDeclaration *vertex_declaration);6753 6740 6754 6741 HRESULT (STDMETHODCALLTYPE *SetLocalConstantsF)( … … 6772 6759 #define IWineD3DVertexShader_GetParent(This,parent) (This)->lpVtbl->GetParent(This,parent) 6773 6760 /*** IWineD3DBaseShader methods ***/ 6774 #define IWineD3DVertexShader_SetFunction(This,function ) (This)->lpVtbl->SetFunction(This,function)6761 #define IWineD3DVertexShader_SetFunction(This,function,output_signature) (This)->lpVtbl->SetFunction(This,function,output_signature) 6775 6762 /*** IWineD3DVertexShader methods ***/ 6776 6763 #define IWineD3DVertexShader_GetDevice(This,device) (This)->lpVtbl->GetDevice(This,device) 6777 6764 #define IWineD3DVertexShader_GetFunction(This,data,data_size) (This)->lpVtbl->GetFunction(This,data,data_size) 6778 #define IWineD3DVertexShader_FakeSemantics(This,vertex_declaration) (This)->lpVtbl->FakeSemantics(This,vertex_declaration)6779 6765 #define IWineD3DVertexShader_SetLocalConstantsF(This,start_idx,src_data,vector4f_count) (This)->lpVtbl->SetLocalConstantsF(This,start_idx,src_data,vector4f_count) 6780 6766 #endif … … 6795 6781 UINT *data_size); 6796 6782 void __RPC_STUB IWineD3DVertexShader_GetFunction_Stub( 6797 IRpcStubBuffer* This,6798 IRpcChannelBuffer* pRpcChannelBuffer,6799 PRPC_MESSAGE pRpcMessage,6800 DWORD* pdwStubPhase);6801 void STDMETHODCALLTYPE IWineD3DVertexShader_FakeSemantics_Proxy(6802 IWineD3DVertexShader* This,6803 IWineD3DVertexDeclaration *vertex_declaration);6804 void __RPC_STUB IWineD3DVertexShader_FakeSemantics_Stub(6805 6783 IRpcStubBuffer* This, 6806 6784 IRpcChannelBuffer* pRpcChannelBuffer, … … 6862 6840 HRESULT (STDMETHODCALLTYPE *SetFunction)( 6863 6841 IWineD3DPixelShader* This, 6864 const DWORD *function); 6842 const DWORD *function, 6843 const struct wined3d_shader_signature *output_signature); 6865 6844 6866 6845 /*** IWineD3DPixelShader methods ***/ … … 6888 6867 #define IWineD3DPixelShader_GetParent(This,parent) (This)->lpVtbl->GetParent(This,parent) 6889 6868 /*** IWineD3DBaseShader methods ***/ 6890 #define IWineD3DPixelShader_SetFunction(This,function ) (This)->lpVtbl->SetFunction(This,function)6869 #define IWineD3DPixelShader_SetFunction(This,function,output_signature) (This)->lpVtbl->SetFunction(This,function,output_signature) 6891 6870 /*** IWineD3DPixelShader methods ***/ 6892 6871 #define IWineD3DPixelShader_GetDevice(This,device) (This)->lpVtbl->GetDevice(This,device) … … 7036 7015 7037 7016 virtual HRESULT STDMETHODCALLTYPE CreateVertexShader( 7038 IWineD3DVertexDeclaration *declaration,7039 7017 const DWORD *function, 7018 const struct wined3d_shader_signature *output_signature, 7040 7019 IWineD3DVertexShader **shader, 7041 7020 IUnknown *parent) = 0; … … 7043 7022 virtual HRESULT STDMETHODCALLTYPE CreatePixelShader( 7044 7023 const DWORD *function, 7024 const struct wined3d_shader_signature *output_signature, 7045 7025 IWineD3DPixelShader **shader, 7046 7026 IUnknown *parent) = 0; … … 7504 7484 UINT swapchain_idx, 7505 7485 IWineD3DSurface *dst_surface) = 0; 7506 7507 virtual void STDMETHODCALLTYPE ResourceReleased(7508 IWineD3DResource *resource) = 0;7509 7486 7510 7487 virtual HRESULT STDMETHODCALLTYPE EnumResources( … … 7660 7637 HRESULT (STDMETHODCALLTYPE *CreateVertexShader)( 7661 7638 IWineD3DDevice* This, 7662 IWineD3DVertexDeclaration *declaration,7663 7639 const DWORD *function, 7640 const struct wined3d_shader_signature *output_signature, 7664 7641 IWineD3DVertexShader **shader, 7665 7642 IUnknown *parent); … … 7668 7645 IWineD3DDevice* This, 7669 7646 const DWORD *function, 7647 const struct wined3d_shader_signature *output_signature, 7670 7648 IWineD3DPixelShader **shader, 7671 7649 IUnknown *parent); … … 8232 8210 UINT swapchain_idx, 8233 8211 IWineD3DSurface *dst_surface); 8234 8235 void (STDMETHODCALLTYPE *ResourceReleased)(8236 IWineD3DDevice* This,8237 IWineD3DResource *resource);8238 8212 8239 8213 HRESULT (STDMETHODCALLTYPE *EnumResources)( … … 8270 8244 #define IWineD3DDevice_CreateVertexDeclaration(This,declaration,parent,elements,element_count) (This)->lpVtbl->CreateVertexDeclaration(This,declaration,parent,elements,element_count) 8271 8245 #define IWineD3DDevice_CreateVertexDeclarationFromFVF(This,declaration,parent,fvf) (This)->lpVtbl->CreateVertexDeclarationFromFVF(This,declaration,parent,fvf) 8272 #define IWineD3DDevice_CreateVertexShader(This, declaration,function,shader,parent) (This)->lpVtbl->CreateVertexShader(This,declaration,function,shader,parent)8273 #define IWineD3DDevice_CreatePixelShader(This,function, shader,parent) (This)->lpVtbl->CreatePixelShader(This,function,shader,parent)8246 #define IWineD3DDevice_CreateVertexShader(This,function,output_signature,shader,parent) (This)->lpVtbl->CreateVertexShader(This,function,output_signature,shader,parent) 8247 #define IWineD3DDevice_CreatePixelShader(This,function,output_signature,shader,parent) (This)->lpVtbl->CreatePixelShader(This,function,output_signature,shader,parent) 8274 8248 #define IWineD3DDevice_CreatePalette(This,flags,palette_entry,palette,parent) (This)->lpVtbl->CreatePalette(This,flags,palette_entry,palette,parent) 8275 8249 #define IWineD3DDevice_Init3D(This,present_parameters) (This)->lpVtbl->Init3D(This,present_parameters) … … 8385 8359 #define IWineD3DDevice_UpdateSurface(This,src_surface,src_rect,dst_surface,dst_point) (This)->lpVtbl->UpdateSurface(This,src_surface,src_rect,dst_surface,dst_point) 8386 8360 #define IWineD3DDevice_GetFrontBufferData(This,swapchain_idx,dst_surface) (This)->lpVtbl->GetFrontBufferData(This,swapchain_idx,dst_surface) 8387 #define IWineD3DDevice_ResourceReleased(This,resource) (This)->lpVtbl->ResourceReleased(This,resource)8388 8361 #define IWineD3DDevice_EnumResources(This,callback,data) (This)->lpVtbl->EnumResources(This,callback,data) 8389 8362 #endif … … 8572 8545 HRESULT STDMETHODCALLTYPE IWineD3DDevice_CreateVertexShader_Proxy( 8573 8546 IWineD3DDevice* This, 8574 IWineD3DVertexDeclaration *declaration,8575 8547 const DWORD *function, 8548 const struct wined3d_shader_signature *output_signature, 8576 8549 IWineD3DVertexShader **shader, 8577 8550 IUnknown *parent); … … 8584 8557 IWineD3DDevice* This, 8585 8558 const DWORD *function, 8559 const struct wined3d_shader_signature *output_signature, 8586 8560 IWineD3DPixelShader **shader, 8587 8561 IUnknown *parent); … … 9605 9579 PRPC_MESSAGE pRpcMessage, 9606 9580 DWORD* pdwStubPhase); 9607 void STDMETHODCALLTYPE IWineD3DDevice_ResourceReleased_Proxy(9608 IWineD3DDevice* This,9609 IWineD3DResource *resource);9610 void __RPC_STUB IWineD3DDevice_ResourceReleased_Stub(9611 IRpcStubBuffer* This,9612 IRpcChannelBuffer* pRpcChannelBuffer,9613 PRPC_MESSAGE pRpcMessage,9614 DWORD* pdwStubPhase);9615 9581 HRESULT STDMETHODCALLTYPE IWineD3DDevice_EnumResources_Proxy( 9616 9582 IWineD3DDevice* This, -
trunk/src/VBox/Additions/WINNT/Graphics/Wine/include/wine/wined3d.idl
r19678 r20612 858 858 } WINED3DSURFTYPE; 859 859 860 enum wined3d_sysval_semantic 861 { 862 WINED3D_SV_DEPTH = 0xffffffff, 863 WINED3D_SV_TARGET0 = 0, 864 WINED3D_SV_TARGET1 = 1, 865 WINED3D_SV_TARGET2 = 2, 866 WINED3D_SV_TARGET3 = 3, 867 WINED3D_SV_TARGET4 = 4, 868 WINED3D_SV_TARGET5 = 5, 869 WINED3D_SV_TARGET6 = 6, 870 WINED3D_SV_TARGET7 = 7, 871 }; 872 860 873 const UINT WINED3DCOLORWRITEENABLE_RED = (1<<0); 861 874 const UINT WINED3DCOLORWRITEENABLE_GREEN = (1<<1); … … 2127 2140 }; 2128 2141 2142 struct wined3d_shader_signature_element 2143 { 2144 const char *semantic_name; 2145 UINT semantic_idx; 2146 enum wined3d_sysval_semantic sysval_semantic; 2147 DWORD component_type; 2148 UINT register_idx; 2149 DWORD mask; 2150 }; 2151 2152 struct wined3d_shader_signature 2153 { 2154 UINT element_count; 2155 struct wined3d_shader_signature_element *elements; 2156 char *string_data; 2157 }; 2158 2129 2159 interface IWineD3DResource; 2130 2160 interface IWineD3DSurface; … … 2596 2626 BOOL IsCondNP2( 2597 2627 ); 2598 void ApplyStateChanges(2599 const DWORD texture_states[WINED3D_HIGHEST_TEXTURE_STATE + 1],2600 const DWORD sampler_states[WINED3D_HIGHEST_SAMPLER_STATE + 1]2601 );2602 2628 } 2603 2629 … … 2833 2859 { 2834 2860 HRESULT SetFunction( 2835 [in] const DWORD *function 2861 [in] const DWORD *function, 2862 [in] const struct wined3d_shader_signature *output_signature 2836 2863 ); 2837 2864 } … … 2850 2877 [out] void *data, 2851 2878 [in, out] UINT *data_size 2852 );2853 void FakeSemantics(2854 [in] IWineD3DVertexDeclaration *vertex_declaration2855 2879 ); 2856 2880 HRESULT SetLocalConstantsF( … … 2994 3018 ); 2995 3019 HRESULT CreateVertexShader( 2996 [in] IWineD3DVertexDeclaration *declaration,2997 3020 [in] const DWORD *function, 3021 [in] const struct wined3d_shader_signature *output_signature, 2998 3022 [out] IWineD3DVertexShader **shader, 2999 3023 [in] IUnknown *parent … … 3001 3025 HRESULT CreatePixelShader( 3002 3026 [in] const DWORD *function, 3027 [in] const struct wined3d_shader_signature *output_signature, 3003 3028 [out] IWineD3DPixelShader **shader, 3004 3029 [in] IUnknown *parent … … 3453 3478 [in] IWineD3DSurface *dst_surface 3454 3479 ); 3455 void ResourceReleased(3456 [in] IWineD3DResource *resource3457 );3458 3480 HRESULT EnumResources( 3459 3481 [in] D3DCB_ENUMRESOURCES callback,
Note:
See TracChangeset
for help on using the changeset viewer.