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

Side by Side Diff: cc/software_renderer.h

Issue 11365025: Make cc a component (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 8 years, 1 month 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « cc/shared_quad_state.h ('k') | cc/solid_color_draw_quad.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 The Chromium Authors. All rights reserved. 1 // Copyright 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CCRendererSoftware_h 5 #ifndef CCRendererSoftware_h
6 #define CCRendererSoftware_h 6 #define CCRendererSoftware_h
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "cc/cc_export.h"
9 #include "cc/direct_renderer.h" 10 #include "cc/direct_renderer.h"
10 11
11 namespace WebKit { 12 namespace WebKit {
12 class WebCompositorSoftwareOutputDevice; 13 class WebCompositorSoftwareOutputDevice;
13 } 14 }
14 15
15 namespace cc { 16 namespace cc {
16 17
17 class DebugBorderDrawQuad; 18 class DebugBorderDrawQuad;
18 class RendererClient; 19 class RendererClient;
19 class ResourceProvider; 20 class ResourceProvider;
20 class SolidColorDrawQuad; 21 class SolidColorDrawQuad;
21 class TextureDrawQuad; 22 class TextureDrawQuad;
22 class TileDrawQuad; 23 class TileDrawQuad;
23 class RenderPassDrawQuad; 24 class RenderPassDrawQuad;
24 25
25 class SoftwareRenderer : public DirectRenderer { 26 class CC_EXPORT SoftwareRenderer : public DirectRenderer {
26 public: 27 public:
27 static scoped_ptr<SoftwareRenderer> create(RendererClient*, ResourceProvider *, WebKit::WebCompositorSoftwareOutputDevice*); 28 static scoped_ptr<SoftwareRenderer> create(RendererClient*, ResourceProvider *, WebKit::WebCompositorSoftwareOutputDevice*);
28 virtual ~SoftwareRenderer(); 29 virtual ~SoftwareRenderer();
29 30
30 virtual const RendererCapabilities& capabilities() const OVERRIDE; 31 virtual const RendererCapabilities& capabilities() const OVERRIDE;
31 32
32 virtual void viewportChanged() OVERRIDE; 33 virtual void viewportChanged() OVERRIDE;
33 34
34 virtual void finish() OVERRIDE; 35 virtual void finish() OVERRIDE;
35 36
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 SkCanvas* m_skCurrentCanvas; 74 SkCanvas* m_skCurrentCanvas;
74 SkPaint m_skCurrentPaint; 75 SkPaint m_skCurrentPaint;
75 scoped_ptr<ResourceProvider::ScopedWriteLockSoftware> m_currentFramebufferLo ck; 76 scoped_ptr<ResourceProvider::ScopedWriteLockSoftware> m_currentFramebufferLo ck;
76 77
77 DISALLOW_COPY_AND_ASSIGN(SoftwareRenderer); 78 DISALLOW_COPY_AND_ASSIGN(SoftwareRenderer);
78 }; 79 };
79 80
80 } 81 }
81 82
82 #endif 83 #endif
OLDNEW
« no previous file with comments | « cc/shared_quad_state.h ('k') | cc/solid_color_draw_quad.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698