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

Unified Diff: cc/output/vulkan_in_process_context_provider.h

Issue 1892303003: Added the Vulkan Context Provider implementation. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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: cc/output/vulkan_in_process_context_provider.h
diff --git a/cc/output/vulkan_in_process_context_provider.h b/cc/output/vulkan_in_process_context_provider.h
index 3f3de6161e621a71da7258650f2653420e59bef5..46d0de809d984f43dcef0f2f9dd97e35aeefb747 100644
--- a/cc/output/vulkan_in_process_context_provider.h
+++ b/cc/output/vulkan_in_process_context_provider.h
@@ -23,7 +23,9 @@ class CC_EXPORT VulkanInProcessContextProvider : public VulkanContextProvider {
bool Initialize();
void Destroy();
+ // VulkanContextProvider implementation
gpu::VulkanDeviceQueue* GetDeviceQueue() override;
+ void SwapBuffers() override;
protected:
VulkanInProcessContextProvider();
@@ -31,6 +33,8 @@ class CC_EXPORT VulkanInProcessContextProvider : public VulkanContextProvider {
private:
std::unique_ptr<gpu::VulkanDeviceQueue> device_queue_;
+
+ DISALLOW_COPY_AND_ASSIGN(VulkanInProcessContextProvider);
};
} // namespace cc

Powered by Google App Engine
This is Rietveld 408576698