Home
last modified time | relevance | path

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

12345678910>>...17

/third_party/skia/src/gpu/vk/
DGrVkInterface.cpp30 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 …]
DGrVkMSAALoadManager.cpp25 : fVertShaderModule(VK_NULL_HANDLE) in GrVkMSAALoadManager()
26 , fFragShaderModule(VK_NULL_HANDLE) in GrVkMSAALoadManager()
27 , fPipelineLayout(VK_NULL_HANDLE) {} in GrVkMSAALoadManager()
129 if (VK_NULL_HANDLE == fVertShaderModule) { in loadMSAAFromResolve()
130 SkASSERT(fFragShaderModule == VK_NULL_HANDLE && fPipelineLayout == VK_NULL_HANDLE); in loadMSAAFromResolve()
136 SkASSERT(fPipelineLayout != VK_NULL_HANDLE); in loadMSAAFromResolve()
218 if (fVertShaderModule != VK_NULL_HANDLE) { in destroyResources()
221 fVertShaderModule = VK_NULL_HANDLE; in destroyResources()
224 if (fFragShaderModule != VK_NULL_HANDLE) { in destroyResources()
227 fFragShaderModule = VK_NULL_HANDLE; in destroyResources()
[all …]
/third_party/skia/tests/
DVkPriorityExtensionTest.cpp25 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 …]
DVkHardwareBufferTest.cpp371 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 …]
/third_party/skia/tools/gpu/vk/
DVkTestHelper.cpp18 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 …]
DVkTestUtils.cpp152 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()
239 GET_PROC_LOCAL(EnumerateDeviceExtensionProperties, inst, VK_NULL_HANDLE); in init_device_extensions_and_layers()
240 GET_PROC_LOCAL(EnumerateDeviceLayerProperties, inst, VK_NULL_HANDLE); in init_device_extensions_and_layers()
329 if (device != VK_NULL_HANDLE) { \
349 if (hasDebugExtension && *debugCallback != VK_NULL_HANDLE) { in destroy_instance()
350 ACQUIRE_VK_PROC_LOCAL(DestroyDebugReportCallbackEXT, inst, VK_NULL_HANDLE); in destroy_instance()
352 *debugCallback = VK_NULL_HANDLE; in destroy_instance()
354 ACQUIRE_VK_PROC_LOCAL(DestroyInstance, inst, VK_NULL_HANDLE); in destroy_instance()
405 ACQUIRE_VK_PROC_LOCAL(GetPhysicalDeviceFeatures2, inst, VK_NULL_HANDLE); in setup_features()
[all …]
/third_party/vulkan-loader/tests/
Dloader_debug_ext_tests.cpp143 VkInstance inst = VK_NULL_HANDLE; in TEST_F()
158 VkInstance inst = VK_NULL_HANDLE; in TEST_F()
174 VkInstance inst = VK_NULL_HANDLE; in TEST_F()
191 VkInstance inst = VK_NULL_HANDLE; in TEST_F()
210 VkInstance inst = VK_NULL_HANDLE; in TEST_F()
233 VkInstance inst = VK_NULL_HANDLE; in TEST_F()
258 VkInstance inst = VK_NULL_HANDLE; in TEST_F()
283 VkInstance inst = VK_NULL_HANDLE; in TEST_F()
310 VkInstance inst = VK_NULL_HANDLE; in TEST_F()
337 VkInstance inst = VK_NULL_HANDLE; in TEST_F()
[all …]
Dloader_threading_tests.cpp52 p(VK_NULL_HANDLE, VkPipelineBindPoint::VK_PIPELINE_BIND_POINT_GRAPHICS, VK_NULL_HANDLE); in create_destroy_instance_loop_with_function_queries()
73 p(VK_NULL_HANDLE, VkPipelineBindPoint::VK_PIPELINE_BIND_POINT_GRAPHICS, VK_NULL_HANDLE); in create_destroy_device_loop()
74 …d(VK_NULL_HANDLE, VkPipelineBindPoint::VK_PIPELINE_BIND_POINT_GRAPHICS, VK_NULL_HANDLE, 0, 0, null… in create_destroy_device_loop()
75 vb(VK_NULL_HANDLE, 0, 0, nullptr, nullptr); in create_destroy_device_loop()
76 ib(VK_NULL_HANDLE, 0, 0, VkIndexType::VK_INDEX_TYPE_UINT16); in create_destroy_device_loop()
77 c(VK_NULL_HANDLE, 0, 0, 0, 0); in create_destroy_device_loop()
Dloader_wsi_tests.cpp67 VkSurfaceKHR surface{VK_NULL_HANDLE}; in TEST()
70 ASSERT_TRUE(surface != VK_NULL_HANDLE); in TEST()
91 VkSurfaceKHR surface{VK_NULL_HANDLE}; in TEST()
94 ASSERT_TRUE(surface != VK_NULL_HANDLE); in TEST()
120 VkSurfaceKHR surface{VK_NULL_HANDLE}; in TEST()
123 ASSERT_TRUE(surface != VK_NULL_HANDLE); in TEST()
201 VkSurfaceKHR surface{VK_NULL_HANDLE}; in TEST()
204 ASSERT_TRUE(surface != VK_NULL_HANDLE); in TEST()
258 VkSurfaceKHR surface{VK_NULL_HANDLE}; in TEST()
260 ASSERT_TRUE(surface != VK_NULL_HANDLE); in TEST()
[all …]
Dloader_handle_validation_tests.cpp102 ASSERT_DEATH(env.vulkan_functions.vkDestroySurfaceKHR(bad_instance, VK_NULL_HANDLE, nullptr), in TEST()
125 VkSurfaceKHR created_surface = VK_NULL_HANDLE; in TEST()
149 VkSurfaceKHR created_surface = VK_NULL_HANDLE; in TEST()
171 VkSurfaceKHR created_surface = VK_NULL_HANDLE; in TEST()
194 VkSurfaceKHR created_surface = VK_NULL_HANDLE; in TEST()
217 VkSurfaceKHR created_surface = VK_NULL_HANDLE; in TEST()
240 VkSurfaceKHR created_surface = VK_NULL_HANDLE; in TEST()
264 VkSurfaceKHR created_surface = VK_NULL_HANDLE; in TEST()
287 VkSurfaceKHR created_surface = VK_NULL_HANDLE; in TEST()
310 VkSurfaceKHR created_surface = VK_NULL_HANDLE; in TEST()
[all …]
/third_party/skia/third_party/externals/swiftshader/tests/VulkanUnitTests/
DBasicTests.cpp44 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()
/third_party/skia/tools/sk_app/
DVulkanWindowContext.cpp40 , 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 …]
DVulkanWindowContext.h33 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;
/third_party/skia/third_party/externals/angle2/src/tests/test_utils/
DVulkanHelper.cpp157 if (mDevice != VK_NULL_HANDLE) in ~VulkanHelper()
162 if (mCommandPool != VK_NULL_HANDLE) in ~VulkanHelper()
169 if (mDevice != VK_NULL_HANDLE) in ~VulkanHelper()
173 mDevice = VK_NULL_HANDLE; in ~VulkanHelper()
174 mGraphicsQueue = VK_NULL_HANDLE; in ~VulkanHelper()
177 if (mInstance != VK_NULL_HANDLE) in ~VulkanHelper()
181 mInstance = VK_NULL_HANDLE; in ~VulkanHelper()
197 ASSERT(mInstance == VK_NULL_HANDLE); in initialize()
253 ASSERT(mInstance != VK_NULL_HANDLE); in initialize()
333 ASSERT(mDevice != VK_NULL_HANDLE); in initialize()
[all …]
DVulkanHelper.h119 VkInstance mInstance = VK_NULL_HANDLE;
120 VkPhysicalDevice mPhysicalDevice = VK_NULL_HANDLE;
121 VkDevice mDevice = VK_NULL_HANDLE;
122 VkQueue mGraphicsQueue = VK_NULL_HANDLE;
123 VkCommandPool mCommandPool = VK_NULL_HANDLE;
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/
DVulkanImageTest.cpp42 EXPECT_NE(instance, static_cast<VkInstance>(VK_NULL_HANDLE)); in TEST_P()
46 EXPECT_NE(physical_device, static_cast<VkPhysicalDevice>(VK_NULL_HANDLE)); in TEST_P()
50 EXPECT_NE(vk_device, static_cast<VkDevice>(VK_NULL_HANDLE)); in TEST_P()
54 EXPECT_NE(queue, static_cast<VkQueue>(VK_NULL_HANDLE)); in TEST_P()
118 VkImage vkImage = VK_NULL_HANDLE; in TEST_P()
121 EXPECT_NE(vkImage, static_cast<VkImage>(VK_NULL_HANDLE)); in TEST_P()
167 VkImage vkImage = VK_NULL_HANDLE; in TEST_P()
170 EXPECT_NE(vkImage, static_cast<VkImage>(VK_NULL_HANDLE)); in TEST_P()
212 VkImage vkImage = VK_NULL_HANDLE; in TEST_P()
215 EXPECT_NE(vkImage, static_cast<VkImage>(VK_NULL_HANDLE)); in TEST_P()
[all …]
DVulkanExternalImageTest.cpp224 VkImage image = VK_NULL_HANDLE; in RunShouldImportMemoryTest()
225 VkDeviceMemory deviceMemory = VK_NULL_HANDLE; in RunShouldImportMemoryTest()
285 VkSemaphore vkSemaphore = VK_NULL_HANDLE; in RunShouldImportSemaphoreTest()
334 VkImage image = VK_NULL_HANDLE; in RunShouldClearTest()
335 VkDeviceMemory deviceMemory = VK_NULL_HANDLE; in RunShouldClearTest()
496 VkImage image = VK_NULL_HANDLE; in RunTextureFormatCompatChromiumTest()
497 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 …]
/third_party/mesa3d/src/vulkan/runtime/
Dvk_android.c55 if (semaphore != VK_NULL_HANDLE && fence != VK_NULL_HANDLE) { in vk_common_AcquireImageANDROID()
67 } else if (semaphore != VK_NULL_HANDLE) { in vk_common_AcquireImageANDROID()
69 } else if (fence != VK_NULL_HANDLE) { in vk_common_AcquireImageANDROID()
77 if (semaphore != VK_NULL_HANDLE) { in vk_common_AcquireImageANDROID()
90 if (result == VK_SUCCESS && fence != VK_NULL_HANDLE) { in vk_common_AcquireImageANDROID()
/third_party/vk-gl-cts/external/amber/src/src/vulkan/
Dtransfer_image.h75 VkBuffer host_accessible_buffer_ = VK_NULL_HANDLE;
76 VkDeviceMemory host_accessible_memory_ = VK_NULL_HANDLE;
81 VkImage image_ = VK_NULL_HANDLE;
82 VkImageView view_ = VK_NULL_HANDLE;
83 VkDeviceMemory memory_ = VK_NULL_HANDLE;
Dtransfer_buffer.h39 if (buffer_ != VK_NULL_HANDLE) { in AddUsageFlags()
61 VkBuffer buffer_ = VK_NULL_HANDLE;
62 VkDeviceMemory memory_ = VK_NULL_HANDLE;
63 VkBufferView view_ = VK_NULL_HANDLE;
/third_party/skia/third_party/externals/imgui/backends/
Dimgui_impl_vulkan.cpp345 if (buffer != VK_NULL_HANDLE) in CreateOrResizeBuffer()
347 if (buffer_memory != VK_NULL_HANDLE) in CreateOrResizeBuffer()
431 if (pipeline == VK_NULL_HANDLE) in ImGui_ImplVulkan_RenderDrawData()
452 if (rb->VertexBuffer == VK_NULL_HANDLE || rb->VertexBufferSize < vertex_size) in ImGui_ImplVulkan_RenderDrawData()
454 if (rb->IndexBuffer == VK_NULL_HANDLE || rb->IndexBufferSize < index_size) in ImGui_ImplVulkan_RenderDrawData()
699 if (bd->ShaderModuleVert == VK_NULL_HANDLE) in ImGui_ImplVulkan_CreateShaderModules()
708 if (bd->ShaderModuleFrag == VK_NULL_HANDLE) in ImGui_ImplVulkan_CreateShaderModules()
970 bd->UploadBuffer = VK_NULL_HANDLE; in ImGui_ImplVulkan_DestroyFontUploadObjects()
975 bd->UploadBufferMemory = VK_NULL_HANDLE; in ImGui_ImplVulkan_DestroyFontUploadObjects()
986 …aderModule(v->Device, bd->ShaderModuleVert, v->Allocator); bd->ShaderModuleVert = VK_NULL_HANDLE; } in ImGui_ImplVulkan_DestroyDeviceObjects()
[all …]
/third_party/vk-gl-cts/external/amber/src/samples/
Dconfig_helper_vulkan.h102 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;
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
Dvk_wrapper.h103 bool valid() const { return (mHandle != VK_NULL_HANDLE); }
110 mHandle = VK_NULL_HANDLE;
115 WrappedObject() : mHandle(VK_NULL_HANDLE) {}
120 other.mHandle = VK_NULL_HANDLE;
642 mHandle = VK_NULL_HANDLE;
770 mHandle = VK_NULL_HANDLE;
790 ASSERT(srcBuffer != VK_NULL_HANDLE);
802 ASSERT(dstBuffer != VK_NULL_HANDLE);
861 ASSERT(mHandle != VK_NULL_HANDLE);
924 ASSERT(valid() && event != VK_NULL_HANDLE);
[all …]
/third_party/skia/third_party/externals/dawn/src/dawn_native/vulkan/
DNativeSwapChainImplVk.cpp75 if (mSwapChain != VK_NULL_HANDLE) { in ~NativeSwapChainImpl()
77 mSwapChain = VK_NULL_HANDLE; in ~NativeSwapChainImpl()
79 if (mSurface != VK_NULL_HANDLE) { in ~NativeSwapChainImpl()
81 mSurface = VK_NULL_HANDLE; in ~NativeSwapChainImpl()
158 if (oldSwapchain != VK_NULL_HANDLE) { in Configure()
168 VkSemaphore semaphore = VK_NULL_HANDLE; in GetNextTexture()
/third_party/skia/third_party/externals/dawn/src/tests/white_box/
DVulkanErrorInjectorTests.cpp50 VkBuffer buffer = VK_NULL_HANDLE; in TEST_P()
58 VkBuffer buffer = VK_NULL_HANDLE; in TEST_P()
64 EXPECT_EQ(buffer, VK_NULL_HANDLE); in TEST_P()
68 EXPECT_NE(buffer, VK_NULL_HANDLE); in TEST_P()

12345678910>>...17