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

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

Issue 816543004: Update from https://crrev.com/308996 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years 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/picture_layer_tiling_set.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 <list> 8 #include <list>
9 #include <map> 9 #include <map>
10 #include <set> 10 #include <set>
(...skipping 12 matching lines...) Expand all
23 class SkPixelRef; 23 class SkPixelRef;
24 24
25 namespace gfx { 25 namespace gfx {
26 class Rect; 26 class Rect;
27 } 27 }
28 28
29 namespace cc { 29 namespace cc {
30 30
31 class CC_EXPORT PicturePileImpl : public RasterSource { 31 class CC_EXPORT PicturePileImpl : public RasterSource {
32 public: 32 public:
33 static scoped_refptr<PicturePileImpl> Create();
34 static scoped_refptr<PicturePileImpl> CreateFromPicturePile( 33 static scoped_refptr<PicturePileImpl> CreateFromPicturePile(
35 const PicturePile* other); 34 const PicturePile* other);
36 35
37 // RasterSource overrides. See RasterSource header for full description. 36 // RasterSource overrides. See RasterSource header for full description.
38 // When slow-down-raster-scale-factor is set to a value greater than 1, the 37 // When slow-down-raster-scale-factor is set to a value greater than 1, the
39 // reported rasterize time (in stats_instrumentation) is the minimum measured 38 // reported rasterize time (in stats_instrumentation) is the minimum measured
40 // value over all runs. 39 // value over all runs.
41 void PlaybackToCanvas(SkCanvas* canvas, 40 void PlaybackToCanvas(SkCanvas* canvas,
42 const gfx::Rect& canvas_rect, 41 const gfx::Rect& canvas_rect,
43 float contents_scale) const override; 42 float contents_scale) const override;
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
149 gfx::Rect PaddedRect(const PictureMapKey& key) const; 148 gfx::Rect PaddedRect(const PictureMapKey& key) const;
150 149
151 bool should_attempt_to_use_distance_field_text_; 150 bool should_attempt_to_use_distance_field_text_;
152 151
153 DISALLOW_COPY_AND_ASSIGN(PicturePileImpl); 152 DISALLOW_COPY_AND_ASSIGN(PicturePileImpl);
154 }; 153 };
155 154
156 } // namespace cc 155 } // namespace cc
157 156
158 #endif // CC_RESOURCES_PICTURE_PILE_IMPL_H_ 157 #endif // CC_RESOURCES_PICTURE_PILE_IMPL_H_
OLDNEW
« no previous file with comments | « cc/resources/picture_layer_tiling_set.cc ('k') | cc/resources/picture_pile_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698