| Index: cc/BitmapSkPictureCanvasLayerTextureUpdater.cpp
|
| diff --git a/cc/BitmapSkPictureCanvasLayerTextureUpdater.cpp b/cc/BitmapSkPictureCanvasLayerTextureUpdater.cpp
|
| index adb3b0fc781c125f0c337d4e83bcce34dfbf334e..f1b78148250e00ce2d1446b7a1cf7ab7e05d5803 100644
|
| --- a/cc/BitmapSkPictureCanvasLayerTextureUpdater.cpp
|
| +++ b/cc/BitmapSkPictureCanvasLayerTextureUpdater.cpp
|
| @@ -34,6 +34,7 @@ void BitmapSkPictureCanvasLayerTextureUpdater::Texture::prepareRect(const IntRec
|
| double paintBeginTime = monotonicallyIncreasingTime();
|
| textureUpdater()->paintContentsRect(&canvas, sourceRect, stats);
|
| stats.totalPaintTimeInSeconds += monotonicallyIncreasingTime() - paintBeginTime;
|
| + stats.totalPixelsPainted += sourceRect.width() * sourceRect.height();
|
| }
|
|
|
| void BitmapSkPictureCanvasLayerTextureUpdater::Texture::updateRect(CCResourceProvider* resourceProvider, const IntRect& sourceRect, const IntSize& destOffset)
|
| @@ -78,6 +79,7 @@ void BitmapSkPictureCanvasLayerTextureUpdater::paintContentsRect(SkCanvas* canva
|
| double rasterizeBeginTime = monotonicallyIncreasingTime();
|
| drawPicture(canvas);
|
| stats.totalRasterizeTimeInSeconds += monotonicallyIncreasingTime() - rasterizeBeginTime;
|
| + stats.totalPixelsRasterized += sourceRect.width() * sourceRect.height();
|
| }
|
|
|
| } // namespace cc
|
|
|