Chromium Code Reviews| Index: cc/resources/picture.h |
| diff --git a/cc/resources/picture.h b/cc/resources/picture.h |
| index 78833d17e9144c0721ec888d216af7e94577d2cb..2915a7d10b0a43c56741bedc81af4d98620ba402 100644 |
| --- a/cc/resources/picture.h |
| +++ b/cc/resources/picture.h |
| @@ -74,6 +74,7 @@ class CC_EXPORT Picture |
| bool HasRecording() const { return picture_.get() != NULL; } |
| bool IsSuitableForGpuRasterization() const; |
| + int approximateOpCount() const; |
|
vmpstr
2014/08/19 23:55:37
This isn't named in cc style. Either approximate_o
hendrikw
2014/08/20 00:34:05
Acknowledged.
|
| // Apply this scale and raster the negated region into the canvas. |
| // |negated_content_region| specifies the region to be clipped out of the |
| @@ -84,6 +85,8 @@ class CC_EXPORT Picture |
| const Region& negated_content_region, |
| float contents_scale); |
| + int AnalysisRaster(SkCanvas* canvas, SkDrawPictureCallback* callback); |
|
vmpstr
2014/08/19 23:55:37
nit: RasterForAnalysis or Analyze
hendrikw
2014/08/20 00:34:05
Acknowledged.
|
| + |
| // Draw the picture directly into the given canvas, without applying any |
| // clip/scale/layer transformations. |
| void Replay(SkCanvas* canvas); |