diff options
author | Roland Scheidegger <[email protected]> | 2014-07-01 15:37:56 +0200 |
---|---|---|
committer | Roland Scheidegger <[email protected]> | 2014-07-02 01:55:59 +0200 |
commit | a7ee842acd30578f4170f69124c3986ee35a6df8 (patch) | |
tree | ffc49d15843e795dea644faae82ebc6e0a1eacb1 /src/gallium/drivers/softpipe/sp_state.h | |
parent | a4d0758d9d3383cf1411a65e76180f5302cfc3cd (diff) |
llvmpipe: get rid of llvmpipe_get_texture_tile_linear
Because the layout is always linear this didn't really do much any longer -
at some point this triggered per-tile swizzled->linear conversion. The x/y
coords were ignored too.
Apart from triggering conversion, this also invoked alloc_image_data(), which
could only actually trigger mapping of display target resources. So, instead
just call resource_map in the callers (which also gives the ability to unmap
again). Note that mapping/unmapping of display target resources still isn't
really all that clean (map/unmap may be unmatched, and all such mappings use
the same pointer thus usage flags are a lie).
Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/gallium/drivers/softpipe/sp_state.h')
0 files changed, 0 insertions, 0 deletions