On Fri, Sep 22, 2017 at 11:31:51AM +0200, Lucas Stach wrote:
> Currently we are blitting the whole resource when the RS is used to
> de-/tile a resource. This can be very inefficient for large resources
> where the transfer is only changing a small part of the resource
> (happens a lot with glTexSubImage2D).
> 
> Optimize this by only blitting the tile aligned subregion of the
> resource, which the transfer is going to change.
> 
> Signed-off-by: Lucas Stach <l.st...@pengutronix.de>

Reviewed-by: Wladimir J. van der Laan <laa...@gmamil.com>

> ---
>  src/gallium/drivers/etnaviv/etnaviv_transfer.c | 29 
> ++++++++++++++++++++++----
>  1 file changed, 25 insertions(+), 4 deletions(-)
> 
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to