Make "alpha only" be a property of GrTextureProducer
Review URL: https://codereview.chromium.org/1507973005
diff --git a/src/gpu/SkGpuDevice.h b/src/gpu/SkGpuDevice.h
index ec5bc9e..a35e92b 100644
--- a/src/gpu/SkGpuDevice.h
+++ b/src/gpu/SkGpuDevice.h
@@ -231,7 +231,6 @@
bool bicubic);
void drawTextureProducer(GrTextureProducer*,
- bool alphaOnly,
const SkRect* srcRect,
const SkRect* dstRect,
SkCanvas::SrcRectConstraint,
@@ -240,7 +239,6 @@
const SkPaint&);
void drawTextureProducerImpl(GrTextureProducer*,
- bool alphaOnly,
const SkRect& clippedSrcRect,
const SkRect& clippedDstRect,
SkCanvas::SrcRectConstraint,
@@ -249,8 +247,8 @@
const GrClip&,
const SkPaint&);
- void drawProducerNine(const SkDraw&, GrTextureProducer*, bool alphaOnly,
- const SkIRect& center, const SkRect& dst, const SkPaint&);
+ void drawProducerNine(const SkDraw&, GrTextureProducer*, const SkIRect& center,
+ const SkRect& dst, const SkPaint&);
bool drawDashLine(const SkPoint pts[2], const SkPaint& paint);