VirtualBox

Ignore:
Timestamp:
Oct 12, 2011 8:20:21 PM (13 years ago)
Author:
vboxsync
Message:

wddm: proper ie rendering under win8 (shared resource open & destroy fixes, zero-init resources on creaate, etc.)

Location:
trunk/src/VBox/Additions/WINNT/Graphics/Wine/include/wine
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/WINNT/Graphics/Wine/include/wine/debug.h

    r38147 r38982  
    3131#define __WINE_WINE_DEBUG_H
    3232
     33#if defined(VBOX_WITH_WDDM) || defined(VBOX_WINE_WITHOUT_LIBWINE)
     34# error "unexpected include!!"
     35#endif
     36
    3337#include <stdarg.h>
    3438#include <windef.h>
     
    317321#endif
    318322
     323
     324#ifdef DEBUG_misha
     325//# define VBOXWINEDBG_SHADERS
     326#endif
     327
     328#ifdef VBOXWINEDBG_SHADERS
     329
     330void vboxWDbgPrintF(char * szString, ...);
     331
     332# define WDLOG(_m) do {\
     333        vboxWDbgPrintF _m ; \
     334    } while (0)
     335#else
     336
     337# define WDLOG(_m) do { } while (0)
     338#endif
     339
    319340#endif  /* __WINE_WINE_DEBUG_H */
  • trunk/src/VBox/Additions/WINNT/Graphics/Wine/include/wine/wined3d.h

    r38903 r38982  
    66#ifndef __WIDL_WINED3D_H
    77#define __WIDL_WINED3D_H
     8
     9#if defined(VBOX_WITH_WDDM) || defined(VBOX_WINE_WITHOUT_LIBWINE)
     10# error "unexpected include!!"
     11#endif
    812
    913#ifdef __cplusplus
     
    34293433        IWineD3DResource* This);
    34303434
     3435#ifdef VBOX_WITH_WDDM
     3436    HRESULT (STDMETHODCALLTYPE *SetDontDeleteGl)(
     3437        IWineD3DResource* This);
     3438#endif
     3439
    34313440    END_INTERFACE
    34323441} IWineD3DResourceVtbl;
     
    34513460#define IWineD3DResource_UnLoad(This) (This)->lpVtbl->UnLoad(This)
    34523461#define IWineD3DResource_GetType(This) (This)->lpVtbl->GetType(This)
     3462# ifdef VBOX_WITH_WDDM
     3463#  define IWineD3DResource_SetDontDeleteGl(This) (This)->lpVtbl->SetDontDeleteGl(This)
     3464# endif
    34533465#endif
    34543466
     
    40554067    WINED3DRESOURCETYPE (STDMETHODCALLTYPE *GetType)(
    40564068        IWineD3DSurface* This);
     4069
     4070#ifdef VBOX_WITH_WDDM
     4071    HRESULT (STDMETHODCALLTYPE *SetDontDeleteGl)(
     4072        IWineD3DResource* This);
     4073#endif
    40574074
    40584075    /*** IWineD3DSurface methods ***/
     
    46714688        IWineD3DVolume* This);
    46724689
     4690#ifdef VBOX_WITH_WDDM
     4691    HRESULT (STDMETHODCALLTYPE *SetDontDeleteGl)(
     4692        IWineD3DResource* This);
     4693#endif
     4694
    46734695    /*** IWineD3DVolume methods ***/
    46744696    HRESULT (STDMETHODCALLTYPE *GetContainer)(
     
    48844906    WINED3DRESOURCETYPE (STDMETHODCALLTYPE *GetType)(
    48854907        IWineD3DBaseTexture* This);
     4908
     4909#ifdef VBOX_WITH_WDDM
     4910    HRESULT (STDMETHODCALLTYPE *SetDontDeleteGl)(
     4911        IWineD3DResource* This);
     4912#endif
    48864913
    48874914    /*** IWineD3DBaseTexture methods ***/
     
    51305157    WINED3DRESOURCETYPE (STDMETHODCALLTYPE *GetType)(
    51315158        IWineD3DTexture* This);
     5159
     5160#ifdef VBOX_WITH_WDDM
     5161    HRESULT (STDMETHODCALLTYPE *SetDontDeleteGl)(
     5162        IWineD3DTexture* This);
     5163#endif
    51325164
    51335165    /*** IWineD3DBaseTexture methods ***/
     
    53775409        IWineD3DCubeTexture* This);
    53785410
     5411#ifdef VBOX_WITH_WDDM
     5412    HRESULT (STDMETHODCALLTYPE *SetDontDeleteGl)(
     5413        IWineD3DCubeTexture* This);
     5414#endif
     5415
    53795416    /*** IWineD3DBaseTexture methods ***/
    53805417    DWORD (STDMETHODCALLTYPE *SetLOD)(
     
    56275664        IWineD3DVolumeTexture* This);
    56285665
     5666#ifdef VBOX_WITH_WDDM
     5667    HRESULT (STDMETHODCALLTYPE *SetDontDeleteGl)(
     5668        IWineD3DResource* This);
     5669#endif
     5670
    56295671    /*** IWineD3DBaseTexture methods ***/
    56305672    DWORD (STDMETHODCALLTYPE *SetLOD)(
     
    63826424    WINED3DRESOURCETYPE (STDMETHODCALLTYPE *GetType)(
    63836425        IWineD3DBuffer* This);
     6426
     6427#ifdef VBOX_WITH_WDDM
     6428    HRESULT (STDMETHODCALLTYPE *SetDontDeleteGl)(
     6429        IWineD3DResource* This);
     6430#endif
    63846431
    63856432    /*** IWineD3DBuffer methods ***/
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