Changeset 39048 in vbox for trunk/src/VBox
- Timestamp:
- Oct 20, 2011 8:21:12 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/WINNT/Graphics/Wine/wined3d/surface.c
r39047 r39048 3896 3896 { 3897 3897 /* blit framebuffer might be buggy for some GPUs, try if fb_copy_to_texture_direct can do it quickly */ 3898 if (!fb_copy_to_texture_direct(This, SrcSurface, &src_rect, &dst_rect, Filter, TRUE /* fa lsonly */))3898 if (!fb_copy_to_texture_direct(This, SrcSurface, &src_rect, &dst_rect, Filter, TRUE /* fast only */)) 3899 3899 { 3900 3900 TRACE("fb_copy_to_texture_direct can not do it fast, use stretch_rect_fbo\n"); … … 3905 3905 dst_rect.bottom - dst_rect.top > Src->currentDesc.Height) { 3906 3906 TRACE("No stretching in x direction, using direct framebuffer -> texture copy\n"); 3907 fb_copy_to_texture_direct(This, SrcSurface, &src_rect, &dst_rect, Filter, FALSE /* do it alwa is */);3907 fb_copy_to_texture_direct(This, SrcSurface, &src_rect, &dst_rect, Filter, FALSE /* do it always */); 3908 3908 } else { 3909 3909 TRACE("Using hardware stretching to flip / stretch the texture\n"); … … 4443 4443 } 4444 4444 4445 #if def VBOX_WITH_WDDM4446 if (IWineD3DSurfaceImpl_BltSys2Vram(This, &D estRect, Source, &SrcRect, Flags, NULL, WINED3DTEXF_POINT) == WINED3D_OK)4445 #if 0 /*@todo: def VBOX_WITH_WDDM*/ 4446 if (IWineD3DSurfaceImpl_BltSys2Vram(This, &DstRect, Source, &SrcRect, Flags, NULL, WINED3DTEXF_POINT) == WINED3D_OK) 4447 4447 { 4448 4448 hr = WINED3D_OK; … … 4450 4450 } 4451 4451 #endif 4452 4453 4454 4452 4455 4453 hr = IWineD3DBaseSurfaceImpl_BltFast(iface, dstx, dsty, Source, rsrc, trans);
Note:
See TracChangeset
for help on using the changeset viewer.