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

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

Issue 1139063002: cc: Partial tile update for one-copy raster. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: monocle: tilemanagerconsistency Created 5 years, 7 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
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_PLAYBACK_PICTURE_PILE_IMPL_H_ 5 #ifndef CC_PLAYBACK_PICTURE_PILE_IMPL_H_
6 #define CC_PLAYBACK_PICTURE_PILE_IMPL_H_ 6 #define CC_PLAYBACK_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 21 matching lines...) Expand all
32 public: 32 public:
33 static scoped_refptr<PicturePileImpl> CreateFromPicturePile( 33 static scoped_refptr<PicturePileImpl> CreateFromPicturePile(
34 const PicturePile* other, 34 const PicturePile* other,
35 bool can_use_lcd_text); 35 bool can_use_lcd_text);
36 36
37 // RasterSource overrides. See RasterSource header for full description. 37 // RasterSource overrides. See RasterSource header for full description.
38 // When slow-down-raster-scale-factor is set to a value greater than 1, the 38 // 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 39 // reported rasterize time (in stats_instrumentation) is the minimum measured
40 // value over all runs. 40 // value over all runs.
41 void PlaybackToCanvas(SkCanvas* canvas, 41 void PlaybackToCanvas(SkCanvas* canvas,
42 const gfx::Rect& canvas_rect, 42 const gfx::Rect& canvas_bitmap_rect,
43 const gfx::Rect& canvas_playback_rect,
reveman 2015/05/22 17:15:13 nit: is the canvas always backed by a bitmap? mayb
danakj 2015/05/26 19:02:52 It is. For gpu raster the bitmap is backed by a te
reveman 2015/05/26 20:12:37 Ok, makes sense then.
43 float contents_scale) const override; 44 float contents_scale) const override;
44 void PlaybackToSharedCanvas(SkCanvas* canvas, 45 void PlaybackToSharedCanvas(SkCanvas* canvas,
45 const gfx::Rect& canvas_rect, 46 const gfx::Rect& canvas_rect,
46 float contents_scale) const override; 47 float contents_scale) const override;
47 void PerformSolidColorAnalysis( 48 void PerformSolidColorAnalysis(
48 const gfx::Rect& content_rect, 49 const gfx::Rect& content_rect,
49 float contents_scale, 50 float contents_scale,
50 RasterSource::SolidColorAnalysis* analysis) const override; 51 RasterSource::SolidColorAnalysis* analysis) const override;
51 void GatherPixelRefs(const gfx::Rect& content_rect, 52 void GatherPixelRefs(const gfx::Rect& content_rect,
52 float contents_scale, 53 float contents_scale,
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
150 bool CanRasterSlowTileCheck(const gfx::Rect& layer_rect) const; 151 bool CanRasterSlowTileCheck(const gfx::Rect& layer_rect) const;
151 152
152 gfx::Rect PaddedRect(const PictureMapKey& key) const; 153 gfx::Rect PaddedRect(const PictureMapKey& key) const;
153 154
154 DISALLOW_COPY_AND_ASSIGN(PicturePileImpl); 155 DISALLOW_COPY_AND_ASSIGN(PicturePileImpl);
155 }; 156 };
156 157
157 } // namespace cc 158 } // namespace cc
158 159
159 #endif // CC_PLAYBACK_PICTURE_PILE_IMPL_H_ 160 #endif // CC_PLAYBACK_PICTURE_PILE_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698