diff options
| author | Chia-I Wu <olv@lunarg.com> | 2015-01-01 08:24:53 +0800 |
|---|---|---|
| committer | Courtney Goeltzenleuchter <courtney@LunarG.com> | 2015-02-04 17:58:02 -0700 |
| commit | b21b8f0ac53d5d8924a0097afc7d4955b15969ec (patch) | |
| tree | f608ded58a5d7bc8ce7fe41d3d3c2e78a4509be6 | |
| parent | 65eb4e359c67b6f4dffc548802d1015c9166fb51 (diff) | |
| download | usermoji-b21b8f0ac53d5d8924a0097afc7d4955b15969ec.tar.xz | |
xgl-generate.py: remove unused LayerFuncsSubcommand
| -rwxr-xr-x | xgl-generate.py | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/xgl-generate.py b/xgl-generate.py index deec14d1..195e536e 100755 --- a/xgl-generate.py +++ b/xgl-generate.py @@ -94,7 +94,7 @@ class Subcommand(object): def generate_footer(self): pass - def _generate_dispatch_entrypoints(self, qual="", unwrap=False): + def _generate_dispatch_entrypoints(self, qual=""): if qual: qual += " " @@ -216,13 +216,6 @@ class LoaderSubcommand(Subcommand): return "\n\n".join(body) -class LayerFuncsSubcommand(Subcommand): - def generate_header(self): - return '#include <xglLayer.h>\n#include "loader.h"' - - def generate_body(self): - return self._generate_dispatch_entrypoints("static", True) - class LayerDispatchSubcommand(Subcommand): def generate_header(self): return '#include "layer_wrappers.h"' @@ -309,7 +302,6 @@ const XGL_LAYER_DISPATCH_TABLE %s_debug_dispatch_table = { def main(): subcommands = { "loader": LoaderSubcommand, - "layer-funcs" : LayerFuncsSubcommand, "layer-dispatch" : LayerDispatchSubcommand, "icd-dispatch-entrypoints": IcdDispatchEntrypointsSubcommand, "icd-dispatch-dummy-impl": IcdDispatchDummyImplSubcommand, |
