diff options
author | Christian Gmeiner <[email protected]> | 2019-02-28 07:26:38 +0100 |
---|---|---|
committer | Christian Gmeiner <[email protected]> | 2019-03-01 08:02:17 +0100 |
commit | d8177f623314a025911cc125783c9d63a0cc803e (patch) | |
tree | b166c604ae4ff34964d83b26b22f1ae71dcb24f6 /src/gallium/drivers/etnaviv/etnaviv_context.h | |
parent | 5bb4e6956dcd8e0a6916207cc02af3fe5f631e44 (diff) |
etnaviv: keep track of mapped bo address
Saves us from calling etna_bo_map(..) and saves us from doing the
same offset calcs for map() and unmap() operations.
Signed-off-by: Christian Gmeiner <[email protected]>
Reviewed-by: Lucas Stach <[email protected]>
Diffstat (limited to 'src/gallium/drivers/etnaviv/etnaviv_context.h')
-rw-r--r-- | src/gallium/drivers/etnaviv/etnaviv_context.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/etnaviv/etnaviv_context.h b/src/gallium/drivers/etnaviv/etnaviv_context.h index 6ad9f3431e1..45b3954c7cb 100644 --- a/src/gallium/drivers/etnaviv/etnaviv_context.h +++ b/src/gallium/drivers/etnaviv/etnaviv_context.h @@ -70,6 +70,7 @@ struct etna_transfer { struct pipe_transfer base; struct pipe_resource *rsc; void *staging; + void *mapped; }; struct etna_vertexbuf_state { |