[Mesa-dev] [PATCH 2/4] glapi/gen: use new code for dispatch tree creation

Stefan Brüns stefan.bruens at rwth-aachen.de
Sun Mar 3 16:41:29 PST 2013


Signed-off-by: Stefan Brüns <stefan.bruens at rwth-aachen.de>
---
 src/mapi/glapi/gen/glX_server_table.py |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/mapi/glapi/gen/glX_server_table.py 
b/src/mapi/glapi/gen/glX_server_table.py
index 5b3ffdc..cc78c48 100644
--- a/src/mapi/glapi/gen/glX_server_table.py
+++ b/src/mapi/glapi/gen/glX_server_table.py
@@ -352,7 +352,9 @@ class function_table:
         # of a node are non-empty leaf nodes, the children are merged
         # to create a single leaf node that replaces the parent.
 
-        tree = self.divide_group(0, 0)
+        leaves = self.get_leaves()
+        tree = self.combine_tree(leaves)
+        self.pullup_nodes(tree)
 
         print 
'/*****************************************************************/'
         print '/* tree depth = %u */' % (tree[3])
-- 
1.7.10.4



More information about the mesa-dev mailing list