Module: Mesa
Branch: master
Commit: 98f880e0c47229ae6b6063527276096259d60b5a
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=98f880e0c47229ae6b6063527276096259d60b5a

Author: Imre Deak <[email protected]>
Date:   Mon Sep 10 08:46:13 2012 +0300

mesa: glGet: add script to generate hash tables in build time

This will be needed by the next patch, which will switch to using
the parameter descriptor- and hash tables generated by the script.

The hash algorithm remains the same, the output parameter descriptor
table format changes slightly. There the TYPE_API_MASK entries are
removed and an invalid NULL entry is inserted at the beginning. This is
ok, as get.c:find_value() doesn't rely on TYPE_API_MASK any more to
detect an invalid enum.

Signed-off-by: Imre Deak <[email protected]>
Reviewed-by: Brian Paul <[email protected]>
Reviewed-by: Oliver McFadden <[email protected]>

---

 src/mesa/Android.gen.mk             |   10 +-
 src/mesa/Makefile.am                |   12 +
 src/mesa/SConscript                 |   18 +-
 src/mesa/main/.gitignore            |    2 +
 src/mesa/main/get_hash_generator.py |  214 ++++++++++
 src/mesa/main/get_hash_params.py    |  730 +++++++++++++++++++++++++++++++++++
 6 files changed, 984 insertions(+), 2 deletions(-)

Diff:   
http://cgit.freedesktop.org/mesa/mesa/diff/?id=98f880e0c47229ae6b6063527276096259d60b5a
_______________________________________________
mesa-commit mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to