Home
last modified time | relevance | path

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

/hardware/google/gfxstream/host/vulkan/emulated_textures/
DGpuDecompressionPipeline.cpp175 : mVk(vk), in GpuDecompressionPipeline()
200 VkResult result = mVk->vkCreateShaderModule(mDevice, &shaderInfo, nullptr, &shader); in initialize()
214 result = mVk->vkCreateComputePipelines(mDevice, nullptr, 1, &computePipelineInfo, nullptr, in initialize()
216 mVk->vkDestroyShaderModule(mDevice, shader, nullptr); in initialize()
225 if (!mVk || !mDevice) return; in ~GpuDecompressionPipeline()
226 mVk->vkDestroyPipeline(mDevice, mPipeline, nullptr); in ~GpuDecompressionPipeline()
237 : mVk(vk), mDevice(device) {} in GpuDecompressionPipelineManager()
249 pipeline = GpuDecompressionPipeline::create(mVk, mDevice, compressedFormat, imageType, in get()
276 mVk->vkCreateDescriptorSetLayout(mDevice, &dsLayoutInfo, nullptr, &mDescriptorSetLayout); in getDescriptorSetLayout()
304 mVk->vkCreatePipelineLayout(mDevice, &pipelineLayoutInfo, nullptr, pipelineLayout); in getPipelineLayout()
[all …]
DAstcTexture.cpp69 : mVk(vk), in AstcTexture()
97 res = mVk->vkCreateBuffer(mDevice, &bufferInfo, nullptr, &mDecompBuffer); in createVkBufferAndMapMemory()
105 mVk->vkGetBufferMemoryRequirements(mDevice, mDecompBuffer, &memRequirements); in createVkBufferAndMapMemory()
108 mVk, mPhysicalDevice, memRequirements.memoryTypeBits, in createVkBufferAndMapMemory()
114 mVk, mPhysicalDevice, memRequirements.memoryTypeBits, in createVkBufferAndMapMemory()
127 res = mVk->vkAllocateMemory(mDevice, &allocInfo, nullptr, &mDecompBufferMemory); in createVkBufferAndMapMemory()
134 res = mVk->vkBindBufferMemory(mDevice, mDecompBuffer, mDecompBufferMemory, 0); in createVkBufferAndMapMemory()
141 res = mVk->vkMapMemory(mDevice, mDecompBufferMemory, 0, bufferSize, 0, (void**)&decompData); in createVkBufferAndMapMemory()
152 if (mVk && mDevice) { in destroyVkBuffer()
153 mVk->vkDestroyBuffer(mDevice, mDecompBuffer, nullptr); in destroyVkBuffer()
[all …]
DGpuDecompressionPipeline.h76 VulkanDispatch* mVk; variable
122 VulkanDispatch* mVk = nullptr; variable
DAstcTexture.h61 VulkanDispatch* mVk; variable
/hardware/google/gfxstream/host/vulkan/testing/
DVkDecoderTestDispatch.h30 : mVk(vk), mDgs(VkDecoderGlobalState::get()), mBp(bp), mDecoderContext(decoderContext) {} in VkDecoderTestDispatch()
71 return mVk->vkCmdBlitImage(unbox_VkCommandBuffer(commandBuffer), unbox_VkImage(srcImage), in vkCmdBlitImage()
127 auto func = (PFN_vkCreateDebugUtilsMessengerEXT)mVk->vkGetInstanceProcAddr( in vkCreateDebugUtilsMessengerEXT()
173 auto func = (PFN_vkDestroyDebugUtilsMessengerEXT)mVk->vkGetInstanceProcAddr( in vkDestroyDebugUtilsMessengerEXT()
205 return mVk->vkEnumerateInstanceLayerProperties(pPropertyCount, pProperties); in vkEnumerateInstanceLayerProperties()
232 mVk->vkGetBufferMemoryRequirements(unbox_VkDevice(device), unbox_VkBuffer(buffer), in vkGetBufferMemoryRequirements()
265 return mVk->vkDeviceWaitIdle(unbox_VkDevice(device)); in vkDeviceWaitIdle()
271 mVk->vkGetPhysicalDeviceQueueFamilyProperties(unbox_VkPhysicalDevice(physicalDevice), in vkGetPhysicalDeviceQueueFamilyProperties()
287 VulkanDispatch* mVk;
DVulkanTestHelper.cpp55 mVk(vkDispatch(/*forTesting=*/true)), in VulkanTestHelper()
59 mVkEmu(createGlobalVkEmulation(mVk, getGfxstreamFeatures())), in VulkanTestHelper()
65 mTestDispatch(mVk, mBp.get(), &mDecoderContext) {
DVulkanTestHelper.h101 VulkanDispatch* mVk; variable
/hardware/google/gfxstream/host/tests/
DVulkan_unittest.cpp401 mVk = *dispatch; in SetUp()
403 testInstanceCreation(&mVk, &mInstance); in SetUp()
404 testDeviceCreation(&mVk, mInstance, &mPhysicalDevice, &mDevice); in SetUp()
408 teardownVulkanTest(&mVk, mDevice, mInstance); in TearDown()
411 VulkanDispatch mVk; member in gfxstream::vk::__anonaea3c62c0111::VulkanTest
425 mVk.vkGetPhysicalDeviceMemoryProperties(mPhysicalDevice, &memProps); in TEST_F()
427 EXPECT_TRUE(getStagingMemoryTypeIndex(&mVk, mDevice, &memProps, &typeIndex)); in TEST_F()
511 mVk.vkCreateImage(mDevice, &testImageCi, nullptr, &image); in TEST_F()
514 mVk.vkGetImageMemoryRequirements(mDevice, image, &memReq); in TEST_F()
516 mVk.vkDestroyImage(mDevice, image, nullptr); in TEST_F()
/hardware/google/gfxstream/host/vulkan/
DDisplaySurfaceVk.cpp54 : mVk(vk), mInstance(instance), mSurface(surface) {} in DisplaySurfaceVk()
58 mVk.vkDestroySurfaceKHR(mInstance, mSurface, nullptr); in ~DisplaySurfaceVk()
DDisplaySurfaceVk.h39 const VulkanDispatch& mVk; variable
DVkAndroidNativeBuffer.h133 VulkanDispatch* mVk; member
DVkAndroidNativeBuffer.cpp54 : mVk(vk), mDevice(device) {} in QsriWaitFencePool()
66 mVk->vkCreateFence(mDevice, &fenceCreateInfo, nullptr, &fence); in getFenceFromPool()
71 VkResult res = mVk->vkResetFences(mDevice, 1, &fence); in getFenceFromPool()
92 mVk->vkDestroyFence(mDevice, fence, nullptr); in ~QsriWaitFencePool()
/hardware/google/gfxstream/common/end2end/
DGfxstreamEnd2EndTests.cpp239 mVk = SetupGuestVk(); in SetUp()
240 ASSERT_THAT(mVk, NotNull()); in SetUp()
261 mVk.reset(); in TearDownGuest()
DGfxstreamEnd2EndTests.h540 std::unique_ptr<vkhpp::DynamicLoader> mVk; variable