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

Unified Diff: cc/raster/image_hijack_canvas.h

Issue 2842333003: cc: Update discardable image metadata generation to get PaintImages. (Closed)
Patch Set: win Created 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « cc/paint/paint_op_buffer.h ('k') | cc/raster/image_hijack_canvas.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/raster/image_hijack_canvas.h
diff --git a/cc/raster/image_hijack_canvas.h b/cc/raster/image_hijack_canvas.h
index 4693e8d862264170ca8cac5bdacc14cfeac24490..acb79ae171444c33a5e30bd5bc7a6946c7e6bc21 100644
--- a/cc/raster/image_hijack_canvas.h
+++ b/cc/raster/image_hijack_canvas.h
@@ -56,6 +56,7 @@ class CC_EXPORT ImageHijackCanvas : public SkNWayCanvas {
bool ShouldSkipImage(const SkImage* image) const;
bool ShouldSkipImageInPaint(const SkPaint& paint) const;
+ bool QuickRejectDraw(const SkRect& rect, const SkPaint* paint) const;
ImageDecodeCache* image_decode_cache_;
const ImageIdFlatSet* images_to_skip_;
« no previous file with comments | « cc/paint/paint_op_buffer.h ('k') | cc/raster/image_hijack_canvas.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698