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 _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev