Changeset 39649 in vbox for trunk/src/VBox/Additions/WINNT/Graphics/Wine/wined3d
- Timestamp:
- Dec 16, 2011 6:51:37 PM (13 years ago)
- svn:sync-xref-src-repo-rev:
- 75450
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/WINNT/Graphics/Wine/wined3d/surface.c
r39150 r39649 3682 3682 IWineD3DSurfaceImpl *Src = (IWineD3DSurfaceImpl *) SrcSurface; 3683 3683 RECT dst_rect, src_rect; 3684 #ifdef VBOX_WITH_WDDM 3685 BOOL fNoRtInvolved = FALSE; 3686 #endif 3684 3687 3685 3688 TRACE("(%p)->(%p,%p,%p,%08x,%p)\n", This, DestRect, SrcSurface, SrcRect, Flags, DDBltFx); … … 3705 3708 SrcSurface != myDevice->render_targets[0] && This != (IWineD3DSurfaceImpl *) myDevice->render_targets[0]) { 3706 3709 TRACE("No surface is render target, not using hardware blit. Src = %p, dst = %p\n", Src, This); 3710 #ifdef VBOX_WITH_WDDM 3711 fNoRtInvolved = TRUE; 3712 #else 3707 3713 return WINED3DERR_INVALIDCALL; 3714 #endif 3708 3715 } 3709 3716 … … 3832 3839 } 3833 3840 3834 if((srcSwapchain || SrcSurface == myDevice->render_targets[0]) && !dstSwapchain) { 3841 if( 3842 #ifdef VBOX_WITH_WDDM 3843 fNoRtInvolved || 3844 #endif 3845 ((srcSwapchain || SrcSurface == myDevice->render_targets[0]) && !dstSwapchain)) { 3835 3846 /* Blit from render target to texture */ 3836 3847 BOOL stretchx; … … 4338 4349 } 4339 4350 4351 #ifndef VBOX_WITH_WDDM 4340 4352 /* Special cases for RenderTargets */ 4341 4353 if( (This->resource.usage & WINED3DUSAGE_RENDERTARGET) || 4342 ( Src && (Src->resource.usage & WINED3DUSAGE_RENDERTARGET) )) { 4354 ( Src && (Src->resource.usage & WINED3DUSAGE_RENDERTARGET) )) 4355 #endif 4356 { 4343 4357 if(IWineD3DSurfaceImpl_BltOverride(This, DestRect, SrcSurface, SrcRect, Flags, DDBltFx, Filter) == WINED3D_OK) 4344 4358 {
Note:
See TracChangeset
for help on using the changeset viewer.