[Mesa-dev] [PATCH 00/12] R600g: cleanups and rework of queries
Marek Olšák
maraeo at gmail.com
Tue Feb 21 16:55:51 PST 2012
Hi everyone,
Besides the cleanups, there are fixes for create_context fail paths and rework of queries. The rework is the most important, because it eliminates buffer_map calls (and therefore buffer_wait) in begin_query.
There are no piglit regressions on Evergreen.
Please review.
Marek Olšák (12):
r600g: define GROUP_FORCE_NEW_BLOCK in common header
r600g: consolidate common context init code
r600g: fix possible crashes in destroy_context when failing in create_context
gallium/u_slab: fix possible crash in util_slab_destroy
r600g: simplify fail paths in create_context
r600g: fixup name of evergreen-specific function
r600g: remove duplicated function r600_state_sampler_init
r600g: remove duplicated set_xx_resource functions
r600g: remove duplicated evergreen_context_pipe_state_set_sampler
r600g: remove duplicated evergreen_context_ps_partial_flush
r600g: cleanup magic numbers in set_xx_sampler
r600g: rework queries
src/gallium/auxiliary/util/u_slab.c | 8 +-
src/gallium/drivers/r600/evergreen_hw_context.c | 115 +---------
src/gallium/drivers/r600/evergreen_state.c | 16 +-
src/gallium/drivers/r600/r600.h | 38 ++--
src/gallium/drivers/r600/r600_hw_context.c | 286 ++++++++++++-----------
src/gallium/drivers/r600/r600_hw_context_priv.h | 5 +
src/gallium/drivers/r600/r600_pipe.c | 68 ++++--
src/gallium/drivers/r600/r600_query.c | 38 +++-
src/gallium/drivers/r600/r600_state_common.c | 21 +--
9 files changed, 273 insertions(+), 322 deletions(-)
Marek
More information about the mesa-dev
mailing list