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

Unified Diff: cc/paint/skia_paint_canvas.cc

Issue 2755183002: Change drawPicture calls to playback to avoid culling (Closed)
Patch Set: Address review comments Created 3 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 side-by-side diff with in-line comments
Download patch
Index: cc/paint/skia_paint_canvas.cc
diff --git a/cc/paint/skia_paint_canvas.cc b/cc/paint/skia_paint_canvas.cc
index 5928cecc78f5286773b8f5eb6770bf12cb2bd7f6..05afad9bf982285582425d1b542b10b6a1a46949 100644
--- a/cc/paint/skia_paint_canvas.cc
+++ b/cc/paint/skia_paint_canvas.cc
@@ -319,6 +319,10 @@ void SkiaPaintCanvas::temporary_internal_describeTopLayer(
return canvas_->temporary_internal_describeTopLayer(matrix, clip_bounds);
}
+void SkiaPaintCanvas::PlaybackPaintRecord(sk_sp<const PaintRecord> record) {
+ record->playback(canvas_);
+}
+
bool SkiaPaintCanvas::ToPixmap(SkPixmap* output) {
SkImageInfo info;
size_t row_bytes;
« no previous file with comments | « cc/paint/skia_paint_canvas.h ('k') | third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698