• Henri Verbeet's avatar
    wined3d: Upload directly from the source surface in wined3d_surface_blt(), if possible. · 2da4f87a
    Henri Verbeet authored
    This avoids either loading sysmem surfaces into video memory (wasting GPU
    memory) and then doing a blit on the GPU, or downloading GPU surfaces to
    sysmem, doing a blit on the CPU, and likely uploading it again. This mostly
    matters for ddraw and d3d8 applications, d3d9 already has to go through
    wined3d_device_update_surface() to transfer data from sysmem surfaces to GPU
    surfaces.
    2da4f87a
wined3d_private.h 104 KB