xgl-generate.py: remove unused LayerFuncsSubcommand
authorChia-I Wu <olv@lunarg.com>
Thu, 1 Jan 2015 00:24:53 +0000 (08:24 +0800)
committerCourtney Goeltzenleuchter <courtney@LunarG.com>
Thu, 5 Feb 2015 00:58:02 +0000 (17:58 -0700)
xgl-generate.py

index deec14d..195e536 100755 (executable)
@@ -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,