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

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: added include that was accidentally deleted 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
« no previous file with comments | « cc/output/output_surface.cc ('k') | cc/output/vulkan_in_process_context_provider.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..60cc7799cb126b0f7e13de59382f50e6aad3d09e 100644
--- a/cc/output/vulkan_in_process_context_provider.h
+++ b/cc/output/vulkan_in_process_context_provider.h
@@ -16,13 +16,15 @@ class VulkanDeviceQueue;
namespace cc {
-class CC_EXPORT VulkanInProcessContextProvider : public VulkanContextProvider {
+class CC_EXPORT VulkanInProcessContextProvider
+ : NON_EXPORTED_BASE(public VulkanContextProvider) {
piman 2016/04/20 21:08:46 nit: let's export VulkanContextProvider too
David Yen 2016/04/20 21:12:24 Done.
public:
static scoped_refptr<VulkanInProcessContextProvider> Create();
bool Initialize();
void Destroy();
+ // VulkanContextProvider implementation
gpu::VulkanDeviceQueue* GetDeviceQueue() override;
protected:
@@ -30,7 +32,11 @@ class CC_EXPORT VulkanInProcessContextProvider : public VulkanContextProvider {
~VulkanInProcessContextProvider() override;
private:
+#if defined(ENABLE_VULKAN)
std::unique_ptr<gpu::VulkanDeviceQueue> device_queue_;
+#endif
+
+ DISALLOW_COPY_AND_ASSIGN(VulkanInProcessContextProvider);
};
} // namespace cc
« no previous file with comments | « cc/output/output_surface.cc ('k') | cc/output/vulkan_in_process_context_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698