VirtualBox

Ignore:
Timestamp:
Oct 15, 2010 10:50:33 AM (14 years ago)
Author:
vboxsync
Message:

crOpenGL/wddm: enable hw blitting on nvidia cards for all rects

File:
1 edited

Legend:

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

    r33093 r33147  
    36523652                               &src_rect, Src->resource.usage, Src->resource.pool, Src->resource.format_desc,
    36533653                               &dst_rect, This->resource.usage, This->resource.pool, This->resource.format_desc)
    3654             && ((!stretchx) || dst_rect.right - dst_rect.left > Src->currentDesc.Width
    3655                 || dst_rect.bottom - dst_rect.top > Src->currentDesc.Height)
    3656             && (dst_rect.right==This->currentDesc.Width)
    3657             && (dst_rect.bottom==This->currentDesc.Height)
    3658             && (dst_rect.left==0)
    3659             && (dst_rect.top==0)
     3654            && (myDevice->adapter->driver_info.vendor==HW_VENDOR_NVIDIA
     3655                || (dst_rect.right==This->currentDesc.Width && dst_rect.bottom==This->currentDesc.Height
     3656                    && dst_rect.left==0 && dst_rect.top==0)
     3657               )
    36603658           )
    36613659        {
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