[Mesa-dev] [PATCH v2 0/3] st/mesa: per-context sampler views array locking
Nicolai Hähnle
nhaehnle at gmail.com
Sun Oct 22 18:39:37 UTC 2017
Hi all,
I sent similar patches around a while ago. After drawoverhead
benchmarks I went back to the drawing board. In the end, the current
approach is quite similar to what I did before, except with an added
"poor man's RCU" that allows the fast path to work without locking.
Please review!
Thanks,
Nicolai
--
src/gallium/auxiliary/util/u_inlines.h | 16 +-
src/gallium/include/pipe/p_context.h | 10 +
src/mesa/state_tracker/st_atom_sampler.c | 21 +-
src/mesa/state_tracker/st_cb_texture.c | 28 ++-
src/mesa/state_tracker/st_manager.c | 3 +
src/mesa/state_tracker/st_sampler_view.c | 271 +++++++++++++++------
src/mesa/state_tracker/st_sampler_view.h | 3 +
src/mesa/state_tracker/st_texture.h | 40 ++-
8 files changed, 281 insertions(+), 111 deletions(-)
More information about the mesa-dev
mailing list