summaryrefslogtreecommitdiffstats
path: root/chrome/gpu/gpu_view_x.h
diff options
context:
space:
mode:
authorkbr@chromium.org <kbr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-11-08 17:05:31 +0000
committerkbr@chromium.org <kbr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-11-08 17:05:31 +0000
commit77128dec2b067b305b9f749aa8a703af0159b350 (patch)
treef6b237cb5cee5152dfd29a88747691936100dd26 /chrome/gpu/gpu_view_x.h
parentb61f4dbfaf2459e54203656e2d80588fbad1c931 (diff)
downloadchromium_src-77128dec2b067b305b9f749aa8a703af0159b350.zip
chromium_src-77128dec2b067b305b9f749aa8a703af0159b350.tar.gz
chromium_src-77128dec2b067b305b9f749aa8a703af0159b350.tar.bz2
Deleted code associated with --enable-gpu-rendering and
--enable-video-layering flags. With the introduction of accelerated compositing to Chromium this code is now obsolete, and it is causing problems and bug reports when users experiment with these flags. Tested on Linux in the following configurations: - Compositor on, CSS 3D content - Compositor on, HTML5 video content - Compositor off, HTML5 video content Also ran patch successfully through the try bots. BUG=54932 TEST=none Review URL: http://codereview.chromium.org/4399003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65383 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/gpu/gpu_view_x.h')
-rw-r--r--chrome/gpu/gpu_view_x.h65
1 files changed, 0 insertions, 65 deletions
diff --git a/chrome/gpu/gpu_view_x.h b/chrome/gpu/gpu_view_x.h
deleted file mode 100644
index a9a5ddd..0000000
--- a/chrome/gpu/gpu_view_x.h
+++ /dev/null
@@ -1,65 +0,0 @@
-// Copyright (c) 2010 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 CHROME_GPU_GPU_VIEW_X_H_
-#define CHROME_GPU_GPU_VIEW_X_H_
-#pragma once
-
-#include "base/basictypes.h"
-#include "base/scoped_ptr.h"
-#include "chrome/gpu/x_util.h"
-#include "gfx/native_widget_types.h"
-#include "ipc/ipc_channel.h"
-
-class GpuBackingStoreGLX;
-class GpuThread;
-class GpuVideoLayerGLX;
-
-namespace gfx {
-class Rect;
-class Size;
-}
-
-class GpuViewX
- : public IPC::Channel::Listener {
- public:
- GpuViewX(GpuThread* gpu_thread,
- XID parent,
- int32 routing_id);
- ~GpuViewX();
-
- GpuThread* gpu_thread() const { return gpu_thread_; }
- XID window() const { return window_; }
-
- // Wrapper around GPUBackingStoreGLXContext using our current window.
- GLXContext BindContext();
-
- // IPC::Channel::Listener implementation.
- virtual void OnMessageReceived(const IPC::Message& message);
- virtual void OnChannelConnected(int32 peer_pid);
- virtual void OnChannelError();
-
- void DidScrollBackingStoreRect(int dx, int dy, const gfx::Rect& rect);
-
- void Repaint();
-
- private:
- // IPC message handlers.
- void OnNewBackingStore(int32 routing_id, const gfx::Size& size);
- void OnNewVideoLayer(int32 routing_id, const gfx::Size& size);
- void OnWindowPainted();
-
- GpuThread* gpu_thread_;
- int32 routing_id_;
-
- XID window_;
-
- scoped_ptr<GpuBackingStoreGLX> backing_store_;
-
- scoped_ptr<GpuVideoLayerGLX> video_layer_;
-
- DISALLOW_COPY_AND_ASSIGN(GpuViewX);
-};
-
-#endif // CHROME_GPU_GPU_VIEW_X_H_