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 |