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

Unified Diff: content/browser/gpu/gpu_process_host.h

Issue 1753383003: Get rid of gpu related switches by passing gpu::GpuPreferences via IPC. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update Created 4 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/gpu/gpu_process_host.h
diff --git a/content/browser/gpu/gpu_process_host.h b/content/browser/gpu/gpu_process_host.h
index b3f6419ae238373e1411c073a01dee86b50475b3..90703a7ec59e801ad734f208254c0c0148290aad 100644
--- a/content/browser/gpu/gpu_process_host.h
+++ b/content/browser/gpu/gpu_process_host.h
@@ -40,6 +40,7 @@ struct ChannelHandle;
}
namespace gpu {
+struct GpuPreferences;
struct SyncToken;
}
@@ -52,7 +53,7 @@ class RenderWidgetHostViewFrameSubscriber;
class ShaderDiskCache;
typedef base::Thread* (*GpuMainThreadFactoryFunction)(
- const InProcessChildThreadParams&);
+ const InProcessChildThreadParams&, const gpu::GpuPreferences&);
class GpuProcessHost : public BrowserChildProcessHostDelegate,
public IPC::Sender,

Powered by Google App Engine
This is Rietveld 408576698