VirtualBox

Changeset 39048 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Oct 20, 2011 8:21:12 AM (13 years ago)
Author:
vboxsync
Message:

wddm/wine: burn fix, disable BltSys2Vram for BltFast to test it more

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/WINNT/Graphics/Wine/wined3d/surface.c

    r39047 r39048  
    38963896        {
    38973897            /* 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 /* fals only */))
     3898            if (!fb_copy_to_texture_direct(This, SrcSurface, &src_rect, &dst_rect, Filter, TRUE /* fast only */))
    38993899            {
    39003900                TRACE("fb_copy_to_texture_direct can not do it fast, use stretch_rect_fbo\n");
     
    39053905                                    dst_rect.bottom - dst_rect.top > Src->currentDesc.Height) {
    39063906            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 alwais */);
     3907            fb_copy_to_texture_direct(This, SrcSurface, &src_rect, &dst_rect, Filter, FALSE /* do it always */);
    39083908        } else {
    39093909            TRACE("Using hardware stretching to flip / stretch the texture\n");
     
    44434443    }
    44444444
    4445 #ifdef VBOX_WITH_WDDM
    4446     if (IWineD3DSurfaceImpl_BltSys2Vram(This, &DestRect, 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)
    44474447    {
    44484448        hr = WINED3D_OK;
     
    44504450    }
    44514451#endif
    4452 
    4453 
    44544452
    44554453    hr = IWineD3DBaseSurfaceImpl_BltFast(iface, dstx, dsty, Source, rsrc, trans);
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