http://bugs.winehq.org/show_bug.cgi?id=13313
--- Comment #16 from Henri Verbeet hverbeet@gmail.com 2011-03-02 08:00:44 CST --- (In reply to comment #15)
The attached patch allows fb_copy_to_texture_hwstretch() to work in these situations, eliminating the need to use the per-pixel copying in fb_copy_to_texture_direct(). I have no idea what it does for Half Life 2, but it brings NWN2 from several seconds per frame to an almost playable ~5 fps or so when using "OffscreenRenderingMode"="backbuffer".
I haven't reviewed that patch properly, but the basic approach makes sense to me. Note that the size limitation is caused by the framebuffer size, not the source surface size.