Index: src/gpu/SkGpuDevice_drawTexture.cpp |
diff --git a/src/gpu/SkGpuDevice_drawTexture.cpp b/src/gpu/SkGpuDevice_drawTexture.cpp |
index efbc6c98d599587e08bc28578b91f903e853b443..7eae7d8abe10afa3c0d5b976c182f3f259529554 100644 |
--- a/src/gpu/SkGpuDevice_drawTexture.cpp |
+++ b/src/gpu/SkGpuDevice_drawTexture.cpp |
@@ -14,6 +14,7 @@ |
#include "GrTextureParamsAdjuster.h" |
#include "SkDraw.h" |
#include "SkGrPriv.h" |
+#include "SkHistogramLogging.h" |
#include "SkMaskFilter.h" |
#include "effects/GrBicubicEffect.h" |
#include "effects/GrSimpleTextureEffect.h" |
@@ -94,6 +95,9 @@ void SkGpuDevice::drawTextureProducer(GrTextureProducer* producer, |
const SkMatrix& viewMatrix, |
const GrClip& clip, |
const SkPaint& paint) { |
+ // This is the funnel for all non-tiled bitmap/image draw calls. Log a histogram entry. |
+ SK_HISTOGRAM_BOOLEAN("DrawTiled", false); |
+ |
// Figure out the actual dst and src rect by clipping the src rect to the bounds of the |
// adjuster. If the src rect is clipped then the dst rect must be recomputed. Also determine |
// the matrix that maps the src rect to the dst rect. |