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

Unified Diff: content/common/gpu/client/gpu_channel_host.h

Issue 111063003: Aura: Don't create GL context for CreateSharedSurfaceHandle() (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: try to make tests happy by still creating shared context Created 6 years, 11 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/common/gpu/client/gpu_channel_host.h
diff --git a/content/common/gpu/client/gpu_channel_host.h b/content/common/gpu/client/gpu_channel_host.h
index 52ffb382bd0ab7081433ffbf64f8e0d021e5f1f6..03466ea99664728e07c43e0dd86a6f01fd988da8 100644
--- a/content/common/gpu/client/gpu_channel_host.h
+++ b/content/common/gpu/client/gpu_channel_host.h
@@ -93,7 +93,6 @@ class GpuChannelHost : public IPC::Sender,
// Must be called on the main thread (as defined by the factory).
static scoped_refptr<GpuChannelHost> Create(
GpuChannelHostFactory* factory,
- int gpu_host_id,
const gpu::GPUInfo& gpu_info,
const IPC::ChannelHandle& channel_handle);
@@ -150,7 +149,6 @@ class GpuChannelHost : public IPC::Sender,
void RemoveRoute(int route_id);
GpuChannelHostFactory* factory() const { return factory_; }
- int gpu_host_id() const { return gpu_host_id_; }
// Returns a handle to the shared memory that can be sent via IPC to the
// GPU process. The caller is responsible for ensuring it is closed. Returns
@@ -179,7 +177,6 @@ class GpuChannelHost : public IPC::Sender,
private:
friend class base::RefCountedThreadSafe<GpuChannelHost>;
GpuChannelHost(GpuChannelHostFactory* factory,
- int gpu_host_id,
const gpu::GPUInfo& gpu_info);
virtual ~GpuChannelHost();
void Connect(const IPC::ChannelHandle& channel_handle);
@@ -244,7 +241,6 @@ class GpuChannelHost : public IPC::Sender,
// - |next_gpu_memory_buffer_id_|, atomic type
// - |proxies_|, protected by |context_lock_|
GpuChannelHostFactory* const factory_;
- const int gpu_host_id_;
const gpu::GPUInfo gpu_info_;
« no previous file with comments | « content/common/gpu/client/context_provider_command_buffer.cc ('k') | content/common/gpu/client/gpu_channel_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698