Searched refs:instance (Results 1 - 25 of 601) sorted by relevance

1234567891011>>

/xsrc/external/mit/MesaLib/dist/src/vulkan/util/
H A Dvk_instance.c35 vk_instance_init(struct vk_instance *instance, argument
41 memset(instance, 0, sizeof(*instance));
42 vk_object_base_init(NULL, &instance->base, VK_OBJECT_TYPE_INSTANCE);
43 instance->alloc = *alloc;
50 list_inithead(&instance->debug_utils.instance_callbacks);
61 return vk_error(instance, VK_ERROR_OUT_OF_HOST_MEMORY);
73 &instance->debug_utils.instance_callbacks);
77 instance->app_info = (struct vk_app_info) { .api_version = 0 };
81 instance
149 vk_instance_finish(struct vk_instance * instance) argument
202 vk_instance_get_proc_addr(const struct vk_instance * instance,const struct vk_instance_entrypoint_table * entrypoints,const char * name) argument
260 vk_instance_get_proc_addr_unchecked(const struct vk_instance * instance,const char * name) argument
285 vk_instance_get_physical_device_proc_addr(const struct vk_instance * instance,const char * name) argument
[all...]
H A Dvk_debug_report.c51 VK_FROM_HANDLE(vk_instance, instance, _instance);
54 vk_alloc2(&instance->alloc, pAllocator,
68 mtx_lock(&instance->debug_report.callbacks_mutex);
69 list_addtail(&cb->link, &instance->debug_report.callbacks);
70 mtx_unlock(&instance->debug_report.callbacks_mutex);
82 VK_FROM_HANDLE(vk_instance, instance, _instance);
89 mtx_lock(&instance->debug_report.callbacks_mutex);
92 vk_free2(&instance->alloc, pAllocator, callback);
93 mtx_unlock(&instance->debug_report.callbacks_mutex);
97 debug_report(struct vk_instance *instance, argument
145 vk_debug_report(struct vk_instance * instance,VkDebugReportFlagsEXT flags,const struct vk_object_base * object,size_t location,int32_t messageCode,const char * pLayerPrefix,const char * pMessage) argument
[all...]
H A Dvk_debug_report.h36 vk_debug_report(struct vk_instance *instance,
H A Dvk_physical_device.h38 struct vk_instance *instance; member in struct:vk_physical_device
52 struct vk_instance *instance,
H A Dvk_instance.h63 * instance
76 vk_instance_init(struct vk_instance *instance,
83 vk_instance_finish(struct vk_instance *instance);
92 vk_instance_get_proc_addr(const struct vk_instance *instance,
97 vk_instance_get_proc_addr_unchecked(const struct vk_instance *instance,
101 vk_instance_get_physical_device_proc_addr(const struct vk_instance *instance,
H A Dvk_debug_utils.c37 vk_debug_message(struct vk_instance *instance, argument
42 mtx_lock(&instance->debug_utils.callbacks_mutex);
45 &instance->debug_utils.callbacks, link) {
51 mtx_unlock(&instance->debug_utils.callbacks_mutex);
56 * creating an instance. It's only meant to be used during
60 vk_debug_message_instance(struct vk_instance *instance, argument
67 if (list_is_empty(&instance->debug_utils.instance_callbacks))
78 &instance->debug_utils.instance_callbacks, link) {
92 VK_FROM_HANDLE(vk_instance, instance, _instance);
95 vk_alloc2(&instance
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/vulkan/util/
H A Dvk_debug_report.c29 VkResult vk_debug_report_instance_init(struct vk_debug_report_instance *instance) argument
31 if (pthread_mutex_init(&instance->callbacks_mutex, NULL) != 0) {
35 list_inithead(&instance->callbacks);
40 void vk_debug_report_instance_destroy(struct vk_debug_report_instance *instance) argument
42 pthread_mutex_destroy(&instance->callbacks_mutex);
46 vk_create_debug_report_callback(struct vk_debug_report_instance *instance, argument
65 pthread_mutex_lock(&instance->callbacks_mutex);
66 list_addtail(&cb->link, &instance->callbacks);
67 pthread_mutex_unlock(&instance->callbacks_mutex);
75 vk_destroy_debug_report_callback(struct vk_debug_report_instance *instance, argument
92 vk_debug_report(struct vk_debug_report_instance * instance,VkDebugReportFlagsEXT flags,VkDebugReportObjectTypeEXT object_type,uint64_t handle,size_t location,int32_t messageCode,const char * pLayerPrefix,const char * pMessage) argument
[all...]
H A Dvk_debug_report.h48 VkResult vk_debug_report_instance_init(struct vk_debug_report_instance *instance);
49 void vk_debug_report_instance_destroy(struct vk_debug_report_instance *instance);
52 vk_create_debug_report_callback(struct vk_debug_report_instance *instance,
58 vk_destroy_debug_report_callback(struct vk_debug_report_instance *instance,
64 vk_debug_report(struct vk_debug_report_instance *instance,
/xsrc/external/mit/MesaLib/dist/src/virtio/vulkan/
H A Dvn_instance.c31 * Instance extensions add instance-level or physical-device-level
74 vn_instance_init_renderer_versions(struct vn_instance *instance) argument
78 vn_call_vkEnumerateInstanceVersion(instance, &instance_version);
81 vn_log(instance, "failed to enumerate renderer instance version");
87 vn_log(instance, "unsupported renderer instance version %d.%d",
95 vn_log(instance, "renderer instance version %d.%d.%d",
102 instance
116 vn_instance_init_ring(struct vn_instance * instance) argument
178 vn_instance_init_experimental_features(struct vn_instance * instance) argument
235 vn_instance_init_renderer(struct vn_instance * instance) argument
302 vn_instance_submit_roundtrip(struct vn_instance * instance,uint32_t * roundtrip_seqno) argument
323 vn_instance_wait_roundtrip(struct vn_instance * instance,uint32_t roundtrip_seqno) argument
459 vn_instance_submission_can_direct(const struct vn_instance * instance,const struct vn_cs_encoder * cs) argument
469 vn_instance_ring_cs_upload_locked(struct vn_instance * instance,const struct vn_cs_encoder * cs) argument
491 vn_instance_ring_submit_locked(struct vn_instance * instance,const struct vn_cs_encoder * cs,struct vn_renderer_shmem * extra_shmem,uint32_t * ring_seqno) argument
532 vn_instance_ring_submit(struct vn_instance * instance,const struct vn_cs_encoder * cs) argument
543 vn_instance_grow_reply_shmem_locked(struct vn_instance * instance,size_t size) argument
571 vn_instance_get_reply_shmem_locked(struct vn_instance * instance,size_t size,void ** ptr) argument
623 vn_instance_submit_command(struct vn_instance * instance,struct vn_instance_submit_command * submit) argument
696 struct vn_instance *instance; local in function:vn_CreateInstance
822 struct vn_instance *instance = vn_instance_from_handle(_instance); local in function:vn_DestroyInstance
866 struct vn_instance *instance = vn_instance_from_handle(_instance); local in function:vn_GetInstanceProcAddr
[all...]
H A Dvn_icd.c33 vk_icdGetInstanceProcAddr(VkInstance instance, const char *pName) argument
35 return vn_GetInstanceProcAddr(instance, pName);
41 struct vn_instance *instance = vn_instance_from_handle(_instance); local in function:vk_icdGetPhysicalDeviceProcAddr
42 return vk_instance_get_physical_device_proc_addr(&instance->base.base,
H A Dvn_icd.h22 vk_icdGetInstanceProcAddr(VkInstance instance, const char *pName);
26 vk_icdGetPhysicalDeviceProcAddr(VkInstance instance, const char *pName);
H A Dvn_instance.h22 /* require and request at least Vulkan 1.1 at both instance and device levels
26 /* max advertised version at both instance and device levels */
71 * base.base.app_info.api_version. renderer_version is the instance
93 vn_instance_submit_roundtrip(struct vn_instance *instance,
97 vn_instance_wait_roundtrip(struct vn_instance *instance,
101 vn_instance_roundtrip(struct vn_instance *instance) argument
104 if (vn_instance_submit_roundtrip(instance, &roundtrip_seqno) == VK_SUCCESS)
105 vn_instance_wait_roundtrip(instance, roundtrip_seqno);
109 vn_instance_ring_submit(struct vn_instance *instance,
125 vn_instance_submit_command_init(struct vn_instance *instance, argument
145 vn_instance_get_command_reply(struct vn_instance * instance,struct vn_instance_submit_command * submit) argument
152 vn_instance_free_command_reply(struct vn_instance * instance,struct vn_instance_submit_command * submit) argument
[all...]
H A Dvn_wsi.c73 &physical_dev->instance->base.base, pName);
80 &physical_dev->instance->base.base.alloc;
83 vn_wsi_proc_addr, alloc, -1, &physical_dev->instance->dri_options,
101 &physical_dev->instance->base.base.alloc;
128 vn_log(dev->instance, "forcing scanout image linear");
156 vn_log(dev->instance,
166 return vn_result(dev->instance, result);
178 vn_log(dev->instance, "swapchain %p: destroyed", VN_WSI_PTR(swapchain));
194 vn_log(queue->device->instance,
201 return vn_result(queue->device->instance, resul
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/intel/vulkan/tests/
H A Dstate_pool.c39 struct anv_instance instance; local in function:main
41 .instance = &instance,
H A Dblock_pool_grow_first.c30 struct anv_instance instance; local in function:main
32 .instance = &instance,
H A Dstate_pool_free_list_only.c38 struct anv_instance instance; local in function:main
40 .instance = &instance,
H A Dstate_pool_padding.c30 struct anv_instance instance; local in function:main
32 .instance = &instance,
/xsrc/external/mit/MesaLib/dist/src/vulkan/wsi/
H A Dwsi_common_win32.h33 wsi_create_win32_surface(VkInstance instance,
/xsrc/external/mit/MesaLib.old/dist/include/vulkan/
H A Dvulkan_ios.h42 typedef VkResult (VKAPI_PTR *PFN_vkCreateIOSSurfaceMVK)(VkInstance instance, const VkIOSSurfaceCreateInfoMVK* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkSurfaceKHR* pSurface);
46 VkInstance instance,
H A Dvulkan_macos.h42 typedef VkResult (VKAPI_PTR *PFN_vkCreateMacOSSurfaceMVK)(VkInstance instance, const VkMacOSSurfaceCreateInfoMVK* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkSurfaceKHR* pSurface);
46 VkInstance instance,
H A Dvulkan_vi.h42 typedef VkResult (VKAPI_PTR *PFN_vkCreateViSurfaceNN)(VkInstance instance, const VkViSurfaceCreateInfoNN* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkSurfaceKHR* pSurface);
46 VkInstance instance,
/xsrc/external/mit/MesaLib/dist/include/vulkan/
H A Dvulkan_ios.h33 typedef VkResult (VKAPI_PTR *PFN_vkCreateIOSSurfaceMVK)(VkInstance instance, const VkIOSSurfaceCreateInfoMVK* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkSurfaceKHR* pSurface);
37 VkInstance instance,
H A Dvulkan_macos.h33 typedef VkResult (VKAPI_PTR *PFN_vkCreateMacOSSurfaceMVK)(VkInstance instance, const VkMacOSSurfaceCreateInfoMVK* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkSurfaceKHR* pSurface);
37 VkInstance instance,
H A Dvulkan_vi.h33 typedef VkResult (VKAPI_PTR *PFN_vkCreateViSurfaceNN)(VkInstance instance, const VkViSurfaceCreateInfoNN* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkSurfaceKHR* pSurface);
37 VkInstance instance,
/xsrc/external/mit/MesaLib.old/dist/src/intel/vulkan/
H A Danv_util.c53 __anv_perf_warn(struct anv_instance *instance, const void *object, argument
67 vk_debug_report(&instance->debug_report_callbacks,
80 __vk_errorv(struct anv_instance *instance, const void *object, argument
98 if (instance) {
99 vk_debug_report(&instance->debug_report_callbacks,
115 __vk_errorf(struct anv_instance *instance, const void *object, argument
122 __vk_errorv(instance, object, type, error, file, line, format, ap);

Completed in 16 milliseconds

1234567891011>>