[PATCH v2 3/3] etnaviv: optimize RS transfers

Wladimir J. van der Laan laanwj at gmail.com
Thu Sep 28 12:07:54 UTC 2017


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.stach at pengutronix.de>

Reviewed-by: Wladimir J. van der Laan <laanwj at gmamil.com>

> ---
>  src/gallium/drivers/etnaviv/etnaviv_transfer.c | 29 ++++++++++++++++++++++----
>  1 file changed, 25 insertions(+), 4 deletions(-)
> 


More information about the etnaviv mailing list