Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(95)

Unified Diff: gpu/vulkan/vulkan_implementation.h

Issue 1776453003: Added initial implementation of Vulkan Render Passes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@gn_vulkan
Patch Set: Ensure vulkan handles all initialized to null, check destruction in destructor Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: gpu/vulkan/vulkan_implementation.h
diff --git a/gpu/vulkan/vulkan_implementation.h b/gpu/vulkan/vulkan_implementation.h
index ddbed2ce22f24a68e683425b2e68d51b08b14338..a8305b7ffc4620bef5d8186b4f8725c1aa57094f 100644
--- a/gpu/vulkan/vulkan_implementation.h
+++ b/gpu/vulkan/vulkan_implementation.h
@@ -7,14 +7,22 @@
#include <vulkan/vulkan.h>
+#include "base/memory/scoped_ptr.h"
+
namespace gfx {
+class VulkanCommandBuffer;
+
bool InitializeVulkan();
VkInstance GetVulkanInstance();
+VkPhysicalDevice GetVulkanPhysicalDevice();
VkDevice GetVulkanDevice();
VkQueue GetVulkanQueue();
+scoped_ptr<VulkanCommandBuffer> CreatePrimaryCommandBuffer();
+scoped_ptr<VulkanCommandBuffer> CreateSecondaryCommandBuffer();
+
} // namespace gfx
#endif // GPU_VULKAN_VULKAN_WSI_API_IMPLEMENTATION_H_

Powered by Google App Engine
This is Rietveld 408576698