[PATCH 05/10] wined3d: Try to avoid glGetTexImage() for 2D array textures.

Henri Verbeet hverbeet at gmail.com
Tue Apr 19 04:24:21 CDT 2016


On 19 April 2016 at 00:01, Józef Kucia <jkucia at codeweavers.com> wrote:
> Signed-off-by: Józef Kucia <jkucia at codeweavers.com>
> ---
> It's inefficient to download a complete miplevel to copy just a single layer from it.
> ---
Does this happen much in practice? Do you have performance numbers?
The patch doesn't really make sense in its current form.
surface_download_data() is meant for downloading the data from the
texture. If that's not what you want, don't call it. (Also, does this
actually work? It looks like it's just reading from the current
drawable.)



More information about the wine-devel mailing list