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

Unified Diff: content/browser/compositor/gpu_process_transport_factory.h

Issue 2584363002: gpu: Move ContextProviderCommandBuffer into mus gpu client-lib. (Closed)
Patch Set: tot merge Created 4 years 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: content/browser/compositor/gpu_process_transport_factory.h
diff --git a/content/browser/compositor/gpu_process_transport_factory.h b/content/browser/compositor/gpu_process_transport_factory.h
index ad55470d81a0fda806fe6b294a7fc6f706d24b4a..4024c07bde11ce9aeb8fb7773e345053eb310627 100644
--- a/content/browser/compositor/gpu_process_transport_factory.h
+++ b/content/browser/compositor/gpu_process_transport_factory.h
@@ -27,8 +27,11 @@ class SurfaceManager;
class VulkanInProcessContextProvider;
}
-namespace content {
+namespace ui {
class ContextProviderCommandBuffer;
+}
+
+namespace content {
class OutputDeviceBacking;
class GpuProcessTransportFactory : public ui::ContextFactory,
@@ -112,11 +115,12 @@ class GpuProcessTransportFactory : public ui::ContextFactory,
PerCompositorDataMap;
PerCompositorDataMap per_compositor_data_;
- scoped_refptr<ContextProviderCommandBuffer> shared_main_thread_contexts_;
+ scoped_refptr<ui::ContextProviderCommandBuffer> shared_main_thread_contexts_;
std::unique_ptr<display_compositor::GLHelper> gl_helper_;
base::ObserverList<ui::ContextFactoryObserver> observer_list_;
std::unique_ptr<cc::SingleThreadTaskGraphRunner> task_graph_runner_;
- scoped_refptr<ContextProviderCommandBuffer> shared_worker_context_provider_;
+ scoped_refptr<ui::ContextProviderCommandBuffer>
+ shared_worker_context_provider_;
bool shared_vulkan_context_provider_initialized_ = false;
scoped_refptr<cc::VulkanInProcessContextProvider>
« no previous file with comments | « content/browser/compositor/gpu_output_surface_mac.mm ('k') | content/browser/compositor/gpu_process_transport_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698