Chromium Code Reviews| Index: cc/resources/picture_pile_impl.h |
| diff --git a/cc/resources/picture_pile_impl.h b/cc/resources/picture_pile_impl.h |
| index f3bc98cbc479cbb155ec2dbf48ead9cd0783206d..c5d461a76d884983ccee960c3f7b2d36d32aae89 100644 |
| --- a/cc/resources/picture_pile_impl.h |
| +++ b/cc/resources/picture_pile_impl.h |
| @@ -47,7 +47,16 @@ class CC_EXPORT PicturePileImpl : public PicturePileBase { |
| // NULL. When slow-down-raster-scale-factor is set to a value |
| // greater than 1, the reported rasterize time is the minimum |
| // measured value over all runs. |
| - void Raster( |
| + void RasterDirect( |
| + SkCanvas* canvas, |
| + gfx::Rect canvas_rect, |
| + float contents_scale, |
| + RasterStats* raster_stats); |
| + |
| + // Similar to the above Raster method, but this is a convenience method |
|
danakj
2013/05/16 15:17:55
"RasterDirect"
enne (OOO)
2013/05/16 20:34:11
Done.
|
| + // for when it is known that the raster is going to an intermediate bitmap |
| + // that itself will then be blended and thus that a canvas clear is required. |
| + void RasterToBitmap( |
| SkCanvas* canvas, |
| gfx::Rect canvas_rect, |
| float contents_scale, |