Home
last modified time | relevance | path

Searched refs:GetVkDevice (Results 1 – 25 of 43) sorted by relevance

12

/third_party/vk-gl-cts/external/amber/src/src/vulkan/
Dcommand_buffer.cc33 device_->GetPtrs()->vkDestroyFence(device_->GetVkDevice(), fence_, nullptr); in ~CommandBuffer()
37 device_->GetVkDevice(), pool_->GetVkCommandPool(), 1, &command_); in ~CommandBuffer()
49 device_->GetVkDevice(), &command_info, &command_) != VK_SUCCESS) { in Initialize()
55 if (device_->GetPtrs()->vkCreateFence(device_->GetVkDevice(), &fence_info, in Initialize()
80 if (device_->GetPtrs()->vkResetFences(device_->GetVkDevice(), 1, &fence_) != in SubmitAndReset()
97 device_->GetVkDevice(), 1, &fence_, VK_TRUE, in SubmitAndReset()
Dtransfer_image.cc105 device_->GetPtrs()->vkDestroyImageView(device_->GetVkDevice(), view_, in ~TransferImage()
110 device_->GetPtrs()->vkDestroyImage(device_->GetVkDevice(), image_, nullptr); in ~TransferImage()
113 device_->GetPtrs()->vkFreeMemory(device_->GetVkDevice(), memory_, nullptr); in ~TransferImage()
117 device_->GetPtrs()->vkFreeMemory(device_->GetVkDevice(), in ~TransferImage()
122 device_->GetPtrs()->vkDestroyBuffer(device_->GetVkDevice(), in ~TransferImage()
131 if (device_->GetPtrs()->vkCreateImage(device_->GetVkDevice(), &image_info_, in Initialize()
215 if (device_->GetPtrs()->vkCreateImageView(device_->GetVkDevice(), in CreateVkImageView()
405 device_->GetPtrs()->vkGetImageMemoryRequirements(device_->GetVkDevice(), in AllocateAndBindMemoryToVkImage()
417 if (device_->GetPtrs()->vkBindImageMemory(device_->GetVkDevice(), image, in AllocateAndBindMemoryToVkImage()
Dresource.cc65 if (device_->GetPtrs()->vkCreateBuffer(device_->GetVkDevice(), &buffer_info, in CreateVkBuffer()
120 device_->GetPtrs()->vkGetBufferMemoryRequirements(device_->GetVkDevice(), in AllocateAndBindMemoryToVkBuffer()
132 if (device_->GetPtrs()->vkBindBufferMemory(device_->GetVkDevice(), buffer, in AllocateAndBindMemoryToVkBuffer()
147 if (device_->GetPtrs()->vkAllocateMemory(device_->GetVkDevice(), &alloc_info, in AllocateMemory()
156 if (device_->GetPtrs()->vkMapMemory(device_->GetVkDevice(), memory, 0, in MapMemory()
166 device_->GetPtrs()->vkUnmapMemory(device_->GetVkDevice(), memory); in UnMapMemory()
Dtransfer_buffer.cc33 device_->GetPtrs()->vkDestroyBufferView(device_->GetVkDevice(), view_, in ~TransferBuffer()
38 device_->GetPtrs()->vkFreeMemory(device_->GetVkDevice(), memory_, in ~TransferBuffer()
42 device_->GetPtrs()->vkDestroyBuffer(device_->GetVkDevice(), buffer_, in ~TransferBuffer()
76 if (device_->GetPtrs()->vkCreateBufferView(device_->GetVkDevice(), in Initialize()
Dcompute_pipeline.cc59 device_->GetVkDevice(), VK_NULL_HANDLE, 1, &pipeline_info, nullptr, in CreateVkComputePipeline()
112 device_->GetPtrs()->vkDestroyPipeline(device_->GetVkDevice(), pipeline, in Compute()
114 device_->GetPtrs()->vkDestroyPipelineLayout(device_->GetVkDevice(), in Compute()
Dcommand_pool.cc28 device_->GetPtrs()->vkDestroyCommandPool(device_->GetVkDevice(), pool_, in ~CommandPool()
39 device_->GetVkDevice(), &pool_info, nullptr, &pool_) != VK_SUCCESS) { in Initialize()
Dpipeline.cc56 device_->GetPtrs()->vkDestroyDescriptorSetLayout(device_->GetVkDevice(), in ~Pipeline()
64 device_->GetPtrs()->vkDestroyDescriptorPool(device_->GetVkDevice(), in ~Pipeline()
105 device_->GetVkDevice(), &desc_info, nullptr, &info.layout) != in CreateDescriptorSetLayouts()
142 if (device_->GetPtrs()->vkCreateDescriptorPool(device_->GetVkDevice(), in CreateDescriptorPools()
165 device_->GetVkDevice(), &desc_set_info, &desc_set) != VK_SUCCESS) { in CreateDescriptorSets()
198 device_->GetVkDevice(), &pipeline_layout_info, nullptr, in CreateVkPipelineLayout()
Dsampler.cc108 if (device_->GetPtrs()->vkCreateSampler(device_->GetVkDevice(), &sampler_info, in CreateSampler()
118 device_->GetPtrs()->vkDestroySampler(device_->GetVkDevice(), sampler_, in ~Sampler()
Dgraphics_pipeline.cc409 device_->GetPtrs()->vkDestroyRenderPass(device_->GetVkDevice(), in ~GraphicsPipeline()
484 if (device_->GetPtrs()->vkCreateRenderPass(device_->GetVkDevice(), in CreateRenderPass()
725 device_->GetVkDevice(), VK_NULL_HANDLE, 1, &pipeline_info, nullptr, in CreateVkGraphicsPipeline()
972 device_->GetPtrs()->vkDestroyPipeline(device_->GetVkDevice(), pipeline, in Draw()
974 device_->GetPtrs()->vkDestroyPipelineLayout(device_->GetVkDevice(), in Draw()
Dframe_buffer.cc45 device_->GetPtrs()->vkDestroyFramebuffer(device_->GetVkDevice(), frame_, in ~FrameBuffer()
133 if (device_->GetPtrs()->vkCreateFramebuffer(device_->GetVkDevice(), in Initialize()
Dsampler_descriptor.cc65 device_->GetPtrs()->vkUpdateDescriptorSets(device_->GetVkDevice(), 1, &write, in UpdateDescriptorSetIfNeeded()
/third_party/skia/third_party/externals/dawn/src/dawn_native/vulkan/external_semaphore/
DSemaphoreServiceFD.cpp79 mDevice->fn.CreateSemaphore(mDevice->GetVkDevice(), &info, nullptr, &*semaphore), in ImportSemaphore()
91 mDevice->fn.ImportSemaphoreFdKHR(mDevice->GetVkDevice(), &importSemaphoreFdInfo), in ImportSemaphore()
95 mDevice->fn.DestroySemaphore(mDevice->GetVkDevice(), semaphore, nullptr); in ImportSemaphore()
115 CheckVkSuccess(mDevice->fn.CreateSemaphore(mDevice->GetVkDevice(), &semaphoreCreateInfo, in CreateExportableSemaphore()
130 mDevice->fn.GetSemaphoreFdKHR(mDevice->GetVkDevice(), &semaphoreGetFdInfo, &fd), in ExportSemaphore()
DSemaphoreServiceZirconHandle.cpp73 mDevice->fn.CreateSemaphore(mDevice->GetVkDevice(), &info, nullptr, &*semaphore), in ImportSemaphore()
87 mDevice->GetVkDevice(), &importSemaphoreHandleInfo), in ImportSemaphore()
91 mDevice->fn.DestroySemaphore(mDevice->GetVkDevice(), semaphore, nullptr); in ImportSemaphore()
112 CheckVkSuccess(mDevice->fn.CreateSemaphore(mDevice->GetVkDevice(), &semaphoreCreateInfo, in CreateExportableSemaphore()
128 mDevice->GetVkDevice(), &semaphoreGetHandleInfo, &handle), in ExportSemaphore()
/third_party/skia/third_party/externals/dawn/src/tests/white_box/
DVulkanErrorInjectorTests.cpp52 mDeviceVk->fn.CreateBuffer(mDeviceVk->GetVkDevice(), &createInfo, nullptr, &buffer), in TEST_P()
54 mDeviceVk->fn.DestroyBuffer(mDeviceVk->GetVkDevice(), buffer, nullptr); in TEST_P()
60 mDeviceVk->fn.CreateBuffer(mDeviceVk->GetVkDevice(), &createInfo, nullptr, &buffer), in TEST_P()
71 mDeviceVk->fn.DestroyBuffer(mDeviceVk->GetVkDevice(), buffer, nullptr); in TEST_P()
/third_party/skia/third_party/externals/dawn/src/dawn_native/vulkan/
DNativeSwapChainImplVk.cpp138 if (mDevice->fn.CreateSwapchainKHR(mDevice->GetVkDevice(), &createInfo, nullptr, in Configure()
146 if (mDevice->fn.GetSwapchainImagesKHR(mDevice->GetVkDevice(), mSwapChain, &count, in Configure()
153 if (mDevice->fn.GetSwapchainImagesKHR(mDevice->GetVkDevice(), mSwapChain, &count, in Configure()
174 if (mDevice->fn.CreateSemaphore(mDevice->GetVkDevice(), &createInfo, nullptr, in GetNextTexture()
180 if (mDevice->fn.AcquireNextImageKHR(mDevice->GetVkDevice(), mSwapChain, in GetNextTexture()
DStagingBufferVk.cpp41 mDevice->fn.CreateBuffer(mDevice->GetVkDevice(), &createInfo, nullptr, &*mBuffer), in Initialize()
45 mDevice->fn.GetBufferMemoryRequirements(mDevice->GetVkDevice(), mBuffer, &requirements); in Initialize()
51 mDevice->fn.BindBufferMemory(mDevice->GetVkDevice(), mBuffer, in Initialize()
DDescriptorSetAllocator.cpp150 DAWN_TRY(CheckVkSuccess(device->fn.CreateDescriptorPool(device->GetVkDevice(), &createInfo, in AllocateDescriptorPool()
165 CheckVkSuccess(device->fn.AllocateDescriptorSets(device->GetVkDevice(), &allocateInfo, in AllocateDescriptorPool()
170 device->fn.DestroyDescriptorPool(device->GetVkDevice(), descriptorPool, nullptr); in AllocateDescriptorPool()
DSwapChainVk.cpp307 DAWN_TRY(CheckVkSuccess(device->fn.CreateSwapchainKHR(device->GetVkDevice(), &createInfo, in Initialize()
315 device->fn.GetSwapchainImagesKHR(device->GetVkDevice(), mSwapChain, &count, nullptr), in Initialize()
320 device->fn.GetSwapchainImagesKHR(device->GetVkDevice(), mSwapChain, &count, in Initialize()
573 device->fn.CreateSemaphore(device->GetVkDevice(), &createInfo, nullptr, &*semaphore), in GetCurrentTextureViewInternal()
577 device->GetVkDevice(), mSwapChain, std::numeric_limits<uint64_t>::max(), semaphore, in GetCurrentTextureViewInternal()
DBindGroupLayoutVk.cpp123 device->GetVkDevice(), &createInfo, nullptr, &*mHandle), in Initialize()
169 device->fn.DestroyDescriptorSetLayout(device->GetVkDevice(), mHandle, nullptr); in DestroyImpl()
DBufferVk.cpp194 device->fn.CreateBuffer(device->GetVkDevice(), &createInfo, nullptr, &*mHandle), in Initialize()
199 device->fn.GetBufferMemoryRequirements(device->GetVkDevice(), mHandle, &requirements); in Initialize()
210 device->fn.BindBufferMemory(device->GetVkDevice(), mHandle, in Initialize()
DResourceMemoryAllocatorVk.cpp91 mDevice->fn.AllocateMemory(mDevice->GetVkDevice(), &allocateInfo, nullptr, in AllocateResourceHeap()
168 CheckVkSuccess(mDevice->fn.MapMemory(mDevice->GetVkDevice(), in Allocate()
DUtilsVulkan.cpp189 device->fn.SetDebugUtilsObjectNameEXT(device->GetVkDevice(), &objectNameInfo); in SetDebugName()
197 device->fn.SetDebugUtilsObjectNameEXT(device->GetVkDevice(), &objectNameInfo); in SetDebugName()
/third_party/skia/third_party/externals/dawn/src/dawn_native/vulkan/external_memory/
DMemoryServiceOpaqueFD.cpp108 mDevice->fn.GetImageMemoryRequirements(mDevice->GetVkDevice(), image, &requirements); in ImportMemory()
126 DAWN_TRY(CheckVkSuccess(mDevice->fn.AllocateMemory(mDevice->GetVkDevice(), &allocateInfo, in ImportMemory()
149 mDevice->fn.CreateImage(mDevice->GetVkDevice(), &createInfo, nullptr, &*image), in CreateImage()
DMemoryServiceZirconHandle.cpp108 mDevice->fn.GetImageMemoryRequirements(mDevice->GetVkDevice(), image, &requirements); in ImportMemory()
127 DAWN_TRY(CheckVkSuccess(mDevice->fn.AllocateMemory(mDevice->GetVkDevice(), &allocateInfo, in ImportMemory()
151 mDevice->fn.CreateImage(mDevice->GetVkDevice(), &createInfo, nullptr, &*image), in CreateImage()
DMemoryServiceDmaBuf.cpp162 VkDevice device = mDevice->GetVkDevice(); in GetMemoryImportParams()
213 CheckVkSuccess(mDevice->fn.AllocateMemory(mDevice->GetVkDevice(), &memoryAllocateInfo, in ImportMemory()
227 VkDevice device = mDevice->GetVkDevice(); in CreateImage()

12