Home
last modified time | relevance | path

Searched refs:genOpts (Results 1 – 13 of 13) sorted by relevance

/external/vulkan-headers/registry/
Dcgenerator.py127 def beginFile(self, genOpts): argument
128 OutputGenerator.beginFile(self, genOpts)
132 if (genOpts.protectFile and self.genOpts.filename):
134 os.path.basename(self.genOpts.filename)).upper()
144 if (genOpts.prefixText):
145 for s in genOpts.prefixText:
169 if (self.genOpts.protectFile and self.genOpts.filename):
187 if (self.genOpts.protectFeature):
200 if (self.genOpts.genFuncPointers and self.sections['commandPointer']):
204 if (self.genOpts.protectProto):
[all …]
Dgenvk.py56 global genOpts
57 genOpts = {}
132 genOpts['apiinc'] = [
154 genOpts['vkapi.py'] = [
170 genOpts['validinc'] = [
186 genOpts['hostsyncinc'] = [
204 genOpts['vulkan_ext.c'] = [
222 genOpts['extinc'] = [
300 genOpts[headername] = [ COutputGenerator, opts ]
312 genOpts['vulkan_core.h'] = [
[all …]
Dgenerator.py220 self.genOpts = None
382 def beginFile(self, genOpts): argument
383 self.genOpts = genOpts
387 if (self.genOpts.filename != None):
388 filename = self.genOpts.directory + '/' + self.genOpts.filename
399 self.genOpts = None
449 return self.genOpts.apientry + name + tail
451 return '(' + self.genOpts.apientryp + 'PFN_' + name + tail + ')'
465 … self.logMsg('diag', 'Aligning parameter', elem.text, 'to column', self.genOpts.alignFuncParam)
512 if self.genOpts.defaultExtensions == elem.get('supported'):
[all …]
Dreg.py237 self.genOpts = None
286 key = (fname, self.genOpts.apiname)
808 if self.genOpts.defaultExtensions == elem.get('supported'):
810 elif re.match(self.genOpts.addExtensions, extname) is not None:
813 required = re.match(self.genOpts.emitversions, version) is not None
875 def apiGen(self, genOpts): argument
879 self.gen.logMsg('diag', ' Registry.apiGen file:', genOpts.filename,
880 'api:', genOpts.apiname,
881 'profile:', genOpts.profile)
884 self.genOpts = genOpts
[all …]
/external/vulkan-validation-layers/scripts/
Dlvl_genvk.py47 global genOpts
48 genOpts = {}
116 genOpts['thread_safety.h'] = [
139 genOpts['thread_safety.cpp'] = [
162 genOpts['parameter_validation.cpp'] = [
185 genOpts['parameter_validation.h'] = [
208 genOpts['object_tracker.cpp'] = [
232 genOpts['object_tracker.h'] = [
256 genOpts['vk_dispatch_table_helper.h'] = [
278 genOpts['vk_layer_dispatch_table.h'] = [
[all …]
Dlayer_dispatch_table_generator.py92 def beginFile(self, genOpts): argument
93 OutputGenerator.beginFile(self, genOpts)
96 if (genOpts.prefixText):
97 for s in genOpts.prefixText:
128 if self.genOpts.filename == 'vk_layer_dispatch_table.h':
140 if self.genOpts.filename == 'vk_layer_dispatch_table.h':
Dlayer_chassis_generator.py1333 def beginFile(self, genOpts): argument
1334 OutputGenerator.beginFile(self, genOpts)
1339 if (self.genOpts.filename and 'h' == self.genOpts.filename[-1]):
1420 body += self.makeCParamDecl(member, self.genOpts.alignFuncParam)
1564 return self.genOpts.apientry + name[2:] + tail
Dthread_safety_generator.py793 def beginFile(self, genOpts): argument
794 OutputGenerator.beginFile(self, genOpts)
800 self.header_file = (genOpts.filename == 'thread_safety.h')
801 self.source_file = (genOpts.filename == 'thread_safety.cpp')
887 body += self.makeCParamDecl(member, self.genOpts.alignFuncParam)
979 return self.genOpts.apientry + name[2:] + tail
Ddispatch_table_helper_generator.py79 def beginFile(self, genOpts): argument
80 OutputGenerator.beginFile(self, genOpts)
83 if (genOpts.prefixText):
84 for s in genOpts.prefixText:
Dobject_tracker_generator.py286 return self.genOpts.apientry + name[2:] + tail
335 if 'object_tracker.h' in self.genOpts.filename and (dest == 'hdr' or dest == 'both'):
337 elif 'object_tracker.cpp' in self.genOpts.filename and (dest == 'cpp' or dest == 'both'):
342 def beginFile(self, genOpts): argument
343 OutputGenerator.beginFile(self, genOpts)
345 header_file = (genOpts.filename == 'object_tracker.h')
346 source_file = (genOpts.filename == 'object_tracker.cpp')
352 self.valid_usage_path = genOpts.valid_usage_path
940 if 'object_tracker.h' in self.genOpts.filename:
958 if 'object_tracker.cpp' in self.genOpts.filename:
Dlayer_chassis_dispatch_generator.py1068 return self.genOpts.apientry + name[2:] + tail
1074 def beginFile(self, genOpts): argument
1075 OutputGenerator.beginFile(self, genOpts)
1079 if (self.genOpts.filename and 'h' == self.genOpts.filename[-1]):
Dhelper_file_generator.py106 def beginFile(self, genOpts): argument
107 OutputGenerator.beginFile(self, genOpts)
109 self.helper_file_type = genOpts.helper_file_type
110 self.library_name = genOpts.library_name
Dparameter_validation_generator.py283 def beginFile(self, genOpts): argument
284 OutputGenerator.beginFile(self, genOpts)
285 self.header_file = (genOpts.filename == 'parameter_validation.h')
286 self.source_file = (genOpts.filename == 'parameter_validation.cpp')
309 self.valid_usage_path = genOpts.valid_usage_path