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

Side by Side Diff: cc/output/vulkan_context_provider.h

Issue 2748263002: Move cc::DisplayItemList and related classes into cc/paint/ (Closed)
Patch Set: Merge branch 'master' into ccpaint Created 3 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 unified diff | Download patch
« no previous file with comments | « cc/output/texture_mailbox_deleter.h ('k') | cc/output/vulkan_in_process_context_provider.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2016 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CC_OUTPUT_VULKAN_CONTEXT_PROVIDER_H_ 5 #ifndef CC_OUTPUT_VULKAN_CONTEXT_PROVIDER_H_
6 #define CC_OUTPUT_VULKAN_CONTEXT_PROVIDER_H_ 6 #define CC_OUTPUT_VULKAN_CONTEXT_PROVIDER_H_
7 7
8 #include "base/memory/ref_counted.h" 8 #include "base/memory/ref_counted.h"
9 #include "cc/base/cc_export.h" 9 #include "cc/cc_export.h"
10 10
11 namespace gpu { 11 namespace gpu {
12 class VulkanDeviceQueue; 12 class VulkanDeviceQueue;
13 } 13 }
14 14
15 namespace cc { 15 namespace cc {
16 16
17 // The VulkanContextProvider groups sharing of vulkan objects synchronously. 17 // The VulkanContextProvider groups sharing of vulkan objects synchronously.
18 class CC_EXPORT VulkanContextProvider 18 class CC_EXPORT VulkanContextProvider
19 : public base::RefCountedThreadSafe<VulkanContextProvider> { 19 : public base::RefCountedThreadSafe<VulkanContextProvider> {
20 public: 20 public:
21 virtual gpu::VulkanDeviceQueue* GetDeviceQueue() = 0; 21 virtual gpu::VulkanDeviceQueue* GetDeviceQueue() = 0;
22 22
23 protected: 23 protected:
24 friend class base::RefCountedThreadSafe<VulkanContextProvider>; 24 friend class base::RefCountedThreadSafe<VulkanContextProvider>;
25 virtual ~VulkanContextProvider() {} 25 virtual ~VulkanContextProvider() {}
26 }; 26 };
27 27
28 } // namespace cc 28 } // namespace cc
29 29
30 #endif // CC_OUTPUT_VULKAN_CONTEXT_PROVIDER_H_ 30 #endif // CC_OUTPUT_VULKAN_CONTEXT_PROVIDER_H_
OLDNEW
« no previous file with comments | « cc/output/texture_mailbox_deleter.h ('k') | cc/output/vulkan_in_process_context_provider.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698