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

Unified Diff: cc/playback/display_item_list.h

Issue 2075873002: Support general raster matrix for RasterSource and DisplayItemList (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix a bug in PrepareForPlaybackToCanvas and fix cc_unittests Created 4 years, 6 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
Index: cc/playback/display_item_list.h
diff --git a/cc/playback/display_item_list.h b/cc/playback/display_item_list.h
index 6660f363267ffbb17bbbb48efe5410f046d69552..02f2c7ec0bb3d2efd2d6bf43aa75afe6684c602b 100644
--- a/cc/playback/display_item_list.h
+++ b/cc/playback/display_item_list.h
@@ -59,11 +59,14 @@ class CC_EXPORT DisplayItemList
void ToProtobuf(proto::DisplayItemList* proto,
ImageSerializationProcessor* image_serialization_processor);
+ // TODO(trchen): Deprecated. Apply clip and scale on the canvas instead.
void Raster(SkCanvas* canvas,
SkPicture::AbortCallback* callback,
const gfx::Rect& canvas_target_playback_rect,
float contents_scale) const;
+ void Raster(SkCanvas* canvas, SkPicture::AbortCallback* callback) const;
+
// This is a fast path for use only if canvas_ is set and
// retain_individual_display_items_ is false. This method also updates
// approximate_op_count_.

Powered by Google App Engine
This is Rietveld 408576698