VirtualBox

Ignore:
Timestamp:
Sep 29, 2011 4:20:22 PM (13 years ago)
Author:
vboxsync
Message:

wddm/3d: offscreen rendering to solve one of win8 ie rendering issues

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/WINNT/Graphics/Wine/d3d9/swapchain.c

    r33656 r38903  
    312312    return ret;
    313313}
     314
     315#ifdef VBOX_WITH_WDDM
     316VBOXWINEEX_DECL(HRESULT) VBoxWineExD3DSwapchain9Present(IDirect3DSwapChain9 *iface,
     317                                IDirect3DSurface9 *surf) /* use the given surface as a frontbuffer content source */
     318{
     319    IDirect3DSwapChain9Impl *This = (IDirect3DSwapChain9Impl *)iface;
     320    IDirect3DSurface9Impl *rt = (IDirect3DSurface9Impl *) surf;
     321    HRESULT hr;
     322    wined3d_mutex_lock();
     323    hr = IWineD3DSwapChain_PresentRt(This->wineD3DSwapChain, rt->wineD3DSurface);
     324    wined3d_mutex_unlock();
     325    return hr;
     326}
     327#endif
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