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

Side by Side Diff: cc/resources/picture_pile_impl.h

Issue 1008373002: cc: Remove is_analysis parameter in RasterCommon (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 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/resources/display_list_raster_source.cc ('k') | cc/resources/picture_pile_impl.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_RESOURCES_PICTURE_PILE_IMPL_H_ 5 #ifndef CC_RESOURCES_PICTURE_PILE_IMPL_H_
6 #define CC_RESOURCES_PICTURE_PILE_IMPL_H_ 6 #define CC_RESOURCES_PICTURE_PILE_IMPL_H_
7 7
8 #include <map> 8 #include <map>
9 #include <set> 9 #include <set>
10 #include <vector> 10 #include <vector>
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after
133 // SkDrawPictureCallback, which allows us to early out from analysis. 133 // SkDrawPictureCallback, which allows us to early out from analysis.
134 void RasterForAnalysis(skia::AnalysisCanvas* canvas, 134 void RasterForAnalysis(skia::AnalysisCanvas* canvas,
135 const gfx::Rect& canvas_rect, 135 const gfx::Rect& canvas_rect,
136 float contents_scale) const; 136 float contents_scale) const;
137 137
138 void CoalesceRasters(const gfx::Rect& canvas_rect, 138 void CoalesceRasters(const gfx::Rect& canvas_rect,
139 const gfx::Rect& content_rect, 139 const gfx::Rect& content_rect,
140 float contents_scale, 140 float contents_scale,
141 PictureRegionMap* result) const; 141 PictureRegionMap* result) const;
142 142
143 void RasterCommon( 143 void RasterCommon(SkCanvas* canvas,
144 SkCanvas* canvas, 144 SkDrawPictureCallback* callback,
145 SkDrawPictureCallback* callback, 145 const gfx::Rect& canvas_rect,
146 const gfx::Rect& canvas_rect, 146 float contents_scale) const;
147 float contents_scale,
148 bool is_analysis) const;
149 147
150 // An internal CanRaster check that goes to the picture_map rather than 148 // An internal CanRaster check that goes to the picture_map rather than
151 // using the recorded_viewport hint. 149 // using the recorded_viewport hint.
152 bool CanRasterSlowTileCheck(const gfx::Rect& layer_rect) const; 150 bool CanRasterSlowTileCheck(const gfx::Rect& layer_rect) const;
153 151
154 gfx::Rect PaddedRect(const PictureMapKey& key) const; 152 gfx::Rect PaddedRect(const PictureMapKey& key) const;
155 153
156 DISALLOW_COPY_AND_ASSIGN(PicturePileImpl); 154 DISALLOW_COPY_AND_ASSIGN(PicturePileImpl);
157 }; 155 };
158 156
159 } // namespace cc 157 } // namespace cc
160 158
161 #endif // CC_RESOURCES_PICTURE_PILE_IMPL_H_ 159 #endif // CC_RESOURCES_PICTURE_PILE_IMPL_H_
OLDNEW
« no previous file with comments | « cc/resources/display_list_raster_source.cc ('k') | cc/resources/picture_pile_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698