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

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

Issue 2197613003: gpu: Introduce GpuChannelEstablishFactory. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 years, 5 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: 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 de913bc148c5eb9ea4e0211854eba1d731750391..7058db4a53d9379de452c990a77252971190e46c 100644
--- a/content/browser/compositor/gpu_process_transport_factory.h
+++ b/content/browser/compositor/gpu_process_transport_factory.h
@@ -90,9 +90,11 @@ class GpuProcessTransportFactory
PerCompositorData* CreatePerCompositorData(ui::Compositor* compositor);
std::unique_ptr<cc::SoftwareOutputDevice> CreateSoftwareOutputDevice(
ui::Compositor* compositor);
- void EstablishedGpuChannel(base::WeakPtr<ui::Compositor> compositor,
- bool create_gpu_output_surface,
- int num_attempts);
+ void EstablishedGpuChannel(
+ base::WeakPtr<ui::Compositor> compositor,
+ bool create_gpu_output_surface,
+ int num_attempts,
+ scoped_refptr<gpu::GpuChannelHost> established_channel_host);
void OnLostMainThreadSharedContextInsideCallback();
void OnLostMainThreadSharedContext();
« no previous file with comments | « no previous file | content/browser/compositor/gpu_process_transport_factory.cc » ('j') | gpu/ipc/client/gpu_channel_host.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698