summaryrefslogtreecommitdiffstats
path: root/gpu
diff options
context:
space:
mode:
authorpiman@chromium.org <piman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-09-26 17:57:04 +0000
committerpiman@chromium.org <piman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-09-26 17:57:04 +0000
commitb47f1b6982cb8205ff8b7a3af62e1301c4910487 (patch)
treeae255fb8ce7dc867fe3fbb5f7e275273694ab200 /gpu
parentf557dbc47934573303faf76a0ed04e4148317fd5 (diff)
downloadchromium_src-b47f1b6982cb8205ff8b7a3af62e1301c4910487.zip
chromium_src-b47f1b6982cb8205ff8b7a3af62e1301c4910487.tar.gz
chromium_src-b47f1b6982cb8205ff8b7a3af62e1301c4910487.tar.bz2
Remove ipc::CommandBufferProxy. As an interface, it's not used.
BUG=None Review URL: https://codereview.chromium.org/24483008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@225501 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'gpu')
-rw-r--r--gpu/gpu_ipc.gypi8
-rw-r--r--gpu/ipc/command_buffer_proxy.cc5
-rw-r--r--gpu/ipc/command_buffer_proxy.h42
3 files changed, 0 insertions, 55 deletions
diff --git a/gpu/gpu_ipc.gypi b/gpu/gpu_ipc.gypi
index 2777e96..d1cb292 100644
--- a/gpu/gpu_ipc.gypi
+++ b/gpu/gpu_ipc.gypi
@@ -11,8 +11,6 @@
'..',
],
'sources': [
- 'ipc/command_buffer_proxy.h',
- 'ipc/command_buffer_proxy.cc',
'ipc/gpu_command_buffer_traits.cc',
'ipc/gpu_command_buffer_traits.h',
],
@@ -24,12 +22,6 @@
'dependencies!': [
'../ipc/ipc.gyp:ipc',
],
- # The NaCl Win64 build only needs the ParamTraits, so we exclude
- # command_buffer_proxy.*.
- 'sources!': [
- 'ipc/command_buffer_proxy.h',
- 'ipc/command_buffer_proxy.cc',
- ],
}],
],
}
diff --git a/gpu/ipc/command_buffer_proxy.cc b/gpu/ipc/command_buffer_proxy.cc
deleted file mode 100644
index 7ed6b0b..0000000
--- a/gpu/ipc/command_buffer_proxy.cc
+++ /dev/null
@@ -1,5 +0,0 @@
-// Copyright (c) 2012 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "gpu/ipc/command_buffer_proxy.h"
diff --git a/gpu/ipc/command_buffer_proxy.h b/gpu/ipc/command_buffer_proxy.h
deleted file mode 100644
index d33eae4..0000000
--- a/gpu/ipc/command_buffer_proxy.h
+++ /dev/null
@@ -1,42 +0,0 @@
-// Copyright (c) 2012 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef GPU_IPC_COMMAND_BUFFER_PROXY_H_
-#define GPU_IPC_COMMAND_BUFFER_PROXY_H_
-
-#include <string>
-
-#include "base/callback.h"
-#include "gpu/command_buffer/common/command_buffer.h"
-#include "gpu/command_buffer/common/command_buffer_shared.h"
-#include "gpu/command_buffer/common/mailbox.h"
-
-// Client side proxy that forwards messages synchronously to a
-// CommandBufferStub.
-class GPU_EXPORT CommandBufferProxy : public gpu::CommandBuffer {
- public:
- typedef base::Callback<void(
- const std::string& msg, int id)> GpuConsoleMessageCallback;
-
- CommandBufferProxy() { }
-
- virtual ~CommandBufferProxy() { }
-
- virtual int GetRouteID() const = 0;
-
- // Invoke the task when the channel has been flushed. Takes care of deleting
- // the task whether the echo succeeds or not.
- virtual bool Echo(const base::Closure& callback) = 0;
-
- // For offscreen contexts, produces the front buffer into a newly created
- // mailbox.
- virtual bool ProduceFrontBuffer(const gpu::Mailbox& mailbox) = 0;
-
- virtual void SetChannelErrorCallback(const base::Closure& callback) = 0;
-
- private:
- DISALLOW_COPY_AND_ASSIGN(CommandBufferProxy);
-};
-
-#endif // GPU_IPC_COMMAND_BUFFER_PROXY_H_