Home | History | Annotate | Download | only in src

Lines Matching defs:appendSection

339     def appendSection(self, section, text):
362 self.appendSection('struct', body)
398 self.appendSection('command', '')
399 self.appendSection('command', '// declare only')
400 self.appendSection('command', decls[0])
404 self.appendSection('command', '// TODO - not wrapping KHR function ' + name)
407 self.appendSection('command', '// TODO - not wrapping EXT function ' + name)
424 self.appendSection('command', '')
425 self.appendSection('command', decls[0][:-1])
426 self.appendSection('command', '{')
431 self.appendSection('command', ' dispatch_key key = get_dispatch_key('+dispatchable_name+');')
432 self.appendSection('command', ' layer_data *my_data = get_my_data_ptr(key, layer_data_map);')
434 self.appendSection('command', ' VkLayerInstanceDispatchTable *pTable = my_data->instance_dispatch_table;')
436 self.appendSection('command', ' VkLayerDispatchTable *pTable = my_data->device_dispatch_table;')
442 self.appendSection('command', ' ' + resulttype.text + ' result;')
447 self.appendSection('command', ' bool threadChecks = startMultiThread();')
448 self.appendSection('command', ' if (threadChecks) {')
449 self.appendSection('command', " "+"\n ".join(str(startthreadsafety).rstrip().split("\n")))
450 self.appendSection('command', ' }')
454 self.appendSection('command', ' ' + assignresult + API + '(' + paramstext + ');')
455 self.appendSection('command', ' if (threadChecks) {')
456 self.appendSection('command', " "+"\n ".join(str(finishthreadsafety).rstrip().split("\n")))
457 self.appendSection('command', ' } else {')
458 self.appendSection('command', ' finishMultiThread();')
459 self.appendSection('command', ' }')
462 self.appendSection('command', ' return result;')
463 self.appendSection('command', '}')