/external/skqp/src/gpu/vk/ |
D | GrVkInterface.cpp | 30 ACQUIRE_PROC(CreateInstance, VK_NULL_HANDLE, VK_NULL_HANDLE); in GrVkInterface() 31 ACQUIRE_PROC(EnumerateInstanceExtensionProperties, VK_NULL_HANDLE, VK_NULL_HANDLE); in GrVkInterface() 32 ACQUIRE_PROC(EnumerateInstanceLayerProperties, VK_NULL_HANDLE, VK_NULL_HANDLE); in GrVkInterface() 35 ACQUIRE_PROC(EnumeratePhysicalDevices, instance, VK_NULL_HANDLE); in GrVkInterface() 36 ACQUIRE_PROC(GetPhysicalDeviceFeatures, instance, VK_NULL_HANDLE); in GrVkInterface() 37 ACQUIRE_PROC(GetPhysicalDeviceFormatProperties, instance, VK_NULL_HANDLE); in GrVkInterface() 38 ACQUIRE_PROC(GetPhysicalDeviceImageFormatProperties, instance, VK_NULL_HANDLE); in GrVkInterface() 39 ACQUIRE_PROC(GetPhysicalDeviceProperties, instance, VK_NULL_HANDLE); in GrVkInterface() 40 ACQUIRE_PROC(GetPhysicalDeviceQueueFamilyProperties, instance, VK_NULL_HANDLE); in GrVkInterface() 41 ACQUIRE_PROC(GetPhysicalDeviceMemoryProperties, instance, VK_NULL_HANDLE); in GrVkInterface() [all …]
|
D | GrVkCopyManager.cpp | 33 : fVertShaderModule(VK_NULL_HANDLE) in GrVkCopyManager() 34 , fFragShaderModule(VK_NULL_HANDLE) in GrVkCopyManager() 173 if (VK_NULL_HANDLE == fVertShaderModule) { in copySurfaceAsDraw() 174 SkASSERT(VK_NULL_HANDLE == fFragShaderModule && in copySurfaceAsDraw() 425 if (VK_NULL_HANDLE != fVertShaderModule) { in destroyResources() 428 fVertShaderModule = VK_NULL_HANDLE; in destroyResources() 431 if (VK_NULL_HANDLE != fFragShaderModule) { in destroyResources() 434 fFragShaderModule = VK_NULL_HANDLE; in destroyResources() 449 fVertShaderModule = VK_NULL_HANDLE; in abandonResources() 450 fFragShaderModule = VK_NULL_HANDLE; in abandonResources()
|
/external/skia/src/gpu/vk/ |
D | GrVkInterface.cpp | 30 ACQUIRE_PROC(CreateInstance, VK_NULL_HANDLE, VK_NULL_HANDLE); in GrVkInterface() 31 ACQUIRE_PROC(EnumerateInstanceExtensionProperties, VK_NULL_HANDLE, VK_NULL_HANDLE); in GrVkInterface() 32 ACQUIRE_PROC(EnumerateInstanceLayerProperties, VK_NULL_HANDLE, VK_NULL_HANDLE); in GrVkInterface() 35 ACQUIRE_PROC(EnumeratePhysicalDevices, instance, VK_NULL_HANDLE); in GrVkInterface() 36 ACQUIRE_PROC(GetPhysicalDeviceFeatures, instance, VK_NULL_HANDLE); in GrVkInterface() 37 ACQUIRE_PROC(GetPhysicalDeviceFormatProperties, instance, VK_NULL_HANDLE); in GrVkInterface() 38 ACQUIRE_PROC(GetPhysicalDeviceImageFormatProperties, instance, VK_NULL_HANDLE); in GrVkInterface() 39 ACQUIRE_PROC(GetPhysicalDeviceProperties, instance, VK_NULL_HANDLE); in GrVkInterface() 40 ACQUIRE_PROC(GetPhysicalDeviceQueueFamilyProperties, instance, VK_NULL_HANDLE); in GrVkInterface() 41 ACQUIRE_PROC(GetPhysicalDeviceMemoryProperties, instance, VK_NULL_HANDLE); in GrVkInterface() [all …]
|
D | GrVkMSAALoadManager.cpp | 24 : fVertShaderModule(VK_NULL_HANDLE) in GrVkMSAALoadManager() 25 , fFragShaderModule(VK_NULL_HANDLE) in GrVkMSAALoadManager() 26 , fPipelineLayout(VK_NULL_HANDLE) {} in GrVkMSAALoadManager() 134 if (VK_NULL_HANDLE == fVertShaderModule) { in loadMSAAFromResolve() 135 SkASSERT(fFragShaderModule == VK_NULL_HANDLE && fPipelineLayout == VK_NULL_HANDLE); in loadMSAAFromResolve() 141 SkASSERT(fPipelineLayout != VK_NULL_HANDLE); in loadMSAAFromResolve() 223 if (fVertShaderModule != VK_NULL_HANDLE) { in destroyResources() 226 fVertShaderModule = VK_NULL_HANDLE; in destroyResources() 229 if (fFragShaderModule != VK_NULL_HANDLE) { in destroyResources() 232 fFragShaderModule = VK_NULL_HANDLE; in destroyResources() [all …]
|
/external/llvm-project/mlir/tools/mlir-vulkan-runner/ |
D | VulkanRuntime.h | 32 VkBuffer hostBuffer{VK_NULL_HANDLE}; 33 VkDeviceMemory hostMemory{VK_NULL_HANDLE}; 34 VkBuffer deviceBuffer{VK_NULL_HANDLE}; 35 VkDeviceMemory deviceMemory{VK_NULL_HANDLE}; 167 VkInstance instance{VK_NULL_HANDLE}; 168 VkPhysicalDevice physicalDevice{VK_NULL_HANDLE}; 169 VkDevice device{VK_NULL_HANDLE}; 170 VkQueue queue{VK_NULL_HANDLE}; 177 VkShaderModule shaderModule{VK_NULL_HANDLE}; 186 VkPipelineLayout pipelineLayout{VK_NULL_HANDLE}; [all …]
|
/external/skia/tools/gpu/vk/ |
D | VkTestHelper.cpp | 18 VK_NULL_HANDLE)); \ 25 fVk##name = reinterpret_cast<PFN_vk##name>(getProc("vk" #name, VK_NULL_HANDLE, fDevice)); \ 39 if (device != VK_NULL_HANDLE) { in init() 48 fBackendContext.fInstance = VK_NULL_HANDLE; in init() 49 fBackendContext.fDevice = VK_NULL_HANDLE; in init() 58 if (fDebugCallback != VK_NULL_HANDLE) { in init() 98 if (fDevice != VK_NULL_HANDLE) { in cleanup() 101 fDevice = VK_NULL_HANDLE; in cleanup() 103 if (fDebugCallback != VK_NULL_HANDLE) { in cleanup() 107 if (fBackendContext.fInstance != VK_NULL_HANDLE) { in cleanup() [all …]
|
D | VkTestUtils.cpp | 152 GET_PROC_LOCAL(EnumerateInstanceExtensionProperties, VK_NULL_HANDLE, VK_NULL_HANDLE); in init_instance_extensions_and_layers() 153 GET_PROC_LOCAL(EnumerateInstanceLayerProperties, VK_NULL_HANDLE, VK_NULL_HANDLE); in init_instance_extensions_and_layers() 237 GET_PROC_LOCAL(EnumerateDeviceExtensionProperties, inst, VK_NULL_HANDLE); in init_device_extensions_and_layers() 238 GET_PROC_LOCAL(EnumerateDeviceLayerProperties, inst, VK_NULL_HANDLE); in init_device_extensions_and_layers() 325 if (device != VK_NULL_HANDLE) { \ 345 if (hasDebugExtension && *debugCallback != VK_NULL_HANDLE) { in destroy_instance() 346 ACQUIRE_VK_PROC_LOCAL(DestroyDebugReportCallbackEXT, inst, VK_NULL_HANDLE); in destroy_instance() 348 *debugCallback = VK_NULL_HANDLE; in destroy_instance() 350 ACQUIRE_VK_PROC_LOCAL(DestroyInstance, inst, VK_NULL_HANDLE); in destroy_instance() 401 ACQUIRE_VK_PROC_LOCAL(GetPhysicalDeviceFeatures2, inst, VK_NULL_HANDLE); in setup_features() [all …]
|
/external/skqp/tests/ |
D | VkPriorityExtensionTest.cpp | 25 if (device != VK_NULL_HANDLE) { \ 44 ACQUIRE_VK_PROC_LOCAL(DestroyInstance, inst, VK_NULL_HANDLE); in destroy_instance() 59 if (device != VK_NULL_HANDLE) { in DEF_GPUTEST() 67 ACQUIRE_VK_PROC_NOCHECK(EnumerateInstanceVersion, VK_NULL_HANDLE, VK_NULL_HANDLE); in DEF_GPUTEST() 115 ACQUIRE_VK_PROC(CreateInstance, VK_NULL_HANDLE, VK_NULL_HANDLE); in DEF_GPUTEST() 122 ACQUIRE_VK_PROC(EnumeratePhysicalDevices, inst, VK_NULL_HANDLE); in DEF_GPUTEST() 123 ACQUIRE_VK_PROC(GetPhysicalDeviceProperties, inst, VK_NULL_HANDLE); in DEF_GPUTEST() 124 ACQUIRE_VK_PROC(GetPhysicalDeviceQueueFamilyProperties, inst, VK_NULL_HANDLE); in DEF_GPUTEST() 125 ACQUIRE_VK_PROC(GetPhysicalDeviceFeatures, inst, VK_NULL_HANDLE); in DEF_GPUTEST() 126 ACQUIRE_VK_PROC(CreateDevice, inst, VK_NULL_HANDLE); in DEF_GPUTEST() [all …]
|
D | VkMakeCopyPipelineTest.cpp | 31 : fVertShaderModule(VK_NULL_HANDLE) in TestVkCopyProgram() 32 , fFragShaderModule(VK_NULL_HANDLE) in TestVkCopyProgram() 33 , fPipelineLayout(VK_NULL_HANDLE) {} in TestVkCopyProgram() 143 VK_NULL_HANDLE); in test() 154 if (VK_NULL_HANDLE != fVertShaderModule) { in destroyResources() 157 fVertShaderModule = VK_NULL_HANDLE; in destroyResources() 160 if (VK_NULL_HANDLE != fFragShaderModule) { in destroyResources() 163 fFragShaderModule = VK_NULL_HANDLE; in destroyResources() 166 if (VK_NULL_HANDLE != fPipelineLayout) { in destroyResources() 169 fPipelineLayout = VK_NULL_HANDLE; in destroyResources()
|
/external/skia/tests/ |
D | VkPriorityExtensionTest.cpp | 25 if (device != VK_NULL_HANDLE) { \ 44 ACQUIRE_VK_PROC_LOCAL(DestroyInstance, inst, VK_NULL_HANDLE); in destroy_instance() 59 if (device != VK_NULL_HANDLE) { in DEF_GPUTEST() 67 ACQUIRE_VK_PROC_NOCHECK(EnumerateInstanceVersion, VK_NULL_HANDLE, VK_NULL_HANDLE); in DEF_GPUTEST() 115 ACQUIRE_VK_PROC(CreateInstance, VK_NULL_HANDLE, VK_NULL_HANDLE); in DEF_GPUTEST() 122 ACQUIRE_VK_PROC(EnumeratePhysicalDevices, inst, VK_NULL_HANDLE); in DEF_GPUTEST() 123 ACQUIRE_VK_PROC(GetPhysicalDeviceProperties, inst, VK_NULL_HANDLE); in DEF_GPUTEST() 124 ACQUIRE_VK_PROC(GetPhysicalDeviceQueueFamilyProperties, inst, VK_NULL_HANDLE); in DEF_GPUTEST() 125 ACQUIRE_VK_PROC(GetPhysicalDeviceFeatures, inst, VK_NULL_HANDLE); in DEF_GPUTEST() 126 ACQUIRE_VK_PROC(CreateDevice, inst, VK_NULL_HANDLE); in DEF_GPUTEST() [all …]
|
D | VkHardwareBufferTest.cpp | 371 VK_NULL_HANDLE)); \ 380 fVk##name = reinterpret_cast<PFN_vk##name>(getProc("vk" #name, VK_NULL_HANDLE, fDevice)); \ 394 if (VK_NULL_HANDLE == fDevice) { in releaseImage() 397 if (fImage != VK_NULL_HANDLE) { in releaseImage() 399 fImage = VK_NULL_HANDLE; in releaseImage() 402 if (fMemory != VK_NULL_HANDLE) { in releaseImage() 404 fMemory = VK_NULL_HANDLE; in releaseImage() 410 if (fSignalSemaphore != VK_NULL_HANDLE) { in cleanup() 412 fSignalSemaphore = VK_NULL_HANDLE; in cleanup() 415 if (fDevice != VK_NULL_HANDLE) { in cleanup() [all …]
|
/external/skqp/tools/gpu/vk/ |
D | VkTestUtils.cpp | 133 GET_PROC_LOCAL(EnumerateInstanceExtensionProperties, VK_NULL_HANDLE, VK_NULL_HANDLE); in init_instance_extensions_and_layers() 134 GET_PROC_LOCAL(EnumerateInstanceLayerProperties, VK_NULL_HANDLE, VK_NULL_HANDLE); in init_instance_extensions_and_layers() 218 GET_PROC_LOCAL(EnumerateDeviceExtensionProperties, inst, VK_NULL_HANDLE); in init_device_extensions_and_layers() 219 GET_PROC_LOCAL(EnumerateDeviceLayerProperties, inst, VK_NULL_HANDLE); in init_device_extensions_and_layers() 306 if (device != VK_NULL_HANDLE) { \ 326 if (hasDebugExtension && *debugCallback != VK_NULL_HANDLE) { in destroy_instance() 327 ACQUIRE_VK_PROC_LOCAL(DestroyDebugReportCallbackEXT, inst, VK_NULL_HANDLE); in destroy_instance() 329 *debugCallback = VK_NULL_HANDLE; in destroy_instance() 331 ACQUIRE_VK_PROC_LOCAL(DestroyInstance, inst, VK_NULL_HANDLE); in destroy_instance() 367 ACQUIRE_VK_PROC_LOCAL(GetPhysicalDeviceFeatures2, inst, VK_NULL_HANDLE); in setup_extension_features() [all …]
|
/external/swiftshader/tests/VulkanUnitTests/ |
D | BasicTests.cpp | 44 auto createInstance = driver.vk_icdGetInstanceProcAddr(VK_NULL_HANDLE, "vkCreateInstance"); in TEST_F() 48 driver.vk_icdGetInstanceProcAddr(VK_NULL_HANDLE, "vkEnumerateInstanceExtensionProperties"); in TEST_F() 52 driver.vk_icdGetInstanceProcAddr(VK_NULL_HANDLE, "vkEnumerateInstanceLayerProperties"); in TEST_F() 55 …auto enumerateInstanceVersion = driver.vk_icdGetInstanceProcAddr(VK_NULL_HANDLE, "vkEnumerateInsta… in TEST_F() 58 auto bad_function = driver.vk_icdGetInstanceProcAddr(VK_NULL_HANDLE, "bad_function"); in TEST_F() 79 VkInstance instance = VK_NULL_HANDLE; in TEST_F() 90 VkPhysicalDevice pPhysicalDevice = VK_NULL_HANDLE; in TEST_F() 93 EXPECT_NE(pPhysicalDevice, (VkPhysicalDevice)VK_NULL_HANDLE); in TEST_F()
|
/external/angle/third_party/vulkan_memory_allocator/src/ |
D | VulkanSample.cpp | 189 ERR_GUARD_VULKAN( vkQueueSubmit(g_hGraphicsQueue, 1, &submitInfo, VK_NULL_HANDLE) ); in EndSingleTimeCommands() 393 VkBuffer stagingVertexBuffer = VK_NULL_HANDLE; in CreateMesh() 394 VmaAllocation stagingVertexBufferAlloc = VK_NULL_HANDLE; in CreateMesh() 418 VkBuffer stagingIndexBuffer = VK_NULL_HANDLE; in CreateMesh() 419 VmaAllocation stagingIndexBufferAlloc = VK_NULL_HANDLE; in CreateMesh() 468 VkBuffer stagingBuf = VK_NULL_HANDLE; in CreateTexture() 469 VmaAllocation stagingBufAlloc = VK_NULL_HANDLE; in CreateTexture() 717 VkSwapchainKHR hNewSwapchain = VK_NULL_HANDLE; in CreateSwapchain() 719 if(g_hSwapchain != VK_NULL_HANDLE) in CreateSwapchain() 794 if(g_hPipelineLayout != VK_NULL_HANDLE) in CreateSwapchain() [all …]
|
/external/skqp/tools/sk_app/ |
D | VulkanWindowContext.cpp | 39 , fSurface(VK_NULL_HANDLE) in VulkanWindowContext() 40 , fSwapchain(VK_NULL_HANDLE) in VulkanWindowContext() 44 , fCommandPool(VK_NULL_HANDLE) in VulkanWindowContext() 58 if (device != VK_NULL_HANDLE) { in initializeContext() 88 VK_NULL_HANDLE)); in initializeContext() 102 if (fDebugCallback != VK_NULL_HANDLE) { in initializeContext() 123 if (VK_NULL_HANDLE == fSurface) { in initializeContext() 307 if (swapchainCreateInfo.oldSwapchain != VK_NULL_HANDLE) { in createSwapchain() 351 if (VK_NULL_HANDLE == fCommandPool) { in createBuffers() 456 if (VK_NULL_HANDLE != fCommandPool) { in destroyContext() [all …]
|
D | VulkanWindowContext.h | 33 bool isValid() override { return fDevice != VK_NULL_HANDLE; } in isValid() 70 VkInstance fInstance = VK_NULL_HANDLE; 71 VkPhysicalDevice fPhysicalDevice = VK_NULL_HANDLE; 72 VkDevice fDevice = VK_NULL_HANDLE; 73 VkDebugReportCallbackEXT fDebugCallback = VK_NULL_HANDLE;
|
/external/skia/tools/sk_app/ |
D | VulkanWindowContext.cpp | 40 , fSurface(VK_NULL_HANDLE) in VulkanWindowContext() 41 , fSwapchain(VK_NULL_HANDLE) in VulkanWindowContext() 59 if (device != VK_NULL_HANDLE) { in initializeContext() 89 VK_NULL_HANDLE)); in initializeContext() 103 if (fDebugCallback != VK_NULL_HANDLE) { in initializeContext() 124 if (VK_NULL_HANDLE == fSurface) { in initializeContext() 319 if (swapchainCreateInfo.oldSwapchain != VK_NULL_HANDLE) { in createSwapchain() 441 if (VK_NULL_HANDLE != fSwapchain) { in destroyContext() 443 fSwapchain = VK_NULL_HANDLE; in destroyContext() 446 if (VK_NULL_HANDLE != fSurface) { in destroyContext() [all …]
|
D | VulkanWindowContext.h | 33 bool isValid() override { return fDevice != VK_NULL_HANDLE; } in isValid() 67 VkInstance fInstance = VK_NULL_HANDLE; 68 VkPhysicalDevice fPhysicalDevice = VK_NULL_HANDLE; 69 VkDevice fDevice = VK_NULL_HANDLE; 70 VkDebugReportCallbackEXT fDebugCallback = VK_NULL_HANDLE;
|
/external/deqp-deps/amber/src/vulkan/ |
D | transfer_image.h | 73 VkBuffer host_accessible_buffer_ = VK_NULL_HANDLE; 74 VkDeviceMemory host_accessible_memory_ = VK_NULL_HANDLE; 79 VkImage image_ = VK_NULL_HANDLE; 80 VkImageView view_ = VK_NULL_HANDLE; 81 VkDeviceMemory memory_ = VK_NULL_HANDLE;
|
D | device.h | 96 VkInstance instance_ = VK_NULL_HANDLE; 97 VkPhysicalDevice physical_device_ = VK_NULL_HANDLE; 102 VkDevice device_ = VK_NULL_HANDLE; 103 VkQueue queue_ = VK_NULL_HANDLE;
|
D | transfer_buffer.h | 50 VkBuffer buffer_ = VK_NULL_HANDLE; 51 VkDeviceMemory memory_ = VK_NULL_HANDLE; 52 VkBufferView view_ = VK_NULL_HANDLE;
|
/external/angle/src/tests/test_utils/ |
D | VulkanExternalHelper.cpp | 156 if (mDevice != VK_NULL_HANDLE) in ~VulkanExternalHelper() 161 if (mCommandPool != VK_NULL_HANDLE) in ~VulkanExternalHelper() 166 if (mDevice != VK_NULL_HANDLE) in ~VulkanExternalHelper() 170 mDevice = VK_NULL_HANDLE; in ~VulkanExternalHelper() 171 mGraphicsQueue = VK_NULL_HANDLE; in ~VulkanExternalHelper() 174 if (mInstance != VK_NULL_HANDLE) in ~VulkanExternalHelper() 178 mInstance = VK_NULL_HANDLE; in ~VulkanExternalHelper() 193 ASSERT(mInstance == VK_NULL_HANDLE); in initialize() 249 ASSERT(mInstance != VK_NULL_HANDLE); in initialize() 326 ASSERT(mDevice != VK_NULL_HANDLE); in initialize() [all …]
|
D | VulkanExternalHelper.h | 114 VkInstance mInstance = VK_NULL_HANDLE; 115 VkPhysicalDevice mPhysicalDevice = VK_NULL_HANDLE; 116 VkDevice mDevice = VK_NULL_HANDLE; 117 VkQueue mGraphicsQueue = VK_NULL_HANDLE; 118 VkCommandPool mCommandPool = VK_NULL_HANDLE;
|
/external/deqp-deps/amber/samples/ |
D | config_helper_vulkan.h | 102 VkInstance vulkan_instance_ = VK_NULL_HANDLE; 103 VkDebugReportCallbackEXT vulkan_callback_ = VK_NULL_HANDLE; 104 VkPhysicalDevice vulkan_physical_device_ = VK_NULL_HANDLE; 108 VkQueue vulkan_queue_ = VK_NULL_HANDLE; 109 VkDevice vulkan_device_ = VK_NULL_HANDLE;
|
/external/angle/src/tests/gl_tests/ |
D | VulkanExternalImageTest.cpp | 232 VkImage image = VK_NULL_HANDLE; in RunShouldImportMemoryTest() 233 VkDeviceMemory deviceMemory = VK_NULL_HANDLE; in RunShouldImportMemoryTest() 293 VkSemaphore vkSemaphore = VK_NULL_HANDLE; in RunShouldImportSemaphoreTest() 342 VkImage image = VK_NULL_HANDLE; in RunShouldClearTest() 343 VkDeviceMemory deviceMemory = VK_NULL_HANDLE; in RunShouldClearTest() 497 VkImage image = VK_NULL_HANDLE; in RunTextureFormatCompatChromiumTest() 498 VkDeviceMemory deviceMemory = VK_NULL_HANDLE; in RunTextureFormatCompatChromiumTest() 645 VkSemaphore vkAcquireSemaphore = VK_NULL_HANDLE; in RunShouldClearWithSemaphoresTest() 648 EXPECT_TRUE(vkAcquireSemaphore != VK_NULL_HANDLE); in RunShouldClearWithSemaphoresTest() 650 VkSemaphore vkReleaseSemaphore = VK_NULL_HANDLE; in RunShouldClearWithSemaphoresTest() [all …]
|