diff options
| author | Chia-I Wu <olv@lunarg.com> | 2015-01-01 08:13:42 +0800 |
|---|---|---|
| committer | Courtney Goeltzenleuchter <courtney@LunarG.com> | 2015-02-04 17:58:02 -0700 |
| commit | 65eb4e359c67b6f4dffc548802d1015c9166fb51 (patch) | |
| tree | 9dd34d715b43bb3312f60371f20d2e8e31f05925 | |
| parent | 78a6c1860ed19346c70bf6c590b999460f63ecf0 (diff) | |
| download | usermoji-65eb4e359c67b6f4dffc548802d1015c9166fb51.tar.xz | |
xgl-generate.py: remove unused IcdDispatchTableSubcommand
It was replaced by xglLayer.h.
| -rwxr-xr-x | xgl-generate.py | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/xgl-generate.py b/xgl-generate.py index ae59ed16..deec14d1 100755 --- a/xgl-generate.py +++ b/xgl-generate.py @@ -94,20 +94,6 @@ class Subcommand(object): def generate_footer(self): pass - def _generate_icd_dispatch_table(self): - proto_map = {} - for proto in self.protos: - proto_map[proto.name] = proto - - entries = [] - for name in xgl.icd_dispatch_table: - proto = proto_map[name] - entries.append(proto.c_typedef(attr="XGLAPI")) - - return """XGL_LAYER_DISPATCH_TABLE { - %s; -};""" % ";\n ".join(entries) - def _generate_dispatch_entrypoints(self, qual="", unwrap=False): if qual: qual += " " @@ -244,10 +230,6 @@ class LayerDispatchSubcommand(Subcommand): def generate_body(self): return self._generate_layer_dispatch_table() -class IcdDispatchTableSubcommand(Subcommand): - def generate_body(self): - return self._generate_icd_dispatch_table() - class IcdDispatchEntrypointsSubcommand(Subcommand): def generate_header(self): return "#include \"icd.h\"" @@ -329,7 +311,6 @@ def main(): "loader": LoaderSubcommand, "layer-funcs" : LayerFuncsSubcommand, "layer-dispatch" : LayerDispatchSubcommand, - "icd-dispatch-table": IcdDispatchTableSubcommand, "icd-dispatch-entrypoints": IcdDispatchEntrypointsSubcommand, "icd-dispatch-dummy-impl": IcdDispatchDummyImplSubcommand, } |
