| Index: src/gpu/SkGpuDevice.cpp
|
| diff --git a/src/gpu/SkGpuDevice.cpp b/src/gpu/SkGpuDevice.cpp
|
| index 4fdd4aea8a4df2ff11167d60da1e635f7a3ec274..e1143c24f8731160e6a6b5112b0e8716c5b72b49 100644
|
| --- a/src/gpu/SkGpuDevice.cpp
|
| +++ b/src/gpu/SkGpuDevice.cpp
|
| @@ -934,6 +934,11 @@ void SkGpuDevice::drawTiledBitmap(const SkBitmap& bitmap,
|
| int tileSize,
|
| bool bicubic) {
|
| ASSERT_SINGLE_OWNER
|
| +
|
| + // This is the funnel for all paths that draw tiled bitmaps/images. Log a
|
| + // histogram entry.
|
| + SK_HISTOGRAM_BOOLEAN("DrawTiled", true);
|
| +
|
| // The following pixel lock is technically redundant, but it is desirable
|
| // to lock outside of the tile loop to prevent redecoding the whole image
|
| // at each tile in cases where 'bitmap' holds an SkDiscardablePixelRef that
|
|
|