Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(365)

Unified Diff: src/gpu/SkGpuDevice.h

Issue 1507973005: Make "alpha only" be a property of GrTextureProducer (Closed) Base URL: https://skia.googlesource.com/skia.git@producernine
Patch Set: fix unused var Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/gpu/GrTextureParamsAdjuster.cpp ('k') | src/gpu/SkGpuDevice.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/gpu/SkGpuDevice.h
diff --git a/src/gpu/SkGpuDevice.h b/src/gpu/SkGpuDevice.h
index ec5bc9e2014e36b2044489da746d00db7e4e3c0b..a35e92bc250ec01a93d7ddeb5458e4db9c781c61 100644
--- a/src/gpu/SkGpuDevice.h
+++ b/src/gpu/SkGpuDevice.h
@@ -231,7 +231,6 @@ private:
bool bicubic);
void drawTextureProducer(GrTextureProducer*,
- bool alphaOnly,
const SkRect* srcRect,
const SkRect* dstRect,
SkCanvas::SrcRectConstraint,
@@ -240,7 +239,6 @@ private:
const SkPaint&);
void drawTextureProducerImpl(GrTextureProducer*,
- bool alphaOnly,
const SkRect& clippedSrcRect,
const SkRect& clippedDstRect,
SkCanvas::SrcRectConstraint,
@@ -249,8 +247,8 @@ private:
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);
« no previous file with comments | « src/gpu/GrTextureParamsAdjuster.cpp ('k') | src/gpu/SkGpuDevice.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698