Home
last modified time | relevance | path

Searched refs:VulkanDispatch (Results 1 – 25 of 50) sorted by relevance

12

/hardware/google/gfxstream/host/vulkan/
DVkAndroidNativeBuffer.h35 struct VulkanDispatch;
44 void teardownAndroidNativeBufferImage(VulkanDispatch* vk, AndroidNativeBufferInfo* anbInfo);
53 VulkanDispatch* vk = nullptr;
98 void setup(VulkanDispatch* vk, VkDevice device, VkQueue queue, uint32_t queueFamilyIndex,
100 void teardown(VulkanDispatch* vk, VkDevice device);
125 QsriWaitFencePool(VulkanDispatch*, VkDevice);
133 VulkanDispatch* mVk;
146 VkResult prepareAndroidNativeBufferImage(VulkanDispatch* vk, VkDevice device,
159 VkResult setAndroidNativeImageSemaphoreSignaled(VulkanDispatch* vk, VkDevice device,
166 VkResult syncImageToColorBuffer(VulkanDispatch* vk, uint32_t queueFamilyIndex, VkQueue queue,
DDisplayVk.h30 DisplayVk(const VulkanDispatch&, VkPhysicalDevice, uint32_t swapChainQueueFamilyIndex,
59 const VulkanDispatch& m_vk;
76 static std::shared_ptr<PostResource> create(const VulkanDispatch&, VkDevice, VkCommandPool);
81 PostResource(const VulkanDispatch&, VkDevice, VkCommandPool,
84 const VulkanDispatch& m_vk;
98 static std::unique_ptr<ImageBorrowResource> create(const VulkanDispatch&, VkDevice,
104 ImageBorrowResource(const VulkanDispatch&, VkDevice, VkCommandPool, VkFence,
106 const VulkanDispatch& m_vk;
DSwapChainStateVk.h40 static bool validateQueueFamilyProperties(const VulkanDispatch&, VkPhysicalDevice, VkSurfaceKHR,
43 const VulkanDispatch&, VkSurfaceKHR, VkPhysicalDevice, uint32_t width, uint32_t height,
50 static std::unique_ptr<SwapChainStateVk> createSwapChainVk(const VulkanDispatch&, VkDevice,
61 explicit SwapChainStateVk(const VulkanDispatch&, VkDevice);
67 const VulkanDispatch& m_vk;
DDisplaySurfaceVk.h29 static std::unique_ptr<DisplaySurfaceVk> create(const VulkanDispatch& vk, VkInstance vkInstance,
37 DisplaySurfaceVk(const VulkanDispatch& vk, VkInstance vkInstance, VkSurfaceKHR vkSurface);
39 const VulkanDispatch& mVk;
DVulkanDispatch.h21 VulkanDispatch* vkDispatch(bool forTesting = false);
22 bool vkDispatchValid(const VulkanDispatch* vk);
DVkCommonOperations.h76 struct VulkanDispatch;
82 bool getStagingMemoryTypeIndex(VulkanDispatch* vk, VkDevice device,
141 VulkanDispatch* gvk = nullptr;
142 VulkanDispatch* ivk = nullptr;
143 VulkanDispatch* dvk = nullptr;
428 VkEmulation* createGlobalVkEmulation(VulkanDispatch* vk, gfxstream::host::FeatureSet features);
452 VulkanDispatch* vk, VkEmulation::ExternalMemoryInfo* info, bool actuallyExternal = true,
456 void freeExternalMemoryLocked(VulkanDispatch* vk, VkEmulation::ExternalMemoryInfo* info);
458 bool importExternalMemory(VulkanDispatch* vk, VkDevice targetDevice,
460 bool importExternalMemoryDedicatedImage(VulkanDispatch* vk, VkDevice targetDevice,
DDebugUtilsHelper.h26 static DebugUtilsHelper withUtilsEnabled(VkDevice device, const VulkanDispatch* dispatch);
75 DebugUtilsHelper(bool enabled, VkDevice device, const VulkanDispatch* dispatch);
82 const VulkanDispatch* m_vk = nullptr;
DCompositorVk.h40 const VulkanDispatch& m_vk;
122 explicit CompositorVkBase(const VulkanDispatch& vk, VkDevice device, in CompositorVkBase()
149 const VulkanDispatch& vk, VkDevice vkDevice, VkPhysicalDevice vkPhysicalDevice,
165 explicit CompositorVk(const VulkanDispatch&, VkDevice, VkPhysicalDevice, VkQueue,
229 RenderTarget(const VulkanDispatch& vk, VkDevice vkDevice, VkImage vkImage,
233 const VulkanDispatch& m_vk;
DDisplaySurfaceVk.cpp27 std::unique_ptr<DisplaySurfaceVk> DisplaySurfaceVk::create(const VulkanDispatch& vk, in create()
52 DisplaySurfaceVk::DisplaySurfaceVk(const VulkanDispatch& vk, VkInstance instance, in DisplaySurfaceVk()
DDebugUtilsHelper.cpp32 const VulkanDispatch* dispatch) { in withUtilsEnabled()
36 DebugUtilsHelper::DebugUtilsHelper(bool enabled, VkDevice device, const VulkanDispatch* dispatch) in DebugUtilsHelper()
DVulkanDispatch.cpp323 VulkanDispatch* dispatch() { return &mDispatch; } in dispatch()
329 VulkanDispatch mDispatch;
360 VulkanDispatch* vkDispatch(bool forTesting) { in vkDispatch()
365 bool vkDispatchValid(const VulkanDispatch* vk) { in vkDispatchValid()
DDeviceOpTracker.h43 DeviceOpTracker(VkDevice device, VulkanDispatch* deviceDispatch);
67 VulkanDispatch* mDeviceDispatch = nullptr;
DSwapChainStateVk.cpp79 const VulkanDispatch& vk, VkDevice vkDevice, const VkSwapchainCreateInfoKHR& swapChainCi) { in createSwapChainVk()
87 SwapChainStateVk::SwapChainStateVk(const VulkanDispatch& vk, VkDevice vkDevice) in SwapChainStateVk()
156 bool SwapChainStateVk::validateQueueFamilyProperties(const VulkanDispatch& vk, in validateQueueFamilyProperties()
167 const VulkanDispatch& vk, VkSurfaceKHR surface, VkPhysicalDevice physicalDevice, uint32_t width, in createSwapChainCi()
DVkDecoderSnapshotUtils.h25 VulkanDispatch* deviceDispatch;
Dvk_util.cpp35 std::optional<uint32_t> findMemoryType(const VulkanDispatch* ivk, VkPhysicalDevice physicalDevice, in findMemoryType()
DDisplayVk.cpp55 DisplayVk::DisplayVk(const VulkanDispatch& vk, VkPhysicalDevice vkPhysicalDevice, in DisplayVk()
240 ImageBorrower(const VulkanDispatch& vk, VkQueue queue, in postImpl()
327 const VulkanDispatch& m_vk; in postImpl()
683 const VulkanDispatch& vk, VkDevice vkDevice, VkCommandPool vkCommandPool) { in create()
715 DisplayVk::PostResource::PostResource(const VulkanDispatch& vk, VkDevice vkDevice, in PostResource()
730 const VulkanDispatch& vk, VkDevice device, VkCommandPool commandPool) { in create()
755 DisplayVk::ImageBorrowResource::ImageBorrowResource(const VulkanDispatch& vk, VkDevice device, in ImageBorrowResource()
/hardware/google/gfxstream/host/vulkan/emulated_textures/
DCompressedImageInfo.h71 void createCompressedMipmapImages(VulkanDispatch* vk, const VkImageCreateInfo& createInfo);
74 void initAstcCpuDecompression(VulkanDispatch* vk, VkPhysicalDevice physicalDevice);
85 bool decompressIfNeeded(VulkanDispatch* vk, VkCommandBuffer commandBuffer,
99 VkResult bindCompressedMipmapsMemory(VulkanDispatch* vk, VkDeviceMemory memory,
108 void destroy(VulkanDispatch* vk);
132 VkResult initializeDecompressionPipeline(VulkanDispatch* vk, VkDevice device);
135 void decompress(VulkanDispatch* vk, VkCommandBuffer commandBuffer,
DGpuDecompressionPipeline.h49 VulkanDispatch* vk, VkDevice device, VkFormat compressedFormat,
67 GpuDecompressionPipeline(VulkanDispatch* vk, VkDevice device,
76 VulkanDispatch* mVk;
99 GpuDecompressionPipelineManager(VulkanDispatch* vk, VkDevice device);
122 VulkanDispatch* mVk = nullptr;
DAstcTexture.h27 AstcTexture(VulkanDispatch* vk, VkDevice device, VkPhysicalDevice physicalDevice,
61 VulkanDispatch* mVk;
DCompressedImageInfo.cpp34 VkImageView createDefaultImageView(VulkanDispatch* vk, VkDevice device, VkImage image, in createDefaultImageView()
390 void CompressedImageInfo::createCompressedMipmapImages(VulkanDispatch* vk, in createCompressedMipmapImages()
445 void CompressedImageInfo::initAstcCpuDecompression(VulkanDispatch* vk, in initAstcCpuDecompression()
451 bool CompressedImageInfo::decompressIfNeeded(VulkanDispatch* vk, VkCommandBuffer commandBuffer, in decompressIfNeeded()
525 VkResult CompressedImageInfo::bindCompressedMipmapsMemory(VulkanDispatch* vk, VkDeviceMemory memory, in bindCompressedMipmapsMemory()
605 void CompressedImageInfo::destroy(VulkanDispatch* vk) { in destroy()
654 VkResult CompressedImageInfo::initializeDecompressionPipeline(VulkanDispatch* vk, VkDevice device) { in initializeDecompressionPipeline()
738 void CompressedImageInfo::decompress(VulkanDispatch* vk, VkCommandBuffer commandBuffer, in decompress()
DGpuDecompressionPipeline.cpp160 VulkanDispatch* vk, VkDevice device, VkFormat compressedFormat, in create()
171 GpuDecompressionPipeline::GpuDecompressionPipeline(VulkanDispatch* vk, VkDevice device, in GpuDecompressionPipeline()
235 GpuDecompressionPipelineManager::GpuDecompressionPipelineManager(VulkanDispatch* vk, in GpuDecompressionPipelineManager()
/hardware/google/gfxstream/host/vulkan/cereal/common/
Dgoldfish_vk_dispatch.h41 struct VulkanDispatch;
52 VulkanDispatch* dispatch_out);
54 void init_vulkan_dispatch_from_instance(VulkanDispatch* vk, VkInstance instance,
55 VulkanDispatch* dispatch_out);
57 void init_vulkan_dispatch_from_device(VulkanDispatch* vk, VkDevice device,
58 VulkanDispatch* dispatch_out);
60 bool vulkan_dispatch_check_instance_VK_VERSION_1_0(const VulkanDispatch* vk);
62 bool vulkan_dispatch_check_instance_VK_VERSION_1_1(const VulkanDispatch* vk);
64 bool vulkan_dispatch_check_device_VK_VERSION_1_0(const VulkanDispatch* vk);
66 bool vulkan_dispatch_check_device_VK_VERSION_1_1(const VulkanDispatch* vk);
[all …]
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/scripts/cereal/
Ddispatch.py142 class VulkanDispatch(VulkanWrapperGenerator): class
397 class VulkanDispatchFast(VulkanDispatch):
400 VulkanDispatch.__init__(self, module, typeInfo)
495 VulkanDispatch.onBeginFeature(self, featureName, featureType);
498 VulkanDispatch.onGenType(self, typeXml, name, alias);
501 VulkanDispatch.onGenCmd(self, cmdinfo, name, alias);
/hardware/google/gfxstream/host/tests/
DVkTestUtils.h16 const VulkanDispatch& m_vk;
36 explicit RenderResourceVkBase(const VulkanDispatch& vk) in RenderResourceVkBase()
57 const VulkanDispatch& vk, VkDevice device, VkPhysicalDevice physicalDevice, VkQueue queue, in create()
123 RenderResourceVk(const VulkanDispatch& vk) : RenderResourceVkBase(vk) {} in RenderResourceVk()
DVulkan_unittest.cpp99 static std::string getPhysicalDevicePropertiesString(const VulkanDispatch* vk, in getPhysicalDevicePropertiesString()
138 static void testInstanceCreation(const VulkanDispatch* vk, in testInstanceCreation()
172 static void testDeviceCreation(const VulkanDispatch* vk, in testDeviceCreation()
382 static void teardownVulkanTest(const VulkanDispatch* vk, in teardownVulkanTest()
411 VulkanDispatch mVk;

12