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

Side by Side Diff: cc/resources/display_list_raster_source.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 | « no previous file | cc/resources/display_list_raster_source.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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_DISPLAY_LIST_RASTER_SOURCE_H_ 5 #ifndef CC_RESOURCES_DISPLAY_LIST_RASTER_SOURCE_H_
6 #define CC_RESOURCES_DISPLAY_LIST_RASTER_SOURCE_H_ 6 #define CC_RESOURCES_DISPLAY_LIST_RASTER_SOURCE_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 private: 81 private:
82 // Called when analyzing a tile. We can use AnalysisCanvas as 82 // Called when analyzing a tile. We can use AnalysisCanvas as
83 // SkDrawPictureCallback, which allows us to early out from analysis. 83 // SkDrawPictureCallback, which allows us to early out from analysis.
84 void RasterForAnalysis(skia::AnalysisCanvas* canvas, 84 void RasterForAnalysis(skia::AnalysisCanvas* canvas,
85 const gfx::Rect& canvas_rect, 85 const gfx::Rect& canvas_rect,
86 float contents_scale) const; 86 float contents_scale) const;
87 87
88 void RasterCommon(SkCanvas* canvas, 88 void RasterCommon(SkCanvas* canvas,
89 SkDrawPictureCallback* callback, 89 SkDrawPictureCallback* callback,
90 const gfx::Rect& canvas_rect, 90 const gfx::Rect& canvas_rect,
91 float contents_scale, 91 float contents_scale) const;
92 bool is_analysis) const;
93 92
94 DISALLOW_COPY_AND_ASSIGN(DisplayListRasterSource); 93 DISALLOW_COPY_AND_ASSIGN(DisplayListRasterSource);
95 }; 94 };
96 95
97 } // namespace cc 96 } // namespace cc
98 97
99 #endif // CC_RESOURCES_DISPLAY_LIST_RASTER_SOURCE_H_ 98 #endif // CC_RESOURCES_DISPLAY_LIST_RASTER_SOURCE_H_
OLDNEW
« no previous file with comments | « no previous file | cc/resources/display_list_raster_source.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698