Lines Matching defs:registry
25 import khr_util.registry
65 def getExtOnlyIface (registry, api, extensions):
66 spec = khr_util.registry.InterfaceSpec()
68 for extension in registry.extensions:
69 if not khr_util.registry.getExtensionName(extension) in extensions:
72 if not khr_util.registry.extensionSupports(extension, api):
77 return khr_util.registry.createInterface(registry, spec, api)
82 def genStaticLibrary (registry):
83 genCommandLists(registry, commandLibraryEntry,
89 def gen (registry):
91 noExtIface = getInterface(registry, 'egl', VERSION)
92 extOnlyIface = getExtOnlyIface(registry, 'egl', EXTENSIONS)
101 genStaticLibrary(registry)