[Mesa-dev] [PATCH v2 0/2] Use hash table for variable refcount rather than a linked list
Jordan Justen
jordan.l.justen at intel.com
Thu Dec 6 17:51:54 PST 2012
In the gles3conform uniform_buffer_object_max_uniform_block_size
test case, this dramatically improves performance of the compiler
frontend.
v2:
* Add main/hash_table for Android (build not verified)
* Use delete rather than free in free_entry.
* Make use of hash_table_foreach where useful
* Replace pointer_key_compare with _mesa_key_pointer_equal
* Replace pointer_hash with _mesa_hash_pointer
Eric Anholt (1):
mesa: Use the new hash table for the variable refcount visitor.
Jordan Justen (1):
program/hash_table.c: rename to program/prog_hash_table.c
src/glsl/Makefile.am | 6 +-
src/glsl/SConscript | 6 +-
src/glsl/builtin_compiler/Makefile.am | 3 +-
src/glsl/glcpp/Makefile.am | 2 +-
src/glsl/ir_variable_refcount.cpp | 35 ++++-
src/glsl/ir_variable_refcount.h | 17 +--
src/glsl/opt_dead_code.cpp | 6 +-
src/mesa/Android.libmesa_glsl_utils.mk | 6 +-
src/mesa/SConscript | 2 +-
src/mesa/program/hash_table.c | 235 --------------------------------
src/mesa/program/prog_hash_table.c | 235 ++++++++++++++++++++++++++++++++
src/mesa/sources.mak | 2 +-
12 files changed, 289 insertions(+), 266 deletions(-)
delete mode 100644 src/mesa/program/hash_table.c
create mode 100644 src/mesa/program/prog_hash_table.c
--
1.7.10.4
More information about the mesa-dev
mailing list