projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9050138
)
anv: use cElementTree in anv_entrypoints_gen.py
author
Dylan Baker
<dylan@pnwbakers.com>
Tue, 21 Feb 2017 19:21:24 +0000
(11:21 -0800)
committer
Dylan Baker
<dylan@pnwbakers.com>
Wed, 22 Mar 2017 23:22:00 +0000
(16:22 -0700)
It's written in C rather than pure python and is strictly faster, the
only reason not to use it that it's classes cannot be subclassed.
Signed-off-by: Dylan Baker <dylanx.c.baker@intel.com>
src/intel/vulkan/anv_entrypoints_gen.py
patch
|
blob
|
history
diff --git
a/src/intel/vulkan/anv_entrypoints_gen.py
b/src/intel/vulkan/anv_entrypoints_gen.py
index 2c0c968222e5e7a51a20c73f26c787f44b37107e..a08cfced6ae961169b5a8751387f1570f2b6eda8 100644
(file)
--- a/
src/intel/vulkan/anv_entrypoints_gen.py
+++ b/
src/intel/vulkan/anv_entrypoints_gen.py
@@
-26,7
+26,7
@@
import argparse
import functools
import os
import textwrap
-import xml.etree.ElementTree as et
+import xml.etree.
c
ElementTree as et
from mako.template import Template