summaryrefslogtreecommitdiffstats
path: root/gpu/command_buffer/service/surface_manager.h
diff options
context:
space:
mode:
authorapatrick@chromium.org <apatrick@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-09-02 19:45:52 +0000
committerapatrick@chromium.org <apatrick@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-09-02 19:45:52 +0000
commitaa766612f25b5211ac65f40a19afe09d45c07c9a (patch)
treee404e96c940225c31b759df1227e475e4133a689 /gpu/command_buffer/service/surface_manager.h
parent180096e984be38d99d04f0036408a3ffd077210e (diff)
downloadchromium_src-aa766612f25b5211ac65f40a19afe09d45c07c9a.zip
chromium_src-aa766612f25b5211ac65f40a19afe09d45c07c9a.tar.gz
chromium_src-aa766612f25b5211ac65f40a19afe09d45c07c9a.tar.bz2
Remove support for switching draw surfaces on a context.This was originally intended to share canvas "back buffers" between the GPU process and the browser process. The plan is to issue all the GL calls in the GPU process now, with the browser process just doing the final present. Removing the redundant code.
Review URL: http://codereview.chromium.org/7701021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99424 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'gpu/command_buffer/service/surface_manager.h')
-rw-r--r--gpu/command_buffer/service/surface_manager.h31
1 files changed, 0 insertions, 31 deletions
diff --git a/gpu/command_buffer/service/surface_manager.h b/gpu/command_buffer/service/surface_manager.h
deleted file mode 100644
index 4caa4ac..0000000
--- a/gpu/command_buffer/service/surface_manager.h
+++ /dev/null
@@ -1,31 +0,0 @@
-// Copyright (c) 2011 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_COMMAND_BUFFER_SERVICE_SURFACE_MANAGER_H_
-#define GPU_COMMAND_BUFFER_SERVICE_SURFACE_MANAGER_H_
-
-#include "base/basictypes.h"
-
-namespace gfx {
-class GLSurface;
-}
-
-namespace gpu {
-
-// Interface used to get the GLSurface corresponding to an ID communicated
-// through the command buffer.
-class SurfaceManager {
- public:
- SurfaceManager();
- virtual ~SurfaceManager();
-
- virtual gfx::GLSurface* LookupSurface(int id) = 0;
-
- private:
- DISALLOW_COPY_AND_ASSIGN(SurfaceManager);
-};
-
-} // namespace gpu
-
-#endif // GPU_COMMAND_BUFFER_SERVICE_SURFACE_MANAGER_H_