diff options
author | Lucas Stach <[email protected]> | 2017-09-06 14:30:40 +0200 |
---|---|---|
committer | Lucas Stach <[email protected]> | 2017-09-28 17:41:07 +0200 |
commit | 15e3657e433f0e370632fdb70889eb6dfafeba34 (patch) | |
tree | 85bf13d773a1b4140ae2018733ce541de9ade9ea /src/gallium/drivers/svga/svga_screen.c | |
parent | 69eb93cbb9bc544272300796b6f8d7c8c7502575 (diff) |
etnaviv: optimize RS transfers
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 <[email protected]>
Reviewed-By: Wladimir J. van der Laan <[email protected]>
Diffstat (limited to 'src/gallium/drivers/svga/svga_screen.c')
0 files changed, 0 insertions, 0 deletions