VirtualBox

Ignore:
Timestamp:
Jan 21, 2010 9:26:23 AM (15 years ago)
Author:
vboxsync
Message:

crOpenGL: update to wine 1.1.36 and disable unnecessary fbo state poll

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/WINNT/Graphics/Wine/include/wine/wined3d.idl

    r23571 r25949  
    6161    char Buffer[1];
    6262} RGNDATA;
     63
     64typedef struct _LUID
     65{
     66    DWORD LowPart;
     67    LONG HighPart;
     68} LUID, *PLUID;
    6369cpp_quote("#endif")
    6470
     
    171177    WINED3DFMT_D32_UNORM,
    172178    WINED3DFMT_S1_UINT_D15_UNORM,
    173     WINED3DFMT_S8_UINT_D24_UNORM,
    174179    WINED3DFMT_X8D24_UNORM,
    175180    WINED3DFMT_S4X4_UINT_D24_UNORM,
     
    267272    WINED3DFMT_B8G8R8A8_UNORM,
    268273    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 */
    269290
    270291    WINED3DFMT_FORCE_DWORD = 0xffffffff
    271292} 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')")
    290293
    291294typedef enum _WINED3DRENDERSTATETYPE
     
    732735    WINED3DTS_TEXTURE6                      = 22,
    733736    WINED3DTS_TEXTURE7                      = 23,
     737    WINED3DTS_WORLD                         = 256, /*WINED3DTS_WORLDMATRIX(0)*/
     738    WINED3DTS_WORLD1                        = 257,
     739    WINED3DTS_WORLD2                        = 258,
     740    WINED3DTS_WORLD3                        = 259,
    734741    WINED3DTS_FORCE_DWORD                   = 0x7fffffff
    735742} 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)")
    740743cpp_quote("#define WINED3DTS_WORLDMATRIX(index) (WINED3DTRANSFORMSTATETYPE)(index + 256)")
    741744
     
    921924const UINT WINED3DUSAGE_DMAP                                    = 0x00004000;
    922925const UINT WINED3DUSAGE_MASK                                    = 0x00004fff;
     926const UINT WINED3DUSAGE_STATICDECL                              = 0x40000000;
    923927const UINT WINED3DUSAGE_OVERLAY                                 = 0x80000000;
    924928
     
    17171721    GUID device_identifier;
    17181722    DWORD whql_level;
     1723    LUID adapter_luid;
     1724    SIZE_T video_memory;
    17191725} WINED3DADAPTER_IDENTIFIER;
    17201726
     
    23372343interface IWineD3DResource : IWineD3DBase
    23382344{
    2339     HRESULT GetDevice(
    2340         [out] IWineD3DDevice **device
    2341     );
    23422345    HRESULT SetPrivateData(
    23432346        [in] REFGUID guid,
     
    27252728interface IWineD3DVertexDeclaration : IWineD3DBase
    27262729{
    2727     HRESULT GetDevice(
    2728         [out] IWineD3DDevice **device
    2729     );
    27302730}
    27312731
     
    27352735    uuid(83b073ce-6f30-11d9-c687-00046142c14f)
    27362736]
    2737 interface IWineD3DStateBlock : IWineD3DBase
    2738 {
    2739     HRESULT GetDevice(
    2740         [out] IWineD3DDevice **device
    2741     );
     2737interface IWineD3DStateBlock : IUnknown
     2738{
    27422739    HRESULT Capture(
    27432740    );
     
    27552752interface IWineD3DQuery : IWineD3DBase
    27562753{
    2757     HRESULT GetDevice(
    2758         [out] IWineD3DDevice **device
    2759     );
    27602754    HRESULT GetData(
    27612755        [out] void *data,
     
    28472841interface IWineD3DBaseShader : IWineD3DBase
    28482842{
    2849     HRESULT GetDevice(
    2850         [out] IWineD3DDevice **device
    2851     );
    28522843    HRESULT GetFunction(
    28532844        [out] void *data,
     
    28732864    object,
    28742865    local,
     2866    uuid(8276c113-388b-49d1-ad8b-c9dd8bcbabcd)
     2867]
     2868interface IWineD3DGeometryShader : IWineD3DBaseShader
     2869{
     2870}
     2871
     2872[
     2873    object,
     2874    local,
    28752875    uuid(818503da-6f30-11d9-c687-00046142c14f)
    28762876]
     
    28962896        [in] UINT length,
    28972897        [in] DWORD usage,
    2898         [in] DWORD fvf,
    28992898        [in] WINED3DPOOL pool,
    29002899        [out] IWineD3DBuffer **vertex_buffer,
     
    30113010        [in] const struct wined3d_parent_ops *parent_ops
    30123011    );
     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    );
    30133019    HRESULT CreatePixelShader(
    30143020        [in] const DWORD *function,
     
    30943100        [in] BOOL show
    30953101    );
    3096     HRESULT TestCooperativeLevel(
    3097     );
    30983102    HRESULT SetClipPlane(
    30993103        [in] DWORD plane_idx,
     
    32253229    HRESULT SetRenderTarget(
    32263230        [in] DWORD render_target_idx,
    3227         [in] IWineD3DSurface *render_target
     3231        [in] IWineD3DSurface *render_target,
     3232        [in] BOOL set_viewport
    32283233    );
    32293234    HRESULT GetRenderTarget(
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette