VirtualBox

Ignore:
Timestamp:
Dec 14, 2011 11:12:17 AM (13 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
75376
Message:

wine/XPDM: 1. Additional swapchain creation fixes 2. De-libwine'ize wined3d 3. Single context per swapchain 4. wine & crOgl current context sync fixes 5. Proper Get/ReleaseDC handling

File:
1 edited

Legend:

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

    r38982 r39602  
    73957395        ) = 0;
    73967396
     7397    virtual HRESULT STDMETHODCALLTYPE AddSwapChain(
     7398        IWineD3DSwapChain *swapchain) = 0;
     7399
     7400    virtual HRESULT STDMETHODCALLTYPE RemoveSwapChain(
     7401        IWineD3DSwapChain *swapchain) = 0;
     7402
    73977403#ifdef VBOX_WITH_WDDM
    73987404    virtual HRESULT STDMETHODCALLTYPE Flush(
    73997405        ) = 0;
    7400 
    7401     virtual HRESULT STDMETHODCALLTYPE AddSwapChain(
    7402         IWineD3DSwapChain *swapchain) = 0;
    7403 
    7404     virtual HRESULT STDMETHODCALLTYPE RemoveSwapChain(
    7405         IWineD3DSwapChain *swapchain) = 0;
    74067406#endif
    74077407};
     
    81708170        IWineD3DDevice* This);
    81718171
     8172    HRESULT (STDMETHODCALLTYPE *AddSwapChain)(
     8173        IWineD3DDevice* This,
     8174        IWineD3DSwapChain *swapchain);
     8175
     8176    HRESULT (STDMETHODCALLTYPE *RemoveSwapChain)(
     8177        IWineD3DDevice* This,
     8178        IWineD3DSwapChain *swapchain);
     8179
    81728180#ifdef VBOX_WITH_WDDM
    81738181    HRESULT (STDMETHODCALLTYPE *Flush)(
    81748182        IWineD3DDevice* This);
    8175 
    8176     HRESULT (STDMETHODCALLTYPE *AddSwapChain)(
    8177         IWineD3DDevice* This,
    8178         IWineD3DSwapChain *swapchain);
    8179 
    8180     HRESULT (STDMETHODCALLTYPE *RemoveSwapChain)(
    8181         IWineD3DDevice* This,
    8182         IWineD3DSwapChain *swapchain);
    81838183#endif
    81848184
     
    83428342#define IWineD3DDevice_AcquireFocusWindow(This,window) (This)->lpVtbl->AcquireFocusWindow(This,window)
    83438343#define IWineD3DDevice_ReleaseFocusWindow(This) (This)->lpVtbl->ReleaseFocusWindow(This)
     8344#define IWineD3DDevice_AddSwapChain(This,swapchain) (This)->lpVtbl->AddSwapChain(This,swapchain)
     8345#define IWineD3DDevice_RemoveSwapChain(This,swapchain) (This)->lpVtbl->RemoveSwapChain(This,swapchain)
    83448346#ifdef VBOX_WITH_WDDM
    83458347#define IWineD3DDevice_Flush(This) (This)->lpVtbl->Flush(This)
    8346 #define IWineD3DDevice_AddSwapChain(This,swapchain) (This)->lpVtbl->AddSwapChain(This,swapchain)
    8347 #define IWineD3DDevice_RemoveSwapChain(This,swapchain) (This)->lpVtbl->RemoveSwapChain(This,swapchain)
    83488348#endif
    83498349#endif
Note: See TracChangeset for help on using the changeset viewer.

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