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

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

Issue 953803005: ui: Move software fallback decisions to GpuProcessTransportFactory. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 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 f9a55f3bdc235175856f134f6e82d51ef13d817e..eede2342ac8ab58034230340a8a80efde3bb6c2e 100644
--- a/content/browser/compositor/gpu_process_transport_factory.h
+++ b/content/browser/compositor/gpu_process_transport_factory.h
@@ -43,8 +43,7 @@ class GpuProcessTransportFactory
CreateOffscreenCommandBufferContext();
// ui::ContextFactory implementation.
- void CreateOutputSurface(base::WeakPtr<ui::Compositor> compositor,
- bool software_fallback) override;
+ void CreateOutputSurface(base::WeakPtr<ui::Compositor> compositor) override;
scoped_refptr<ui::Reflector> CreateReflector(ui::Compositor* source,
ui::Layer* target) override;
void RemoveReflector(scoped_refptr<ui::Reflector> reflector) override;
@@ -75,7 +74,8 @@ class GpuProcessTransportFactory
PerCompositorData* CreatePerCompositorData(ui::Compositor* compositor);
void EstablishedGpuChannel(base::WeakPtr<ui::Compositor> compositor,
- bool create_software_renderer);
+ bool create_gpu_output_surface,
+ int num_attempts);
scoped_ptr<WebGraphicsContext3DCommandBufferImpl> CreateContextCommon(
scoped_refptr<GpuChannelHost> gpu_channel_host,
int surface_id);

Powered by Google App Engine
This is Rietveld 408576698