Home
last modified time | relevance | path

Searched refs:gencom (Results 1 – 3 of 3) sorted by relevance

/frameworks/native/vulkan/scripts/
Ddriver_generator.py21 import generator_common as gencom namespace
118 if gencom.is_function_supported(cmd):
121 if cmd in gencom.extension_dict:
122 if (gencom.extension_dict[cmd] == 'VK_ANDROID_native_buffer' or
123 gencom.extension_dict[cmd] == 'VK_EXT_debug_report'):
135 gencom.is_instance_dispatched(cmd))
145 gencom.is_device_dispatched(cmd))
155 f.write(gencom.copyright_and_warning(2016))
178 f.write(gencom.indent(2) + gencom.base_ext_name(ext) + ',\n')
181 for version in gencom.version_code_list:
[all …]
Dapi_generator.py21 import generator_common as gencom namespace
43 for cmd in gencom.command_list:
44 if cmd not in gencom.alias_dict:
45 if gencom.is_instance_dispatch_table_entry(cmd):
47 'PFN_' + cmd + ' ' + gencom.base_name(cmd) + ';')
48 elif gencom.is_device_dispatch_table_entry(cmd):
50 'PFN_' + cmd + ' ' + gencom.base_name(cmd) + ';')
52 f.write(gencom.copyright_and_warning(2016))
71 f.write(gencom.indent(1) + entry + '\n')
81 f.write(gencom.indent(1) + entry + '\n')
[all …]
Dnull_generator.py21 import generator_common as gencom namespace
37 if cmd in gencom.extension_dict:
38 return gencom.extension_dict[cmd] in _DRIVER_EXTENSION_DICT
49 f.write(gencom.copyright_and_warning(2015))
65 for cmd in gencom.command_list:
67 param_list = [''.join(i) for i in gencom.param_dict[cmd]]
68 f.write('VKAPI_ATTR ' + gencom.return_type_dict[cmd] + ' ' +
69 gencom.base_name(cmd) + '(' + ', '.join(param_list) + ');\n')
79 gencom.run_clang_format(genfile)
89 f.write(gencom.copyright_and_warning(2015))
[all …]