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

Unified Diff: gpu/vulkan/vulkan_surface.h

Issue 1829163003: Added initial implementation of the Vulkan Context Provider. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@vk_surface_patch
Patch Set: Block off vulkan_cc with enable_vulkan (not relevant in future patch) 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
« no previous file with comments | « gpu/vulkan/vulkan_render_pass.cc ('k') | gpu/vulkan/vulkan_surface.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/vulkan/vulkan_surface.h
diff --git a/gpu/vulkan/vulkan_surface.h b/gpu/vulkan/vulkan_surface.h
index cb0baad43d77293aa6bfeb27c74db49def8c2160..c1cd166e99af9c3b86e75d13aa382ca05961771c 100644
--- a/gpu/vulkan/vulkan_surface.h
+++ b/gpu/vulkan/vulkan_surface.h
@@ -13,6 +13,7 @@
namespace gpu {
+class VulkanDeviceQueue;
class VulkanSwapChain;
class VULKAN_EXPORT VulkanSurface {
@@ -30,7 +31,8 @@ class VULKAN_EXPORT VulkanSurface {
virtual ~VulkanSurface() = 0;
- virtual bool Initialize(VulkanSurface::Format format) = 0;
+ virtual bool Initialize(VulkanDeviceQueue* device_queue,
+ VulkanSurface::Format format) = 0;
virtual void Destroy() = 0;
virtual gfx::SwapResult SwapBuffers() = 0;
« no previous file with comments | « gpu/vulkan/vulkan_render_pass.cc ('k') | gpu/vulkan/vulkan_surface.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698