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

Side by Side Diff: cc/output/software_renderer.h

Issue 1057283003: Remove parts of //cc we aren't using (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 8 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 unified diff | Download patch
« no previous file with comments | « cc/output/software_output_device.h ('k') | cc/output/software_renderer.cc » ('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 CC_OUTPUT_SOFTWARE_RENDERER_H_ 5 #ifndef CC_OUTPUT_SOFTWARE_RENDERER_H_
6 #define CC_OUTPUT_SOFTWARE_RENDERER_H_ 6 #define CC_OUTPUT_SOFTWARE_RENDERER_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "cc/base/cc_export.h"
10 #include "cc/output/compositor_frame.h" 9 #include "cc/output/compositor_frame.h"
11 #include "cc/output/direct_renderer.h" 10 #include "cc/output/direct_renderer.h"
12 11
13 namespace cc { 12 namespace cc {
14 13
15 class OutputSurface; 14 class OutputSurface;
16 class RendererClient; 15 class RendererClient;
17 class ResourceProvider; 16 class ResourceProvider;
18 class SoftwareOutputDevice; 17 class SoftwareOutputDevice;
19 18
20 class CheckerboardDrawQuad; 19 class CheckerboardDrawQuad;
21 class DebugBorderDrawQuad; 20 class DebugBorderDrawQuad;
22 class PictureDrawQuad; 21 class PictureDrawQuad;
23 class RenderPassDrawQuad; 22 class RenderPassDrawQuad;
24 class SolidColorDrawQuad; 23 class SolidColorDrawQuad;
25 class TextureDrawQuad; 24 class TextureDrawQuad;
26 class TileDrawQuad; 25 class TileDrawQuad;
27 26
28 class CC_EXPORT SoftwareRenderer : public DirectRenderer { 27 class SoftwareRenderer : public DirectRenderer {
29 public: 28 public:
30 static scoped_ptr<SoftwareRenderer> Create( 29 static scoped_ptr<SoftwareRenderer> Create(
31 RendererClient* client, 30 RendererClient* client,
32 const RendererSettings* settings, 31 const RendererSettings* settings,
33 OutputSurface* output_surface, 32 OutputSurface* output_surface,
34 ResourceProvider* resource_provider); 33 ResourceProvider* resource_provider);
35 34
36 ~SoftwareRenderer() override; 35 ~SoftwareRenderer() override;
37 const RendererCapabilitiesImpl& Capabilities() const override; 36 const RendererCapabilitiesImpl& Capabilities() const override;
38 void Finish() override; 37 void Finish() override;
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
107 current_framebuffer_lock_; 106 current_framebuffer_lock_;
108 skia::RefPtr<SkCanvas> current_framebuffer_canvas_; 107 skia::RefPtr<SkCanvas> current_framebuffer_canvas_;
109 scoped_ptr<SoftwareFrameData> current_frame_data_; 108 scoped_ptr<SoftwareFrameData> current_frame_data_;
110 109
111 DISALLOW_COPY_AND_ASSIGN(SoftwareRenderer); 110 DISALLOW_COPY_AND_ASSIGN(SoftwareRenderer);
112 }; 111 };
113 112
114 } // namespace cc 113 } // namespace cc
115 114
116 #endif // CC_OUTPUT_SOFTWARE_RENDERER_H_ 115 #endif // CC_OUTPUT_SOFTWARE_RENDERER_H_
OLDNEW
« no previous file with comments | « cc/output/software_output_device.h ('k') | cc/output/software_renderer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698