| Index: src/gpu/SkGpuDevice.cpp
|
| diff --git a/src/gpu/SkGpuDevice.cpp b/src/gpu/SkGpuDevice.cpp
|
| index 4fdd4aea8a4df2ff11167d60da1e635f7a3ec274..54fc63eeceaafaf0e58f0a858428f4efa402226e 100644
|
| --- a/src/gpu/SkGpuDevice.cpp
|
| +++ b/src/gpu/SkGpuDevice.cpp
|
| @@ -23,6 +23,7 @@
|
| #include "SkGrTexturePixelRef.h"
|
| #include "SkGr.h"
|
| #include "SkGrPriv.h"
|
| +#include "SkHistogramLogging.h"
|
| #include "SkImage_Base.h"
|
| #include "SkImageCacherator.h"
|
| #include "SkImageFilter.h"
|
| @@ -934,6 +935,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
|
|
|