Home
last modified time | relevance | path

Searched refs:loader_instance (Results 1 – 25 of 30) sorted by relevance

12

/third_party/vulkan-loader/loader/
Dloader.h89 VkResult loader_validate_layers(const struct loader_instance *inst, const uint32_t layer_count,
92 VkResult loader_validate_instance_extensions(struct loader_instance *inst, const struct loader_exte…
104 void loader_free_layer_properties(const struct loader_instance *inst, struct loader_layer_propertie…
105 VkResult loader_add_to_ext_list(const struct loader_instance *inst, struct loader_extension_list *e…
107 VkResult loader_add_to_dev_ext_list(const struct loader_instance *inst, struct loader_device_extens…
109 VkResult loader_add_device_extensions(const struct loader_instance *inst,
113 VkResult loader_init_generic_list(const struct loader_instance *inst, struct loader_generic_list *l…
114 void loader_destroy_generic_list(const struct loader_instance *inst, struct loader_generic_list *li…
115 void loader_destroy_layer_list(const struct loader_instance *inst, struct loader_device *device,
117 void loader_delete_layer_list_and_properties(const struct loader_instance *inst, struct loader_laye…
[all …]
Dloader_windows.h46 bool windows_add_json_entry(const struct loader_instance *inst,
60 bool windows_get_device_registry_entry(const struct loader_instance *inst, char **reg_data, PDWORD …
74 VkResult windows_get_device_registry_files(const struct loader_instance *inst, uint32_t log_target_…
90 VkResult windows_get_registry_files(const struct loader_instance *inst, char *location, bool use_se…
94 VkResult windows_read_manifest_from_d3d_adapters(const struct loader_instance *inst, char **reg_dat…
98 VkResult windows_read_data_files_in_registry(const struct loader_instance *inst, enum loader_data_f…
103 VkResult windows_read_sorted_physical_devices(struct loader_instance *inst, uint32_t *sorted_device…
107 VkResult windows_sort_physical_device_groups(struct loader_instance *inst, const uint32_t group_cou…
118 char *windows_get_app_package_manifest_path(const struct loader_instance *inst);
Dunknown_function_handling.h29 void loader_init_dispatch_dev_ext(struct loader_instance *inst, struct loader_device *dev);
30 void *loader_dev_ext_gpa_tramp(struct loader_instance *inst, const char *funcName);
31 void *loader_dev_ext_gpa_term(struct loader_instance *inst, const char *funcName);
33 void *loader_phys_dev_ext_gpa_tramp(struct loader_instance *inst, const char *funcName);
34 void *loader_phys_dev_ext_gpa_term(struct loader_instance *inst, const char *funcName);
36 void loader_free_dev_ext_table(struct loader_instance *inst);
37 void loader_free_phys_dev_ext_table(struct loader_instance *inst);
Ddebug_utils.c46 VkResult util_CreateDebugUtilsMessenger(struct loader_instance *inst, const VkDebugUtilsMessengerCr… in util_CreateDebugUtilsMessenger()
72 struct loader_instance *inst = loader_get_instance(instance); in debug_utils_CreateDebugUtilsMessengerEXT()
79 VkBool32 util_SubmitDebugUtilsMessageEXT(const struct loader_instance *inst, VkDebugUtilsMessageSev… in util_SubmitDebugUtilsMessageEXT()
116 void util_DestroyDebugUtilsMessenger(struct loader_instance *inst, VkDebugUtilsMessengerEXT messeng… in util_DestroyDebugUtilsMessenger()
133 VkResult util_CreateDebugUtilsMessengers(struct loader_instance *inst, const void *pChain, in util_CreateDebugUtilsMessengers()
155 struct loader_instance *inst = loader_get_instance(instance); in debug_utils_SubmitDebugUtilsMessageEXT()
162 struct loader_instance *inst = loader_get_instance(instance); in debug_utils_DestroyDebugUtilsMessengerEXT()
177 struct loader_instance *inst = (struct loader_instance *)instance; in terminator_CreateDebugUtilsMessengerEXT()
254 struct loader_instance *inst = (struct loader_instance *)instance; in terminator_DestroyDebugUtilsMessengerEXT()
283 struct loader_instance *inst = (struct loader_instance *)instance; in terminator_SubmitDebugUtilsMessageEXT()
[all …]
Dallocation.h34 void *loader_instance_heap_alloc(const struct loader_instance *instance, size_t size, VkSystemAlloc…
35 void *loader_instance_heap_calloc(const struct loader_instance *instance, size_t size, VkSystemAllo…
36 void loader_instance_heap_free(const struct loader_instance *instance, void *pMemory);
37 void *loader_instance_heap_realloc(const struct loader_instance *instance, void *pMemory, size_t or…
55 …_instance_fallback(const VkAllocationCallbacks *pAllocator, const struct loader_instance *instance,
57 …_instance_fallback(const VkAllocationCallbacks *pAllocator, const struct loader_instance *instance,
59 …_instance_fallback(const VkAllocationCallbacks *pAllocator, const struct loader_instance *instance,
61 …_instance_fallback(const VkAllocationCallbacks *pAllocator, const struct loader_instance *instance,
Ddebug_utils.h31 void add_debug_extensions_to_ext_list(const struct loader_instance *inst, struct loader_extension_l…
32 void check_for_enabled_debug_extensions(struct loader_instance *ptr_instance, const VkInstanceCreat…
33 bool debug_extensions_InstanceGpa(struct loader_instance *ptr_instance, const char *name, void **ad…
44 void destroy_debug_callbacks_chain(struct loader_instance *inst, const VkAllocationCallbacks *pAllo…
58 VkResult util_CreateDebugUtilsMessengers(struct loader_instance *inst, const void *pChain, const Vk…
59 VkBool32 util_SubmitDebugUtilsMessageEXT(const struct loader_instance *inst, VkDebugUtilsMessageSev…
77 VkResult util_CreateDebugReportCallbacks(struct loader_instance *inst, const void *pChain, const Vk…
78 VkBool32 util_DebugReportMessage(const struct loader_instance *inst, VkFlags msgFlags, VkDebugRepor…
Dunknown_function_handling.c44 void loader_init_dispatch_dev_ext_entry(struct loader_instance *inst, struct loader_device *dev, ui… in loader_init_dispatch_dev_ext_entry()
65 void loader_init_dispatch_dev_ext(struct loader_instance *inst, struct loader_device *dev) { in loader_init_dispatch_dev_ext()
72 bool loader_check_icds_for_dev_ext_address(struct loader_instance *inst, const char *funcName) { in loader_check_icds_for_dev_ext_address()
87 bool loader_check_layer_list_for_dev_ext_address(struct loader_instance *inst, const char *funcName… in loader_check_layer_list_for_dev_ext_address()
116 void loader_free_dev_ext_table(struct loader_instance *inst) { in loader_free_dev_ext_table()
140 void *loader_dev_ext_gpa_impl(struct loader_instance *inst, const char *funcName, bool is_tramp) { in loader_dev_ext_gpa_impl()
176 void *loader_dev_ext_gpa_tramp(struct loader_instance *inst, const char *funcName) { in loader_dev_ext_gpa_tramp()
180 void *loader_dev_ext_gpa_term(struct loader_instance *inst, const char *funcName) { in loader_dev_ext_gpa_term()
186 bool loader_check_icds_for_phys_dev_ext_address(struct loader_instance *inst, const char *funcName)… in loader_check_icds_for_phys_dev_ext_address()
200 bool loader_check_layer_list_for_phys_dev_ext_address(struct loader_instance *inst, const char *fun… in loader_check_layer_list_for_phys_dev_ext_address()
[all …]
Dget_environment.c39 char *loader_getenv(const char *name, const struct loader_instance *inst) { in loader_getenv()
46 char *loader_secure_getenv(const char *name, const struct loader_instance *inst) { in loader_secure_getenv()
77 void loader_free_getenv(char *val, const struct loader_instance *inst) { in loader_free_getenv()
108 char *loader_getenv(const char *name, const struct loader_instance *inst) { in loader_getenv()
145 char *loader_secure_getenv(const char *name, const struct loader_instance *inst) { in loader_secure_getenv()
157 void loader_free_getenv(char *val, const struct loader_instance *inst) { loader_instance_heap_free(… in loader_free_getenv()
161 char *loader_getenv(const char *name, const struct loader_instance *inst) { in loader_getenv()
167 void loader_free_getenv(char *val, const struct loader_instance *inst) { in loader_free_getenv()
Dallocation.c105 void *loader_instance_heap_alloc(const struct loader_instance *inst, size_t size, VkSystemAllocatio…
109 void *loader_instance_heap_calloc(const struct loader_instance *inst, size_t size, VkSystemAllocati…
113 void loader_instance_heap_free(const struct loader_instance *inst, void *pMemory) {
116 void *loader_instance_heap_realloc(const struct loader_instance *inst, void *pMemory, size_t orig_s…
137 …tance_fallback(const VkAllocationCallbacks *pAllocator, const struct loader_instance *inst, size_t…
142 …_instance_fallback(const VkAllocationCallbacks *pAllocator, const struct loader_instance *instance,
147 …_instance_fallback(const VkAllocationCallbacks *pAllocator, const struct loader_instance *instance,
152 …_instance_fallback(const VkAllocationCallbacks *pAllocator, const struct loader_instance *instance,
Dwsi.c41 void wsi_create_instance(struct loader_instance *loader_inst, const VkInstanceCreateInfo *pCreateIn… in wsi_create_instance()
180 struct loader_instance *loader_inst = loader_get_instance(instance); in vkDestroySurfaceKHR()
194 struct loader_instance *loader_inst = loader_get_instance(instance); in terminator_DestroySurfaceKHR()
245 struct loader_instance *loader_inst = (struct loader_instance *)icd_term->this_instance; in terminator_GetPhysicalDeviceSurfaceSupportKHR()
300 struct loader_instance *loader_inst = (struct loader_instance *)icd_term->this_instance; in terminator_GetPhysicalDeviceSurfaceCapabilitiesKHR()
356 struct loader_instance *loader_inst = (struct loader_instance *)icd_term->this_instance; in terminator_GetPhysicalDeviceSurfaceFormatsKHR()
414 struct loader_instance *loader_inst = (struct loader_instance *)icd_term->this_instance; in terminator_GetPhysicalDeviceSurfacePresentModesKHR()
534 static VkIcdSurface *AllocateIcdSurfaceStruct(struct loader_instance *instance, size_t base_size, s… in AllocateIcdSurfaceStruct()
564 struct loader_instance *loader_inst = loader_get_instance(instance); in vkCreateWin32SurfaceKHR()
583 struct loader_instance *loader_inst = loader_get_instance(instance); in terminator_CreateWin32SurfaceKHR()
[all …]
Dget_environment.h35 char *loader_getenv(const char *name, const struct loader_instance *inst);
36 void loader_free_getenv(char *val, const struct loader_instance *inst);
42 char *loader_secure_getenv(const char *name, const struct loader_instance *inst);
Dloader.c140 DIR *loader_opendir(const struct loader_instance *instance, const char *name) { in loader_opendir()
147 int loader_closedir(const struct loader_instance *instance, DIR *dir) { in loader_closedir()
163 void loader_handle_load_library_error(const struct loader_instance *inst, const char *filename, in loader_handle_load_library_error()
182 struct loader_instance *inst = loader_get_instance(instance); in vkSetInstanceDispatch()
202 void loader_free_layer_properties(const struct loader_instance *inst, struct loader_layer_propertie… in loader_free_layer_properties()
337 …ct loader_layer_properties *loader_get_next_layer_property_slot(const struct loader_instance *inst, in loader_get_next_layer_property_slot()
388 static bool loader_find_layer_name_in_meta_layer(const struct loader_instance *inst, const char *la… in loader_find_layer_name_in_meta_layer()
405 static bool loader_find_layer_name_in_blacklist(const struct loader_instance *inst, const char *lay… in loader_find_layer_name_in_blacklist()
417 void loader_delete_layer_list_and_properties(const struct loader_instance *inst, struct loader_laye… in loader_delete_layer_list_and_properties()
432 void loader_remove_layer_in_list(const struct loader_instance *inst, struct loader_layer_list *laye… in loader_remove_layer_in_list()
[all …]
Dloader_common.h214 const struct loader_instance *this_instance;
243 struct loader_instance { struct
265 struct loader_instance *next; argument
375 struct loader_instance *this_instance; argument
427 struct loader_instance *instances;
Dterminator.c130 const struct loader_instance *inst = icd_term->this_instance; in terminator_GetPhysicalDeviceFeatures2()
186 const struct loader_instance *inst = icd_term->this_instance; in terminator_GetPhysicalDeviceProperties2()
249 const struct loader_instance *inst = icd_term->this_instance; in terminator_GetPhysicalDeviceFormatProperties2()
287 const struct loader_instance *inst = icd_term->this_instance; in terminator_GetPhysicalDeviceImageFormatProperties2()
327 const struct loader_instance *inst = icd_term->this_instance; in terminator_GetPhysicalDeviceQueueFamilyProperties2()
385 const struct loader_instance *inst = icd_term->this_instance; in terminator_GetPhysicalDeviceMemoryProperties2()
423 const struct loader_instance *inst = icd_term->this_instance; in terminator_GetPhysicalDeviceSparseImageFormatProperties2()
493 const struct loader_instance *inst = icd_term->this_instance; in terminator_GetPhysicalDeviceExternalBufferProperties()
536 const struct loader_instance *inst = icd_term->this_instance; in terminator_GetPhysicalDeviceExternalSemaphoreProperties()
583 const struct loader_instance *inst = icd_term->this_instance; in terminator_GetPhysicalDeviceExternalFenceProperties()
Dloader_linux.h30 VkResult linux_read_sorted_physical_devices(struct loader_instance *inst, uint32_t icd_count,
35 VkResult linux_sort_physical_device_groups(struct loader_instance *inst, uint32_t group_count,
Dloader_windows.c111 bool windows_add_json_entry(const struct loader_instance *inst, in windows_add_json_entry()
164 bool windows_get_device_registry_entry(const struct loader_instance *inst, char **reg_data, PDWORD … in windows_get_device_registry_entry()
228 VkResult windows_get_device_registry_files(const struct loader_instance *inst, uint32_t log_target_… in windows_get_device_registry_files()
347 VkResult windows_get_registry_files(const struct loader_instance *inst, char *location, bool use_se… in windows_get_registry_files()
569 VkResult windows_read_manifest_from_d3d_adapters(const struct loader_instance *inst, char **reg_dat… in windows_read_manifest_from_d3d_adapters()
699 VkResult windows_read_data_files_in_registry(const struct loader_instance *inst, enum loader_data_f… in windows_read_data_files_in_registry()
787 VkResult windows_read_sorted_physical_devices(struct loader_instance *inst, uint32_t *sorted_device… in windows_read_sorted_physical_devices()
925 void windows_sort_devices_in_group(struct loader_instance *inst, struct VkPhysicalDeviceGroupProper… in windows_sort_devices_in_group()
948 VkResult windows_sort_physical_device_groups(struct loader_instance *inst, const uint32_t group_cou… in windows_sort_physical_device_groups()
992 char *windows_get_app_package_manifest_path(const struct loader_instance *inst) { in windows_get_app_package_manifest_path()
Dgpa_helper.h27 void *trampoline_get_proc_addr(struct loader_instance *inst, const char *funcName);
Dlog.h51 void loader_log(const struct loader_instance *inst, VkFlags msg_type, int32_t msg_code, const char …
Dtrampoline.c80 struct loader_instance *ptr_instance = loader_get_instance(instance); in vkGetInstanceProcAddr()
95 struct loader_instance *ptr_instance = loader_get_instance(instance); in vkGetInstanceProcAddr()
435 struct loader_instance *ptr_instance = NULL; in vkCreateInstance()
453 …(struct loader_instance *)loader_calloc(pAllocator, sizeof(struct loader_instance), VK_SYSTEM_ALLO… in vkCreateInstance()
663 struct loader_instance *ptr_instance = NULL; in vkDestroyInstance()
721 struct loader_instance *inst; in vkEnumeratePhysicalDevices()
927 const struct loader_instance *inst = phys_dev->this_instance; in vkEnumerateDeviceLayerProperties()
2454 struct loader_instance *inst = NULL; in vkEnumeratePhysicalDeviceGroups()
2501 …const struct loader_instance *inst = ((struct loader_physical_device_tramp *)physicalDevice)->this… in vkGetPhysicalDeviceFeatures2()
2520 …const struct loader_instance *inst = ((struct loader_physical_device_tramp *)physicalDevice)->this… in vkGetPhysicalDeviceProperties2()
[all …]
Dloader_linux.c207 static void linux_env_var_default_device(struct loader_instance *inst, uint32_t device_count, in linux_env_var_default_device()
235 VkResult linux_read_sorted_physical_devices(struct loader_instance *inst, uint32_t icd_count, in linux_read_sorted_physical_devices()
347 VkResult linux_sort_physical_device_groups(struct loader_instance *inst, uint32_t group_count, in linux_sort_physical_device_groups()
Dwsi.h72 bool wsi_swapchain_instance_gpa(struct loader_instance *ptr_instance, const char *name, void **addr…
74 void wsi_create_instance(struct loader_instance *ptr_instance, const VkInstanceCreateInfo *pCreateI…
Dasm_offset.c62 …{ .name = "FUNCTION_OFFSET_INSTANCE", .value = offsetof(struct loader_instance, phys_dev_ext_disp_… in main()
Dunknown_ext_chain.c49 …struct loader_instance *inst = (struct loader_instance *)icd_term->this_instance; …
Dunknown_ext_chain_gas_x86.S58 …+ INSTANCE_OFFSET_ICD_TERM] # Load the loader_instance into rdi (fir…
102 …word ptr [eax + INSTANCE_OFFSET_ICD_TERM] # Load the loader_instance into eax
107 … # Push the loader_instance (first arg)
/third_party/vulkan-loader/loader/generated/
Dvk_loader_extensions.h28 struct loader_instance;
38 bool extension_instance_gpa(struct loader_instance *ptr_instance, const char *name, void **addr);
43 void extensions_create_instance(struct loader_instance *ptr_instance, const VkInstanceCreateInfo *p…

12