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

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

Issue 362073002: cc: Remove all traces of SkPicture cloning. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 years, 4 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 | Annotate | Revision Log
« no previous file with comments | « cc/output/overlay_unittest.cc ('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_RENDERER_H_ 5 #ifndef CC_OUTPUT_RENDERER_H_
6 #define CC_OUTPUT_RENDERER_H_ 6 #define CC_OUTPUT_RENDERER_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "cc/base/cc_export.h" 9 #include "cc/base/cc_export.h"
10 #include "cc/quads/render_pass.h" 10 #include "cc/quads/render_pass.h"
(...skipping 22 matching lines...) Expand all
33 bool using_map_image; 33 bool using_map_image;
34 bool using_discard_framebuffer; 34 bool using_discard_framebuffer;
35 bool allow_rasterize_on_demand; 35 bool allow_rasterize_on_demand;
36 36
37 RendererCapabilities MainThreadCapabilities() const; 37 RendererCapabilities MainThreadCapabilities() const;
38 }; 38 };
39 39
40 class CC_EXPORT RendererClient { 40 class CC_EXPORT RendererClient {
41 public: 41 public:
42 virtual void SetFullRootLayerDamage() = 0; 42 virtual void SetFullRootLayerDamage() = 0;
43 virtual void RunOnDemandRasterTask(Task* on_demand_raster_task) = 0;
44 }; 43 };
45 44
46 class CC_EXPORT Renderer { 45 class CC_EXPORT Renderer {
47 public: 46 public:
48 virtual ~Renderer() {} 47 virtual ~Renderer() {}
49 48
50 virtual const RendererCapabilitiesImpl& Capabilities() const = 0; 49 virtual const RendererCapabilitiesImpl& Capabilities() const = 0;
51 50
52 virtual void DecideRenderPassAllocationsForFrame( 51 virtual void DecideRenderPassAllocationsForFrame(
53 const RenderPassList& render_passes_in_draw_order) {} 52 const RenderPassList& render_passes_in_draw_order) {}
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 const LayerTreeSettings* settings_; 85 const LayerTreeSettings* settings_;
87 bool visible_; 86 bool visible_;
88 87
89 private: 88 private:
90 DISALLOW_COPY_AND_ASSIGN(Renderer); 89 DISALLOW_COPY_AND_ASSIGN(Renderer);
91 }; 90 };
92 91
93 } // namespace cc 92 } // namespace cc
94 93
95 #endif // CC_OUTPUT_RENDERER_H_ 94 #endif // CC_OUTPUT_RENDERER_H_
OLDNEW
« no previous file with comments | « cc/output/overlay_unittest.cc ('k') | cc/output/software_renderer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698