Draw YUVA images with multitexture
Bug: skia:7901
Change-Id: I99cde1acc27c1cfb730671463a2c17537926cd99
Reviewed-on: https://skia-review.googlesource.com/c/164696
Reviewed-by: Brian Osman <brianosman@google.com>
Commit-Queue: Jim Van Verth <jvanverth@google.com>
diff --git a/src/gpu/SkGpuDevice.h b/src/gpu/SkGpuDevice.h
index f4427a2..ca2522f 100644
--- a/src/gpu/SkGpuDevice.h
+++ b/src/gpu/SkGpuDevice.h
@@ -215,21 +215,13 @@
const SkMatrix& viewMatrix,
const SkPaint&);
- void drawTextureMaker(GrTextureMaker* maker,
- int imageW,
- int imageH,
- const SkRect* srcRect,
- const SkRect* dstRect,
- SkCanvas::SrcRectConstraint,
- const SkMatrix& viewMatrix,
- const SkPaint&);
-
void drawTextureProducer(GrTextureProducer*,
const SkRect* srcRect,
const SkRect* dstRect,
SkCanvas::SrcRectConstraint,
const SkMatrix& viewMatrix,
- const SkPaint&);
+ const SkPaint&,
+ bool attemptDrawTexture);
void drawTextureProducerImpl(GrTextureProducer*,
const SkRect& clippedSrcRect,