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

Unified Diff: cc/software_renderer.h

Issue 11348371: cc: Move WebCompositorOutputSurface and related classes into cc/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: forlanding6 Created 8 years 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
« no previous file with comments | « cc/software_output_device.h ('k') | cc/software_renderer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/software_renderer.h
diff --git a/cc/software_renderer.h b/cc/software_renderer.h
index caac4f485b4f3fe642bf8e32de3e38401d1799a5..4bcfc3cb5726c830bd92b03a37704e16081e925d 100644
--- a/cc/software_renderer.h
+++ b/cc/software_renderer.h
@@ -9,23 +9,20 @@
#include "cc/cc_export.h"
#include "cc/direct_renderer.h"
-namespace WebKit {
-class WebCompositorSoftwareOutputDevice;
-}
-
namespace cc {
class DebugBorderDrawQuad;
class RendererClient;
+class RenderPassDrawQuad;
class ResourceProvider;
+class SoftwareOutputDevice;
class SolidColorDrawQuad;
class TextureDrawQuad;
class TileDrawQuad;
-class RenderPassDrawQuad;
class CC_EXPORT SoftwareRenderer : public DirectRenderer {
public:
- static scoped_ptr<SoftwareRenderer> create(RendererClient*, ResourceProvider*, WebKit::WebCompositorSoftwareOutputDevice*);
+ static scoped_ptr<SoftwareRenderer> create(RendererClient*, ResourceProvider*, SoftwareOutputDevice*);
virtual ~SoftwareRenderer();
virtual const RendererCapabilities& capabilities() const OVERRIDE;
@@ -56,7 +53,7 @@ protected:
virtual void ensureScissorTestDisabled() OVERRIDE;
private:
- SoftwareRenderer(RendererClient*, ResourceProvider*, WebKit::WebCompositorSoftwareOutputDevice*);
+ SoftwareRenderer(RendererClient*, ResourceProvider*, SoftwareOutputDevice*);
bool isSoftwareResource(ResourceProvider::ResourceId) const;
@@ -70,7 +67,7 @@ private:
RendererCapabilities m_capabilities;
bool m_visible;
- WebKit::WebCompositorSoftwareOutputDevice* m_outputDevice;
+ SoftwareOutputDevice* m_outputDevice;
scoped_ptr<SkCanvas> m_skRootCanvas;
SkCanvas* m_skCurrentCanvas;
SkPaint m_skCurrentPaint;
« no previous file with comments | « cc/software_output_device.h ('k') | cc/software_renderer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698