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

Unified Diff: cc/playback/raster_source.h

Issue 2668873002: cc: Add checker-imaging support to TileManager. (Closed)
Patch Set: remove include Created 3 years, 10 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « cc/playback/image_id.h ('k') | cc/playback/raster_source.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/playback/raster_source.h
diff --git a/cc/playback/raster_source.h b/cc/playback/raster_source.h
index ccfb613fa012259c4bda6956945db384e097d302..aae19ead689106e5ec0a6260c4c7e75bdf1fd153 100644
--- a/cc/playback/raster_source.h
+++ b/cc/playback/raster_source.h
@@ -31,6 +31,9 @@ class CC_EXPORT RasterSource : public base::RefCountedThreadSafe<RasterSource> {
public:
struct CC_EXPORT PlaybackSettings {
PlaybackSettings();
+ PlaybackSettings(const PlaybackSettings&);
+ PlaybackSettings(PlaybackSettings&&);
+ ~PlaybackSettings();
// If set to true, this indicates that the canvas has already been
// rasterized into. This means that the canvas cannot be cleared safely.
@@ -42,6 +45,12 @@ class CC_EXPORT RasterSource : public base::RefCountedThreadSafe<RasterSource> {
// If set to true, we will use an image hijack canvas, which enables
// compositor image caching.
bool use_image_hijack_canvas;
+
+ // If non-empty, an image hijack canvas will be used to skip these images
+ // during raster.
+ // TODO(khushalsagar): Consolidate more settings for playback here? See
+ // crbug.com/691076.
+ ImageIdFlatSet images_to_skip;
};
static scoped_refptr<RasterSource> CreateFromRecordingSource(
« no previous file with comments | « cc/playback/image_id.h ('k') | cc/playback/raster_source.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698