Home
last modified time | relevance | path

Searched refs:VK_NULL_HANDLE (Results 1 – 14 of 14) sorted by relevance

/frameworks/native/vulkan/libvulkan/
Ddebug_report.cpp122 VkDebugReportCallbackEXT driver_handle = VK_NULL_HANDLE; in CreateDebugReportCallbackEXT()
135 if (driver_handle != VK_NULL_HANDLE) { in CreateDebugReportCallbackEXT()
151 if (callback == VK_NULL_HANDLE) in DestroyDebugReportCallbackEXT()
161 if (driver_handle != VK_NULL_HANDLE) { in DestroyDebugReportCallbackEXT()
Dswapchain.cpp131 Image() : image(VK_NULL_HANDLE), dequeue_fence(-1), dequeued(false) {} in Image()
194 image.image = VK_NULL_HANDLE; in ReleaseSwapchainImage()
207 swapchain->surface.swapchain_handle = VK_NULL_HANDLE; in OrphanSwapchain()
228 surface->swapchain_handle = VK_NULL_HANDLE; in CreateAndroidSurfaceKHR()
255 ALOGV_IF(surface->swapchain_handle != VK_NULL_HANDLE, in DestroySurfaceKHR()
437 if (create_info->oldSwapchain != VK_NULL_HANDLE) in CreateSwapchainKHR()
728 swapchain->surface.swapchain_handle = VK_NULL_HANDLE; in DestroySwapchainKHR()
Dlayers_extensions.cpp179 result = enumerate_device_layers(VK_NULL_HANDLE, &num_device_layers, in EnumerateLayers()
199 result = enumerate_device_layers(VK_NULL_HANDLE, &num_device_layers, in EnumerateLayers()
253 VK_NULL_HANDLE, props.layerName, &count, nullptr); in EnumerateLayers()
264 VK_NULL_HANDLE, props.layerName, &count, in EnumerateLayers()
Dapi.cpp630 logger_.Err(VK_NULL_HANDLE, "Failed to find layer %s", name); in LoadLayer()
776 get_instance_proc_addr_(VK_NULL_HANDLE, "vkCreateInstance")); in Create()
895 logger_.Err(VK_NULL_HANDLE, in ValidateExtensions()
1102 if (data.debug_callback != VK_NULL_HANDLE) in DestroyInstance()
1162 if (instance != VK_NULL_HANDLE) in DestroyInstance()
1175 if (device != VK_NULL_HANDLE) in DestroyDevice()
Ddebug_report.h40 : head_{nullptr, 0, nullptr, nullptr, VK_NULL_HANDLE} {} in DebugReportCallbackList()
Dcode-generator.tmpl541 if (instance == VK_NULL_HANDLE) {
549 ALOGE("invalid vkGetInstanceProcAddr(VK_NULL_HANDLE, \"%s\") call", pName);
607 if (device == VK_NULL_HANDLE) {
608 ALOGE("invalid vkGetDeviceProcAddr(VK_NULL_HANDLE, ...) call");
Ddriver.cpp197 physical_dev_(VK_NULL_HANDLE), in CreateInfoWrapper()
Dapi_gen.cpp434 if (device == VK_NULL_HANDLE) { in GetDeviceProcAddr()
488 if (instance == VK_NULL_HANDLE) { in GetInstanceProcAddr()
/frameworks/native/services/surfaceflinger/
DGpuService.cpp129 std::vector<VkPhysicalDevice> gpus(ngpu, VK_NULL_HANDLE); in vkjsonPrint()
/frameworks/native/vulkan/api/templates/
Dvulkan_h.tmpl61 #define VK_NULL_HANDLE nullptr
63 #define VK_NULL_HANDLE 0
Dvk_xml.tmpl97 »#define <name>VK_NULL_HANDLE</name> nullptr
99 »#define VK_NULL_HANDLE 0
/frameworks/native/vulkan/tools/
Dvkinfo.cpp290 std::vector<VkPhysicalDevice> gpus(num_gpus, VK_NULL_HANDLE); in GatherInfo()
292 gpus.resize(num_gpus, VK_NULL_HANDLE); in GatherInfo()
/frameworks/native/vulkan/api/
Dvulkan.api3186 // Unbind buffer from previous memory object, if not VK_NULL_HANDLE.
3192 // Bind buffer to given memory object, if not VK_NULL_HANDLE.
3222 // Unbind image from previous memory object, if not VK_NULL_HANDLE.
3228 // Bind image to given memory object, if not VK_NULL_HANDLE.
/frameworks/native/vulkan/include/vulkan/
Dvulkan.h49 #define VK_NULL_HANDLE 0 macro