From b21b8f0ac53d5d8924a0097afc7d4955b15969ec Mon Sep 17 00:00:00 2001 From: Chia-I Wu Date: Thu, 1 Jan 2015 08:24:53 +0800 Subject: xgl-generate.py: remove unused LayerFuncsSubcommand --- xgl-generate.py | 10 +--------- 1 file changed, 1 insertion(+), 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 \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, -- cgit v1.2.3