VirtualBox

Ignore:
Timestamp:
Jul 19, 2010 8:32:01 PM (14 years ago)
Author:
vboxsync
Message:

wddm/3d: Aero: fix gdi-backend textures update, avoid extra memcpy for sysmem textures Lock/Unlock

File:
1 edited

Legend:

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

    r28475 r30916  
    26892689        UINT level,
    26902690        WINED3DCUBEMAP_FACES face,
    2691         IWineD3DSurface **surface);
     2691        IWineD3DSurface **surface
     2692#ifdef VBOXWDDM
     2693        , HANDLE *shared_handle
     2694        , void *pvClientMem
     2695#endif
     2696        );
    26922697
    26932698    HRESULT (STDMETHODCALLTYPE *CreateRenderTarget)(
     
    27422747/*** IWineD3DDeviceParent methods ***/
    27432748#define IWineD3DDeviceParent_WineD3DDeviceCreated(This,device) (This)->lpVtbl->WineD3DDeviceCreated(This,device)
     2749#ifdef VBOXWDDM
     2750#define IWineD3DDeviceParent_CreateSurface(This,superior,width,height,format,usage,pool,level,face,surface,shared_handle,pvClientMem) (This)->lpVtbl->CreateSurface(This,superior,width,height,format,usage,pool,level,face,surface,shared_handle,pvClientMem)
     2751#else
    27442752#define IWineD3DDeviceParent_CreateSurface(This,superior,width,height,format,usage,pool,level,face,surface) (This)->lpVtbl->CreateSurface(This,superior,width,height,format,usage,pool,level,face,surface)
     2753#endif
    27452754#define IWineD3DDeviceParent_CreateRenderTarget(This,superior,width,height,format,multisample_type,multisample_quality,lockable,surface) (This)->lpVtbl->CreateRenderTarget(This,superior,width,height,format,multisample_type,multisample_quality,lockable,surface)
    27462755#define IWineD3DDeviceParent_CreateDepthStencilSurface(This,superior,width,height,format,multisample_type,multisample_quality,discard,surface) (This)->lpVtbl->CreateDepthStencilSurface(This,superior,width,height,format,multisample_type,multisample_quality,discard,surface)
     
    73567365        WINED3DSURFTYPE surface_type,
    73577366        IUnknown *parent,
    7358         const struct wined3d_parent_ops *parent_ops);
     7367        const struct wined3d_parent_ops *parent_ops
     7368#ifdef VBOXWDDM
     7369        , HANDLE *shared_handle
     7370        , void *pvClientMem
     7371#endif
     7372        );
    73597373
    73607374    HRESULT (STDMETHODCALLTYPE *CreateRendertargetView)(
     
    73747388        IWineD3DTexture **texture,
    73757389        IUnknown *parent,
    7376         const struct wined3d_parent_ops *parent_ops);
     7390        const struct wined3d_parent_ops *parent_ops
     7391#ifdef VBOXWDDM
     7392        , HANDLE *shared_handle
     7393        , void *pvClientMem
     7394#endif
     7395        );
    73777396
    73787397    HRESULT (STDMETHODCALLTYPE *CreateVolumeTexture)(
     
    80548073#define IWineD3DDevice_CreateIndexBuffer(This,length,usage,pool,index_buffer,parent,parent_ops) (This)->lpVtbl->CreateIndexBuffer(This,length,usage,pool,index_buffer,parent,parent_ops)
    80558074#define IWineD3DDevice_CreateStateBlock(This,type,stateblock,parent) (This)->lpVtbl->CreateStateBlock(This,type,stateblock,parent)
     8075#ifdef VBOXWDDM
     8076#define IWineD3DDevice_CreateSurface(This,width,height,format,lockable,discard,level,surface,usage,pool,multisample_type,multisample_quality,surface_type,parent,parent_ops,shared_handle,pvClientMem) (This)->lpVtbl->CreateSurface(This,width,height,format,lockable,discard,level,surface,usage,pool,multisample_type,multisample_quality,surface_type,parent,parent_ops,shared_handle,pvClientMem)
     8077#else
    80568078#define IWineD3DDevice_CreateSurface(This,width,height,format,lockable,discard,level,surface,usage,pool,multisample_type,multisample_quality,surface_type,parent,parent_ops) (This)->lpVtbl->CreateSurface(This,width,height,format,lockable,discard,level,surface,usage,pool,multisample_type,multisample_quality,surface_type,parent,parent_ops)
     8079#endif
    80578080#define IWineD3DDevice_CreateRendertargetView(This,resource,parent,rendertarget_view) (This)->lpVtbl->CreateRendertargetView(This,resource,parent,rendertarget_view)
     8081#ifdef VBOXWDDM
     8082#define IWineD3DDevice_CreateTexture(This,width,height,levels,usage,format,pool,texture,parent,parent_ops,shared_handle,pvClientMem) (This)->lpVtbl->CreateTexture(This,width,height,levels,usage,format,pool,texture,parent,parent_ops,shared_handle,pvClientMem)
     8083#else
    80588084#define IWineD3DDevice_CreateTexture(This,width,height,levels,usage,format,pool,texture,parent,parent_ops) (This)->lpVtbl->CreateTexture(This,width,height,levels,usage,format,pool,texture,parent,parent_ops)
     8085#endif
    80598086#define IWineD3DDevice_CreateVolumeTexture(This,width,height,depth,levels,usage,format,pool,texture,parent,parent_ops) (This)->lpVtbl->CreateVolumeTexture(This,width,height,depth,levels,usage,format,pool,texture,parent,parent_ops)
    80608087#define IWineD3DDevice_CreateVolume(This,width,height,depth,usage,format,pool,volume,parent,parent_ops) (This)->lpVtbl->CreateVolume(This,width,height,depth,usage,format,pool,volume,parent,parent_ops)
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