Lines Matching refs:instance
99 VkInstance_T* instance;
179 Handle AllocHandle(VkInstance instance, HandleType::Enum type) {
181 AllocHandle(type, &instance->next_callback_handle));
298 VkInstance_T* instance =
302 if (!instance)
305 instance->dispatch.magic = HWVULKAN_DISPATCH_MAGIC;
306 instance->allocator = *allocator;
307 instance->physical_device.dispatch.magic = HWVULKAN_DISPATCH_MAGIC;
308 instance->next_callback_handle = 0;
313 ALOGV("instance extension '%s' requested",
321 *out_instance = instance;
326 PFN_vkVoidFunction GetInstanceProcAddr(VkInstance instance, const char* name) {
327 return instance ? GetInstanceProcAddr(name) : GetGlobalProcAddr(name);
336 // Instance
338 void DestroyInstance(VkInstance instance,
340 instance->allocator.pfnFree(instance->allocator.pUserData, instance);
346 VkResult EnumeratePhysicalDevices(VkInstance instance,
350 physical_devices[0] = &instance->physical_device;
614 VkInstance_T* instance = GetInstanceFromPhysicalDevice(physical_device);
616 allocator = &instance->allocator;
625 device->instance = instance;
1055 VkResult CreateDebugReportCallbackEXT(VkInstance instance,
1060 instance, HandleType::kDebugReportCallbackEXT);
1397 void DestroyDebugReportCallbackEXT(VkInstance instance, VkDebugReportCallbackEXT callback, const VkAllocationCallbacks* pAllocator) {
1400 void DebugReportMessageEXT(VkInstance instance, VkDebugReportFlagsEXT flags, VkDebugReportObjectTypeEXT objectType, uint64_t object, size_t location, int32_t messageCode, const char* pLayerPrefix, const char* pMessage) {