[PATCH 5/5] wined3d: Don't take the upload code path if the destination surface is onscreen.

Matteo Bruni matteo.mystral at gmail.com
Tue Sep 12 15:48:50 CDT 2017


2017-09-12 22:15 GMT+02:00 Henri Verbeet <hverbeet at gmail.com>:
> On 12 September 2017 at 21:22, Matteo Bruni <mbruni at codeweavers.com> wrote:
>> Signed-off-by: Matteo Bruni <mbruni at codeweavers.com>
>> ---
>>  dlls/wined3d/surface.c | 3 ++-
>>  1 file changed, 2 insertions(+), 1 deletion(-)
>>
> Why would we want to avoid that?

Actually I'm not sure :/
IIRC when I wrote this patch originally (that was some time ago,
certainly before the blitters rework) there was some case where
loading the DRAWABLE location from TEXTURE wouldn't work and avoiding
the upload path would fix it. It doesn't seem to be necessary or
useful now though, so I guess we really don't...



More information about the wine-devel mailing list