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

Unified Diff: content/renderer/gpu/compositor_output_surface.h

Issue 12041062: Have a common implementation of cc::OutputSurface (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased Created 7 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/renderer/gpu/compositor_output_surface.h
diff --git a/content/renderer/gpu/compositor_output_surface.h b/content/renderer/gpu/compositor_output_surface.h
index ffc69650c6562a6384e553222f299f9a758792c5..fa8e4c6dd8ae08439316410fac41eabf8a69fad7 100644
--- a/content/renderer/gpu/compositor_output_surface.h
+++ b/content/renderer/gpu/compositor_output_surface.h
@@ -13,7 +13,6 @@
#include "base/threading/platform_thread.h"
#include "base/time.h"
#include "cc/output_surface.h"
-#include "cc/software_output_device.h"
namespace base {
class TaskRunner;
@@ -42,9 +41,6 @@ class CompositorOutputSurface
// cc::OutputSurface implementation.
virtual bool BindToClient(cc::OutputSurfaceClient* client) OVERRIDE;
- virtual const struct Capabilities& Capabilities() const OVERRIDE;
- virtual WebKit::WebGraphicsContext3D* Context3D() const OVERRIDE;
- virtual cc::SoftwareOutputDevice* SoftwareDevice() const OVERRIDE;
virtual void SendFrameToParentCompositor(cc::CompositorFrame*) OVERRIDE;
// TODO(epenner): This seems out of place here and would be a better fit
@@ -78,12 +74,8 @@ class CompositorOutputSurface
bool Send(IPC::Message* message);
scoped_refptr<IPC::ForwardingMessageFilter> output_surface_filter_;
- cc::OutputSurfaceClient* client_;
scoped_refptr<CompositorOutputSurfaceProxy> output_surface_proxy_;
int routing_id_;
- struct Capabilities capabilities_;
- scoped_ptr<WebKit::WebGraphicsContext3D> context3D_;
- scoped_ptr<cc::SoftwareOutputDevice> software_device_;
bool prefers_smoothness_;
base::PlatformThreadId main_thread_id_;
};
« no previous file with comments | « content/browser/renderer_host/image_transport_factory.cc ('k') | content/renderer/gpu/compositor_output_surface.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698